The Game 7 Protocol is a comprehensive mono repository that includes all the essential components for the Game 7 ecosystem. This repository consolidates the frontend, backend, and web3 components required to run and interact with the Game 7 Protocol.
The G7DAO/protocol
repository contains the smart contracts that make up
the Game7 protocol.
It also contains:
game7
command line tool which can be used to deploy and interact with these contractsgraffiti
, which are used in the process of developing and testing the Game7 protocolImplementation of the Game7 ERC20 token
This token will be deployed on Ethereum mainnet. The implementation consists of slight modifications to
the wrapped Ether contract, WETH9
.
Staker
Staker
The Staker
is a permissionless staking contract that can be used by anybody.
Anyone can create staking pools which accept either one of:
Staker
is deployed toOnce a pool has been created, anyone can open positions under that staking pool by transferring tokens to the Staker
.
Positions are represented by ERC721 tokens on the Staker
contract.
Each pool has the following parameters:
Pool administrators can change any of these parameters at any time. To make a pool immutable, we recommend transferring administration of that pool to the zero address.
The Metronome
contract allows anyone to set incentivize for Game7 chain users to submit transactions at regular intervals.
These incentives can have different purposes for different applications. For example, they can be used to improve the fairness of blockhash-based
on-chain entropy sources. We also use the Metronome
to incentivize steady block production on Game7 testnet.
Metronome
smart contract.robognome
- A reference bot which claims Metronome
bounties.hardhat
, which we used to build and test our smart contractsgame7
CLI, and other developmental and operational toolsseer
, which we use to generate Go bindings and command-line interfacesThe Makefile
for this project can be used to build all the code in the repository.
Build everything using:
make
To run all tests for all the code in this repository:
make test