NFT Staking Smart Contract Tutorial
Web3 Club Web3 Club
12.7K subscribers
8,208 views
0

 Published On May 30, 2022

Discord -   / discord  
Twitter -   / web3club  

Code - https://gist.github.com/shobhitic/63b...

OpenZeppelin Wizard - https://wizard.openzeppelin.com/

ERC 721 - https://eips.ethereum.org/EIPS/eip-721

ERC721 OpenZeppelin Contracts Github - https://github.com/OpenZeppelin/openz...
Remix (Solidity IDE) - https://remix.ethereum.org

00:00 Intro
01:13 Setup basic NFT and Token contract
03:28 Flow for deploying and Deploying NFT
05:14 Building the ERC20 token contract
07:40 Accept NFT in ERC20 token contract
09:11 Writing the staking, rewards, unstaking functions
16:06 Explaining the approval flow for NFT
17:09 Testing the staking function
23:46 Outro

show more

Share/Embed