Thank you for watching! Be sure to leave a comment with what you'd like to see us build next. 👇 If you haven't already, hit the subscribe button to be notified every time we drop a web3 development tutorial. 💫
Hello, good afternoon, the videos are excellent, is there a video or guide on how to do it, for example, charge users in usdt (erc20 token) and give them their earnings in token (erc20) I have a custom contract for a lottery but the ticket price values are always considered with the main currency of the network where I display the contract. how can i tell you The contract that I want to charge in usdt and the prizes in usdt, any guide or light on this?
We need know how impllement Erc20 interface for usdc token in polygon for example, in the clain contract... But no body explaind that in thirdweb team i guess . :( Isbthe same cuestion i put in this video and others.. and the discord to... :(
Great video. Do you know if it's possible to add any additional configurations, such as a time multiplier? I also want to create epochs with a fixed reward pool for each epoch. Is this possible with ThirdWeb ERC20 staking app?
You can fully customize the staking contract with your own functionality. Create a new contract with thirdweb CLI then import the staking contract and override any of the functionality to your own then deploy.
I tried this on Pulsechain blockchain and though the app works but after connecting wallet i am not able to fetch staking or reward info and also wallet cant show PLS balance. VS threw and error on fetchstakeinfo and react during deploy
Thank you for watching! Be sure to leave a comment with what you'd like to see us build next. 👇
If you haven't already, hit the subscribe button to be notified every time we drop a web3 development tutorial. 💫
My friend I did everything you taught me and it worked, you are a great teacher and web3 master. Thank you
this looks amazing! what I have been searching forever. Will rewatch tutorial at home and start a test this weekend!
Is there any possible negative outcome from removing the require that enforces the rewardToken != staking token?
Hello, good afternoon, the videos are excellent, is there a video or guide on how to do it, for example, charge users in usdt (erc20 token) and give them their earnings in token (erc20) I have a custom contract for a lottery but the ticket price values are always considered with the main currency of the network where I display the contract. how can i tell you The contract that I want to charge in usdt and the prizes in usdt, any guide or light on this?
why cant the reward token be the same as the token im staking
Do you already try it?
Did you find a way around this?
We need know how impllement Erc20 interface for usdc token in polygon for example, in the clain contract... But no body explaind that in thirdweb team i guess . :( Isbthe same cuestion i put in this video and others.. and the discord to... :(
Hello and thank you for this tutorial. Is there any way I could contact the dev team
If you join the Discord our support team can get you connected with the correct people.
Great video. Do you know if it's possible to add any additional configurations, such as a time multiplier? I also want to create epochs with a fixed reward pool for each epoch. Is this possible with ThirdWeb ERC20 staking app?
Pre-built contracts are fully customizable and you can add any functionality to the smart contract and deploy through thirdweb.
Is there a way to use the staking contract to set a set APY insted of token per unit of time ?
very nice and usefull, can i display the staking pool?
if you guys built an embed for this app it would be so helpful
Why staking is not working in live server? it shows error "getActiveClaimConditionId" function is not found in your contract
Can you show how to implement a logic so stakers can withdraw their tokens 30 days after their initial stake please!?
Just hide the unstake button and add a countdown timer and update it once it's over
is it possible to set up staking contract but give out weth as rewards? also the weth would have to be distributed proportionally to stakers
You can fully customize the staking contract with your own functionality. Create a new contract with thirdweb CLI then import the staking contract and override any of the functionality to your own then deploy.
I tried this on Pulsechain blockchain and though the app works but after connecting wallet i am not able to fetch staking or reward info and also wallet cant show PLS balance. VS threw and error on fetchstakeinfo and react during deploy
If you need more help troubleshooting you can open a support ticket in our Discord and provide more details of the error.
Who is paying the reward and why? Lets say I decide the reward is ETH. Who pays ETH?
Is it compatible with BEP20?
Can this dapp be deployed/hosted on IPFS and if so how can I do it
hello, what is the name of beautiful terminal you used at 11:28?
In this tutorial iTerm is the terminal that is being used with some theme customization.
How do you know what the value of the tokens is, as in USD?
oracle
I want the reward token to be the same as the stake token but got an error. Why?
For this contract the stake token and reward token must be 2 different tokens.
Is it possible to make the rewards Token native matic?
you will need a different contract or use wmatic
How can I do it for bep - 20
can we use a lp address for the staking token?
You will have to use the contract address of the token.
do i need to create two tokens ?
Yes. Out staking contract requires 2 different tokens, a staking token and a reward token.
THANKS FOR THE SHARING
Thanks for watching!
who asks for rewards in same token is just thinking about making a ponzi 😅
yarn dev command not working in 13:41
please solve this
Do you have yarn installed? If not, try running "npm run dev" instead.
Hi chakra/-ui dont work tried multiple time could you help me
Have you installed Chakra to your project. Here's a link to Chakra's docs: chakra-ui.com/getting-started
Same problem getting syntax error:invalid character l:’#’
I want the reward token to be the same as the original token and everyone be able to buy my token
This staking contract doesn't support staking and reward token to be the same
isn't it possible by changing one line of code in the contract?@@thirdweb_
I would also really want to use it to reward users with the same token