Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 752 Bytes

README.md

File metadata and controls

36 lines (31 loc) · 752 Bytes

Steps what to do in terminal:

npm install @typechain/ethers-v5 @typechain/hardhat @types/chai @types/node @types/mocha ts-node typechain typescript

To compile contracts:

npx hardhat compile

To deploy contracts:

npx hardhat run --network rinkeby scripts/<nameOfFile>.js

Create env/secret.json with your private data and voilà.

For remix practice:

Give approval for tokens for sender.
Stake tokens.
Set interest rate.
Calculate rewards.
Withdraw tokens.

stake

photo_five