Skip to content

WarMosaic/contracts

Repository files navigation

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

About

EVM contracts for WarMosaic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published