Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.13 KB

README.md

File metadata and controls

52 lines (34 loc) · 1.13 KB

ci

WarMosaic contracts

The EVM smart contracts for WarMosaic.

Development

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=...

Build

pnpm build

Deploy Locally

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.

Note: The local node deployment wallet mnemonic is: test test test test test test test test test test test junk.

License

MIT - see LICENSE.md