The smart contracts for staking CMK and rewarding
Check deploys.md for addresses of deployed contracts
Environment variables can be passed via .env file (dotenv) or by command line. Hardhat requires the following env variables:
INFURA_API_KEY(mandatory)ETHERSCAN_API_KEY(mandatory when verifying contracts)
One of the following is required when deploying contracts
ACCOUNT_MNEMONICACCOUNT_PRIVATE_KEY
npm run compile-> Compiles all contracts to generates ABIs and typescript typesnpm test-> Runs all tests in test/ directorynpm run test:gas-> Runs all tests in test/ directory and displays gas usage