Getting started npm install Then in a terminal run a local network npx hardhat node And after that in an other terminal npx hardhat run scripts/deploy.ts --network localhost Unit testing npx hardhat test RewardToken Staker (wip)