Skip to content

Rustam1993/staking-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

staking-platform

hardhat project with smart contract for staking platform. Run tests: npm run test

  1. User needs to have available WETH tokens for staking
  2. User can stake WETH(Wrapped ETH - ERC20 ETH) and max 50 WETH per person (total staked, not per transaction). And with total maximum for the contract of 10,000 ETH - including all users
  3. Rewards for staking are paid in some other erc20
  4. Minimum staking period is 90 days
  5. User can unstake his/her tokens after 90 days hold
  6. User can claim rewards without unstaking tokens
  7. User can check for the rewards accumulated.
  8. Calculate the rewards: each 24 hours of staking will reward the user by 1 erc20 reward token multiplied by the amount of WETH staked.

About

smart contract for staking platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published