How to create a burn to claim NFT collection (BAYC MAYC clone)

Sdílet
Vložit
  • čas přidán 2. 07. 2024
  • In this video, we'll go over how to create a burn to claim NFT collection. We'll create a main collection (ERC721), a burn collection (ERC1155), and a burn to claim collection (custom contract) that will require you to hold an NFT from the main collection and burn an NFT from the burn collection in order to claim the new NFT. Example of something like this is BAYC and MAYC collections.
    *Mumbai testnet support has been officially deprecated. Transition to the Amoy testnet for improved scalability and reduced gas fees.*
    Contracts:
    NFTDrop (main collection): thirdweb.com/thirdweb.eth/Dro...
    Edition (burn collection): thirdweb.com/thirdweb.eth/Tok...
    Repo:
    github.com/thirdweb-example/b...
    github.com/watase-eth/Burn_To...
    Join our Community of over 30,000 Web3 builders: / discord
    thirdweb Official Site: thirdweb.com/dashboard
    thirdweb Twitter: / thirdweb
    Timestamps:
    00:00 Introduction
    01:03 Main collection (ERC721)
    04:40 Burn collection (ERC1155)
    07:50 Custom burn to claim contract
    15:40 Deploy contract
    18:00 Create web3 app
    24:55 Test burn to claim
    25:41 Conclusion
  • Věda a technologie

Komentáře • 28

  • @thirdweb_
    @thirdweb_  Před rokem +2

    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. 💫

  • @billiesc
    @billiesc Před rokem

    Hi!
    First off, I want to express my gratitude for the tutorial you provided. It was really helpful, so thank you! 😊
    I was wondering if you could possibly create a follow-up tutorial on how to claim physical items, such as merchandise, when we burn them. It would be fantastic if you could guide us on how to deal with address forms and other related aspects.
    This information would be incredibly useful to me, and I'm sure many others would benefit from it as well.
    Keep up the excellent work you're doing! Your efforts are truly appreciated! 🌟

    • @thirdweb_
      @thirdweb_  Před rokem

      Thank you! We can add that idea to our list of potential future videos.

  • @berrymanbrendon
    @berrymanbrendon Před rokem +1

  • @SycoticSociety
    @SycoticSociety Před 11 měsíci

    the code turned out not being the problem. The contract size is too large. Is there anyway to try and get these contracts smaller.

  • @exeqtive5125
    @exeqtive5125 Před rokem

    I just wish you would expand the screen so we can better see the screen and what is on the contract

    • @thirdweb_
      @thirdweb_  Před rokem

      Thank you for the feedback. We will make sure that the screen sizes are enlarged for easier viewing

  • @adrianmesina7353
    @adrianmesina7353 Před rokem +1

    bro create also on solana

  • @kenzuyee
    @kenzuyee Před rokem

    can i use an existing nft collection and put into thirdweb to create the whole burn to claim mechanic ? or they all have to be done in thirdweb ?

    • @thirdweb_
      @thirdweb_  Před rokem +1

      You can use an existing collection for the required collection. The NFT to be burned and the claimable NFT through burning will have to the contracts in this video.

  • @absalom-artist
    @absalom-artist Před 8 měsíci +1

    Hi!
    Thanks for the tutorial.
    With this technique, will the person who burns a serum NFT while owning NFT#123 get ZombieNFT#123, or the next one?

    • @thirdweb_
      @thirdweb_  Před 7 měsíci

      In this tutorial it would just be sequential and not match the NFT token ID being burned.

    • @absalom-artist
      @absalom-artist Před 7 měsíci

      @@thirdweb_ Thank you for the answer ! 😁

  • @Typetypo
    @Typetypo Před rokem

    Is there a way to show the newly minted NFT on the same webpage as the minting embed?

    • @thirdweb_
      @thirdweb_  Před rokem +1

      Currently not through the embed. Although you can use the useOwnedNFTs react hook to get the NFTs owned by the wallet, which would show the NFTs they had just claimed. Learn more in our docs here: portal.thirdweb.com/react/react.useownednfts

    • @Typetypo
      @Typetypo Před rokem

      @@thirdweb_ Do you have a video tutorial that I could start with? One that explains setting up a base ERC-721 contract, and then I can use the instructions on how to implement the new hook.

  • @brian_obino
    @brian_obino Před rokem +2

    Please, upload more unity nft games tutorial.

    • @usercontent2112
      @usercontent2112 Před rokem

      up

    • @thirdweb_
      @thirdweb_  Před rokem +1

      We will be working on a few new tutorials working with some of the newer tools released in the Unity SDK 👍

    • @TheRealAfroRick
      @TheRealAfroRick Před rokem

      @@thirdweb_ If you guys can do something to make the NFT demo work with Addressables - that would be cool too... though technically I'm not sure an IPFS endpoint will work properly... though I'm happy to be wrong on that one.

  • @MEQUETREFE_DO_CARAI
    @MEQUETREFE_DO_CARAI Před rokem

    you could make a website in this style and show everything working

    • @thirdweb_
      @thirdweb_  Před rokem

      We will add this to our list of potential videos. Thank you for sharing the idea!

    • @MEQUETREFE_DO_CARAI
      @MEQUETREFE_DO_CARAI Před rokem

      @@thirdweb_ I'm anxious waiting for you to make a video creating this nft recording app, I've looked all over the internet and there's nowhere, I'm waiting for this app

    • @MEQUETREFE_DO_CARAI
      @MEQUETREFE_DO_CARAI Před rokem

      thank you very much you are great

  • @TheRealAfroRick
    @TheRealAfroRick Před rokem

    You guys always mention lazy minting of an nft, but never talk about why you'd do that 😊

    • @thirdweb_
      @thirdweb_  Před rokem +1

      Thank you for the feedback. We will be sure to mention and explain more about what lazy minting is in future videos. Here is a link to a resource that explains more about: portal.thirdweb.com/glossary/lazy-minting

    • @TheRealAfroRick
      @TheRealAfroRick Před rokem

      @@thirdweb_ Thank you. Also explain when we would want to use the different types of mint contracts. When should we use an edition mint, when 1155, when 721s, etc. Just a tutorial on the different contracts and which to use when so we don't make stupid architecture choices :)

  • @Leuviah1337
    @Leuviah1337 Před rokem +1

    🎉🙏🏼🖖🏼⚜️🚀💜🐦🫡