npm install
npx hardhat test
Report Gas:
REPORT_GAS=true npx hardhat test
Preparation:
- Set
NODE_URL
in.env
- Set
STAKE_TOKEN
in.env
- Set
REWARD_TOKEN
in.env
- Set
PRIVATE_KEY
in.env
npx hardhat run scripts/deploy.ts --network <network>
The staking smart contract for EVM compatible blockchain networks
TypeScriptMIT
npm install
npx hardhat test
Report Gas:
REPORT_GAS=true npx hardhat test
Preparation:
NODE_URL
in .env
STAKE_TOKEN
in .env
REWARD_TOKEN
in .env
PRIVATE_KEY
in .env
npx hardhat run scripts/deploy.ts --network <network>