The contracts are organized from a main HUB registry contract (MothoraGame.sol
), which also controls game account creation and DAO attribution.
Connected to the HUB are the following core modules:
EssenceToken.sol
- ERC20 Essence token (non transfereable)Arena.sol
- Manages postmatch results and their verification
- MothoraGame - Arbitrum Goerli - https://goerli.arbiscan.io/address/0xb2a4ae57b6b7aeccbd381cbbdc3fa4491df15411
open endpoint: https://goerli-rollup.arbitrum.io/rpc
-
Set
PRIVATE_KEY
env variable -
Install submodules and dependencies
Or, if your repo already exists, run:
git submodule update --init --recursive
forge install
See the official Foundry installation instructions.
Then, install the foundry toolchain installer (foundryup
) with:
curl -L https://foundry.paradigm.xyz | bash
Now that you've installed the foundryup
binary,
anytime you need to get the latest forge
or cast
binaries,
you can run foundryup
.
So, simply execute:
foundryup
🎉 Foundry is installed! 🎉
https://github.com/ZeframLou/playpen/blob/main/src/ERC20StakingPool.sol https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol
MIT