動画検索
関連広告
検索結果
Demo of an ERC-20 staking app
Overview of how to build an ERC-20 staking app
Deploy ERC-20 smart contracts for staking and reward tokens
Deploy an ERC-20 staking smart contract
Mint, approve, and deposit reward token into ERC-20 staking contract
Create a new Next.js project and install thirdweb Connect SDK
Setup and configure thirdweb Connect SDK with client and chain
Add a connect button to connect a web3 wallet to app
Configure and wrap smart contracts to interact with Connect SDK
Get and display stake and reward token balances or the connected wallet
Get staking info for amount of tokens staked and claimable rewards
Create staking modal component to stake tokens to contract
Display staking information and create a button to claim rewards
Create withdraw modal to remove tokens from staking contract
Conclusion