Web3 Game Developer in 2024 Roadmap: Unity, Smart Contracts, Connect a Wallet [Full Course]

Sdílet
Vložit
  • čas přidán 28. 06. 2024
  • Create the next big web3 game using thirdweb's Unity SDK. Connect your Unity to the blockchain with an easy to implement SDK. Onboard users by creating and connecting wallets, interact with popular smart contracts like ERC-20, ERC-721, and ERC-1155. Learn how to create and deploy your own smart contracts and use them within Unity. By the end of the course you'll have built a web3 game that you can enjoy on your desktop or browser
    *Mumbai testnet support has been officially deprecated. Transition to the Amoy testnet for improved scalability and reduced gas fees.*
    00:00 Unity web3 gaming course overview
    05:00 What is web3 gaming and why blockchain technology?
    10:40 Overview of endless runner example game
    13:57 How to clone endless runner example game
    16:57 Import and add thirdweb Unity SDK into Unity game
    20:40 Prepare your web3 Unity game with Thirdweb Manager
    27:43 Create a Connect Wallet button and connect web3 wallets
    35:28 Connect with social logins and email with In-app wallets
    41:49 Create an In-app wallet and account abstraction combination
    48:40 Build you own custom connect wallet flow in Unity
    01:03:45 Deploy your own ERC-20 smart contract
    01:08:08 ERC-20: Claim tokens in Unity
    01:19:41 ERC-20: Read and display balance data in Unity
    01:28:23 Deploy an ERC-721 smart contract
    01:33:24 ERC-721: Build a token-gated Unity game
    01:48:44 Deploy an ERC-1155 smart contract
    01:54:25 ERC-1155: Claim NFT achievements in Unity
    02:06:20 ERC-1155: Read and display achievement data in Unity
    02:13:15 Deploy a custom smart contract - Leaderboard contract
    02:25:43 Custom smart contract: Submit scores on-chain and display ranking in Unity
    02:39:23 ERC-20 Paymaster
    02:47:27 Build and run Unity game: Desktop, Browser, and Mobile
    02:58:25 Conclusion and overview of web3 gaming course
    Take Flight full game demo: thirdweb-example.github.io/un...
    GitHub Repo Links:
    Example game (blockchain removed): github.com/thirdweb-example/u...
    Take Flight (Full game):github.com/thirdweb-example/u...
    ERC-20 Paymaster: No tutorial video yet. Coming soon!
    Documentation Links:
    thirdwen Unity docs: portal.thirdweb.com/unity
    Smart Contracts:
    ERC-20 (Token): thirdweb.com/thirdweb.eth/Tok...
    ERC-721 (Open Edition): thirdweb.com/thirdweb.eth/Ope...
    ERC-1155 (Edition Drop): thirdweb.com/thirdweb.eth/Dro...
    Leaderboard Contract: thirdweb.com/0xEe29620D0c544F...
    Other Links:
    thirdweb API keys - thirdweb.com/dashboard/settings
    Unity SDK - github.com/thirdweb-dev/unity...
    Signature minting:
    ERC-20: portal.thirdweb.com/unity/con...
    ERC-721: portal.thirdweb.com/unity/con...
    ERC-1155: portal.thirdweb.com/unity/con...
    thirdweb Support: thirdweb.com/support
    Join our Community of over 30,000 Web3 builders: / discord
    thirdweb Official Site: thirdweb.com/dashboard
    thirdweb Twitter: / thirdweb
  • Věda a technologie

