The EVM smart contracts for WarMosaic.
Note: We use Gemforge to manage deployments. Node.js 20+ and PNPM 8+ is required.
Install:
- Install foundry
- Run
foundryup
- Run
forge install foundry-rs/forge-std
- Run
pnpm i
- Run
git submodule update --init --recursive
- Create
.env
and set the following within:
export SEPOLIA_RPC_URL=...
export MNEMONIC=...
export ETHERSCAN_API_KEY=...
pnpm build
Run in a new terminal:
pnpm devnet
Then run in a separate terminal:
pnpm dep local
The contract addresses can be found in gemforge.deployments.json
.
MIT - see LICENSE.md