Skip to content

Dervoo/StakeBlockchainToken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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