nuel-ikwuoma / WarMosaic-contracts

EVM contracts for WarMosaic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License

MIT - see LICENSE.md

About

EVM contracts for WarMosaic

License:MIT License


Languages

Language:Solidity 91.8%Language:JavaScript 8.0%Language:Shell 0.2%