This is smart contracts for Agni Protocol.
- Add Key in
.env
file. It's a private key of the account that will deploy the contracts and should be gitignored. - mantleTestnet
KEY_TESTNET
or mantleKEY_MAINNET
- add
ETHERSCAN_API_KEY
in.env
file. It's an API key for etherscan. yarn
in root directoryNETWORK=$NETWORK yarn zx deploy.mjs
where$NETWORK
is eithermantleTestnet
orhardhat
(for local testing)