This protocol allows users to stake their NFT in returns of a reward in terms of a ERC20 tokens
-
Install all the dependencies
forge install --no-commit
-
Complie the contracts
forge build
make deploy
make test
-
Stake NFT
staking.stake(tokenId)
-
Unstake NFT
staking.unstake(tokenId)
-
Withdraw NFT
staking.withdraw(tokenId)
-
Claim Rewards
staking.claim()