Contracts for the Celer State Guardian Network (SGN) V2.
yarn test
yarn report-gas:benchmark
yarn report-gas:summary
Check reports/gas_usage
.
yarn size-contracts
Check reports/contract_sizes.txt
.
-
cp .env.template .env
, then ensure all environment variables are set in.env
. -
Deploy SGN and Staking contracts:
hardhat deploy --network <network> --tags SGNStaking
Deploy Bridge contract:
hardhat deploy --network <network> --tags Bridge
- Verify contracts on Etherscan:
hardhat etherscan-verify --network <network> --license "GPL-3.0" --force-license