Komentáře • 52

  • @teawa_
    @teawa_ Před 3 měsíci +1

    This video is clear! It’s everything you would ever need to make a blockchain game in unity, absolutely awesome

    • @thirdweb_
      @thirdweb_  Před 3 měsíci +1

      Thank you! Glad you liked it!

  • @AmRobloxDev
    @AmRobloxDev Před 2 měsíci

    This is the best video about Blockchain Unity Game.
    Always support Thirdweb. You are the best.

  • @Leuviah1337
    @Leuviah1337 Před 3 měsíci +1

    🎉🎉🎉 very good timing for a game currently being made!

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

      Hope you enjoy it! Excited to see what you build!

  • @gsdealer7691
    @gsdealer7691 Před 3 měsíci +1

    This's what I've been looking for ... tnkz.

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

      Can’t wait to see what you build! Hope this course helps.

  • @pushkartripathi8984
    @pushkartripathi8984 Před měsícem +1

    Please give any solution to the Invalid chain id issue when claiming the score or submitting the score.

  • @user-fx3br2lj1r
    @user-fx3br2lj1r Před 3 měsíci +1

    thirdweb you are the best team!!!!❤❤❤

  • @DailtonAction
    @DailtonAction Před 3 měsíci +2

    Hi friends. How could you use ThirdWeb in the Contruct3 Engine or javascript game? Not every game dev uses Unity. Thanks.

  • @Oliver-ik7eu
    @Oliver-ik7eu Před 3 měsíci +2

    Every time I try to make a claim using etherscan, I am asked to put an allow list proof (tuple) and I don’t know what I should put. Please Can anyone help?

  • @c4ex_net
    @c4ex_net Před 3 měsíci +1

    와 이제 게임에 연동만 하면 되는군요 멋집니다

  • @magatoki_ohma
    @magatoki_ohma Před 2 měsíci

    Thanks for your always very nice videos!
    Question. I have finished up to Chapter 6, but the results of running ClaimTokenAndReword only reflect the results of either ClaimToken or ClaimReward. What is the problem with not reflecting both?

  • @jamaka_me_code796
    @jamaka_me_code796 Před měsícem +1

    Any updates on the invalid chainId issue?

  • @sujaypuri7287
    @sujaypuri7287 Před 2 měsíci

    Please do a tutorial on building web3 on unreal with twitch (Twiworks) integration

  • @thenizimexperience9183
    @thenizimexperience9183 Před 3 měsíci +1

    How long before we have the ERC- 741 contract added to the prebuilt contract list?

  • @wayoftruth364
    @wayoftruth364 Před měsícem +2

    @thirdweb_ Are you people going to give any solution for invalid chain id issue [Exception: Bundler Request Failed. Error: BadRequest - Invalid chain: 94 - {"error":"Invalid chain: 94","chain":"94"}]. You are not talking about this issue. Please don't suggest to input the correct chain id. identifier and chain id is correct. Tried with many other network chain. Same issue with all. Data are getting fetched nicely. But whenever I try to Claim, submit score to post my data up to the dashboard. It gives same error for all.

    • @jamaka_me_code796
      @jamaka_me_code796 Před měsícem

      Hate to poke the bear, but by chance you figure this out?

  • @yauan
    @yauan Před 29 dny

    Do you know if there is there an Unreal sdk in the works? or do i have to switch to Unity for crypto gaming?

  • @babakfiroozi6508
    @babakfiroozi6508 Před 25 dny

    Very nice

  • @wadood_ul_islam6637
    @wadood_ul_islam6637 Před 3 měsíci +1

    Thank you so much thirdweb , i have query that how can we display metadata like name and picture of an owned NFT from Erc1155 contract into our Unity game ?

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

      You can get the data of an NFT with something like Get() (Docs: portal.thirdweb.com/unity/contracts/erc1155/erc1155)
      You can also use some of the Prefabs available like NFTLoader or NFT to show your NFTs in game.

    • @wadood_ul_islam6637
      @wadood_ul_islam6637 Před 3 měsíci

      Thanks you so much thirdweb I am going to implement that in my Game

  • @prodesigntz7776
    @prodesigntz7776 Před 2 měsíci

    Can you utilize gdevelop features also?

  • @PankajKumar-tu8gs
    @PankajKumar-tu8gs Před měsícem +2

    I am getting Invalid Token : 4002 error while claiming token following "01:08:08 ERC-20: Claim tokens in Unity". Can you help me with that?
    Exact Response is "{"error":"Invalid chain: 4002","chain":"4002"}"

    • @jamaka_me_code796
      @jamaka_me_code796 Před měsícem

      So ran into this earlier today, by chance you figure anything out?

  • @Hakkisern
    @Hakkisern Před 2 měsíci +2

    Is Account Abstraction and Smart Wallets supported on the Polygon Amoy Testnet with chain 80002? I'm trying to implement Account Abstraction. However after setting everything up, whenever I try to do something towards the blockchain (e.g claim tokens), I get an error message saying I'm using an invalid chain: 80002. Polygon Amoy Testnet is on chain 80002.

    • @PankajKumar-tu8gs
      @PankajKumar-tu8gs Před měsícem +1

      Did you solve this issue? Or found a wayaround?

    • @Hakkisern
      @Hakkisern Před měsícem

      @@PankajKumar-tu8gs yeah I sent them an email addressing the issue. After 1 week, I got a reply saying they had fixed the issue, so Account Abstraction now works on the Polygon Amoy Testnet. I can confirm👌

    • @Hakkisern
      @Hakkisern Před měsícem

      @@PankajKumar-tu8gs Account Abstraction is now supported for Polygon Amoy Testnet. Can confirm!

  • @senberghe6402
    @senberghe6402 Před 3 měsíci +1

    Thank you man. But I have a question that If players cheat on the client side to claim the NFT, How can we protect the value of the NFT?Shouldn't we put the game always on the servers?

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

      Yers in production you should and you can utilize features like signature minting to make sure your NFT can't just be claimed by anyone. Docs: portal.thirdweb.com/unity/contracts/erc721/erc721signaturemintable

    • @senberghe6402
      @senberghe6402 Před 3 měsíci

      Thanks@@thirdweb_

    • @NicholasRiviera
      @NicholasRiviera Před 2 měsíci

      @@thirdweb_ Is there any use case where you would use e.g. `contract.ERC721.Signature.Generate` in Unity on production? Wouldn't you always want to do that in the backend? If that's the case, why did you do the work of adding it to the Unity SDK?

  • @JuanRiveraPerez-xt4xi
    @JuanRiveraPerez-xt4xi Před 3 měsíci

    HYPE

  • @pablolarade4301
    @pablolarade4301 Před 24 dny

    just wanna know does it work for mobile unity like android or ios?

    • @thirdweb_
      @thirdweb_  Před 24 dny

      Yes, Unity SDK works for mobile builds 👍

  • @BullionBuzz
    @BullionBuzz Před 2 měsíci +1

    Does it work?

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

      Game works and there is a demo in the description if you would like to try it.

  • @puyan6756
    @puyan6756 Před měsícem

    sorry but where is game owner panel ? how we can make money with building web3 game ??? im confiused !!!

    • @thirdweb_
      @thirdweb_  Před 16 dny

      This tutorial shows you how to implement web3 components and features into a Unity game. We do not cover anything with making money or the business of the gaming.