How to Build an NFT Staking App - Stake ERC-721 and Earn ERC-20

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024

Комментарии • 46

  • @damsan7777
    @damsan7777 4 месяца назад

    After 20 min of video this happen: Module not found: Can't resolve 'pino-pretty'

  • @hickorytomato8904
    @hickorytomato8904 2 месяца назад

    hello! is there a way to load the contract with tokens from a wallet instead of a contract you own? thank you

  • @rohitjambhulkar7687
    @rohitjambhulkar7687 5 месяцев назад +1

    Where can i find the jsoon files you've uploaded

    • @damsan7777
      @damsan7777 4 месяца назад

      did you finish an app?

  • @jurnaliscrypto
    @jurnaliscrypto Месяц назад

    This tutorial will still work with erc1155 ?

  • @magatoki_ohma
    @magatoki_ohma 4 месяца назад +2

    Thanks for all your nice videos! I actually ran the tutorial with success!
    I learned new knowledge again!

    • @damsan7777
      @damsan7777 4 месяца назад +1

      did you finish your app?

    • @magatoki_ohma
      @magatoki_ohma 4 месяца назад

      @@damsan7777 Yes, I'm complete.

    • @thirdweb_
      @thirdweb_  4 месяца назад

      Nice work! Great to hear! 🎉

  • @ehvi8r
    @ehvi8r 2 месяца назад

    Is it possible to provide rewards in the native blockchain token (I'm deploying or Roburna Chain Testnet, so native token is RBAT), rather than an ERC20 token you created? Thanks, and great videos!

    • @thirdweb_
      @thirdweb_  2 месяца назад

      Yes it’s possible to provide any ERC-20 including native tokens. For the reward you’ll need to set the contract to the address of the token.

  • @MaxutoOkusaki
    @MaxutoOkusaki 16 дней назад

    it works with ERC 721 Polygon nfts?

    • @thirdweb_
      @thirdweb_  6 часов назад

      Yes, this will work any EVM chain

  • @damsan7777
    @damsan7777 3 месяца назад

    In components NFTCard, line 110: Object literal may only specify known properties, and 'to' does not exist in type 'BaseTransactionOptions'.ts(2353), how to solve "to" error?

  • @newplayer-qs6qq
    @newplayer-qs6qq 3 месяца назад

    24:10 Thank you for sharing
    Regarding contracts
    My ERC721 and ERC20 contracts, as well as the pledged NFT contract, were not created through thirdweb. Can they work in the project of this video

    • @thirdweb_
      @thirdweb_  3 месяца назад

      The functions used for staking are calling standard functions for ERC-721 and ERC-20. As long as the contracts you have follow those standards then yes, if not you will have to manually call the "function name".

    • @newplayer-qs6qq
      @newplayer-qs6qq 3 месяца назад

      @@thirdweb_ thank you,it has completed

  • @SycoticSociety
    @SycoticSociety 4 месяца назад

    this method is really problematic. the chain fails to get recognized when deployed. it only works in my local 3000. weirdest thing ever. super frustrating. I dont get why the original method of embedding all of the thirdweb client and chain in the app,js is not a better option. or why wouldnt that work instead of this scattered code fragments. I still love all your work. this has just been super painful this go round for me. : (

    • @osirustwits
      @osirustwits 4 месяца назад

      Because it is modular you actually have to know how to code verses just copying and changing a few lines.

    • @damsan7777
      @damsan7777 3 месяца назад

      @@osirustwits ok, so, for who is this video for? Only for experts who don't need this video?

  • @Eric-bs8ok
    @Eric-bs8ok 4 месяца назад

    Hi, nice video as always, but this time i cant launch yarn dev, any suggestion?

  • @buegbu
    @buegbu 4 месяца назад

    I created an ERC20 token drop and I have tried to see how many token an account have on frontend

  • @mattcrumley6598
    @mattcrumley6598 3 месяца назад

    I get a Cors error and nft metadata image wont load. The correct uri is in the console

  • @praveenmatheesha4394
    @praveenmatheesha4394 5 месяцев назад

    How can I customize the Staking contract so i can get this as the starter point ??

  • @lucazdemillo
    @lucazdemillo 4 месяца назад

    Can we change reward token with same staking smart contract after deployed?

    • @thirdweb_
      @thirdweb_  4 месяца назад

      This is an ERC-721 staking contract. You’re staking an ERC-722 NFT and earning an ERC-20 token as the reward.

  • @rohitjambhulkar7687
    @rohitjambhulkar7687 5 месяцев назад

    25:35 why did you need to use abi for Staking contract only not for the nft contract and reward token contract.

    • @thirdweb_
      @thirdweb_  5 месяцев назад +2

      Extension are built in for standard contracts like ERC-20 and ERC-721, but not for the staking contract.

  • @StanleySeow
    @StanleySeow 5 месяцев назад

    Great video tutorial 👍👍
    Can you do one tutorial on listening to Events ? Thanks

    • @thirdweb_
      @thirdweb_  5 месяцев назад +1

      Thanks! Yes we will put that on the list of videos 👍

  • @deltaranzyd1587
    @deltaranzyd1587 5 месяцев назад

    man, do we have to pay for that thirdweb engine sub for this to work?

    • @thirdweb_
      @thirdweb_  5 месяцев назад +1

      No, Engine was not used in this build.

  • @damsan7777
    @damsan7777 4 месяца назад

    Great video! Can,t wait to start programing.

  • @mojtabamohamadi2447
    @mojtabamohamadi2447 5 месяцев назад

    Thanks for this video. Please make a video of how we can rent a nft for a while?

    • @thirdweb_
      @thirdweb_  5 месяцев назад +1

      Thanks! We will put this on our list of videos 👍

    • @mojtabamohamadi2447
      @mojtabamohamadi2447 5 месяцев назад

      @thirdweb_ thanks a lot 🙏