Add Account Abstraction (ERC-4337) to a Web3 Game in Unity - Full Tutorial
Vložit
- čas přidán 19. 07. 2024
- In this video, learn all about how to set up and configure smart wallet with your web3 Unity game. Smart wallet are ERC4337 wallets that you can configure and use with thirdweb. Create seamless login flows and enable features like signless and gasless transactions to remove the blockchain complexities out of your web3 games.
*Mumbai testnet support has been officially deprecated. Transition to the Amoy testnet for improved scalability and reduced gas fees.*
Unity SDK docs: portal.thirdweb.com/unity
Unity SDK release page: github.com/thirdweb-dev/unity...
CZcams videos:
Creating an API: • Start building blockch...
Smart Contract:
Account Factory: thirdweb.com/thirdweb.eth/Acc...
thirdweb Docs: portal.thirdweb.com/
Join our Community of over 30,000 Web3 builders: / discord
thirdweb Official Site: thirdweb.com/dashboard
thirdweb Twitter: / thirdweb
Timestamps:
00:00 Introduction
00:47 Demo - smart wallet with Unity
02:20 Deploy Account Factory contract
03:25 Create thirdweb API key
04:00 Deploy ERC1155 NFT contract (Edition Drop)
05:26 Create Unity project and setup SDK
06:30 ThirdwebManager
07:45 Build menu and connect wallet button
26:50 Build and run native app
28:03 Conclusion - Věda a technologie
Cant wait for multichain account attestation, we are SOOOOOOOOO early.
The use case here is; we are creating a smart wallet to hold in-game tokens and nfts. Do we not need to link our smart wallet to our real world wallet to allow for the player to purchase game tokens and nfts? The smart wallet is linked to a local wallet, how to we allow users to log in from any device? We can't use local wallets. Can we have the users create a user name or use their email to pull the smart account from the server?
All of course cool, but it's a pity that I can not customize your prefab as I need, when I delete unnecessary wallets and try to run, the build crashes
a referral smart contract ?
How to connect wallet metamask on browser?
I cant do it. Where can I contact you?
Using the Connect Wallet UI component is the easiest way to accomplish this. You can check out this video here: czcams.com/video/7IxMbJD6eQ0/video.html
If you still need support, you can open a ticket within our Discord.
UE4/5 please 🥺