Probably should do another video about private key storage and just reference that and use secure private keys in the videos going forward because the first reaction to "just put your private key in this file" is likely to be "You want me to do WHAT?!?!?"
Thank you for the feedback. We did get many questions around this. We have a video on content list to go through this. In production you would not want to just put your private key.
this is awesome but has me wondering ~ what would i need to adjust so that instead of completely abstracting out all of the legacy crypto stuff and logging in via email , to instead allow users to connect with their existing metamask ? is that a simple adjustment to the wallet-connect component ? it seems like there are a few diff options now edit: & how would that impact the later part of this config , where you mint an ERC-721 and ERC-20 tokens to new users ? i'm trying to basically mock up this same setup but assuming the users already have their own NFT & tokens in their own wallet. commenting here before i get more hands on to figure it out , thanks for the tutorial and any guidance appreciated
thankyou for this. by the way can i submit my game onto a crypto project to contribute on there ecosystem. hope you have a tutorial for that on how to contribute on a crypto project. thankyou :)
What private key goes into the .env file and why is it needed. I'm missing that context from the video. I thought Thirdweb was generating a new wallet and the gas cost was covered by providing the payment method associated with the api.
Private key is of the wallet that is generating the message for the user to sign and authenticate. In production you should store your private key securely using something like AWS Secretes Manager: portal.thirdweb.com/connect/auth/wallet-configuration
You can still achieve the same result without using Engine or you can also host your own instance of Engine (you are in charge of maintaining). But without Engine you would just have the user confirm all the transactions within in the game instead of running it for them with Engine. Example: If player is new, we need to get them an NFT and tokens. You can prompt them to claim the tokens and NFT instead of just dropping it into their created wallet.
Hey, thanks so much for putting this together. Thirdweb is awesome. I am getting an error when signing in "client.js:2 Error: Signer address does not match payload address "newly created address here". Any ideas on that? Will also raise on github
Just an update here. Shortly after this video was posted we enforced authentication for RPC which is used when using Smart Wallets with Auth. The repo was updated and should work now. Secret key needs to be provided in ThirdwebAuth.
Where is this? you can do this for testing and development purposes in production you're not going to want to store your private key in your environment 22:48 variables we'll link down in the description below some safer ways that you can actually store your private key
Thank you for the feedback. Link was added to description. Here is link on how to store private key: portal.thirdweb.com/references/wallets/v2/AwsSecretsManagerWallet
@@thirdweb_ Thank you alot. I would be grateful if you can also provide us with correct node version to use with self hosted engine. I have tried many versions from v 20, down to 12.22.7 to get it working without constant crashes.
Apologies for that. Discord can get cluttered. You can open a ticket here: thirdweb.com/support You can add more details with the ticket there and we can better support you.
More web3 games series plz ... good job man
More to come! and we just released a course with everything to get started!
This videos are awesome! Thirdweb leading the web3 revolution!
Glad you think so!
Probably should do another video about private key storage and just reference that and use secure private keys in the videos going forward because the first reaction to "just put your private key in this file" is likely to be "You want me to do WHAT?!?!?"
Yeah. I had so many questions. But for completing this demo do I just place the private key of a burner wallet in the field?
Thank you for the feedback. We did get many questions around this. We have a video on content list to go through this. In production you would not want to just put your private key.
this is awesome but has me wondering ~ what would i need to adjust so that instead of completely abstracting out all of the legacy crypto stuff and logging in via email , to instead allow users to connect with their existing metamask ? is that a simple adjustment to the wallet-connect component ? it seems like there are a few diff options now
edit: & how would that impact the later part of this config , where you mint an ERC-721 and ERC-20 tokens to new users ? i'm trying to basically mock up this same setup but assuming the users already have their own NFT & tokens in their own wallet. commenting here before i get more hands on to figure it out , thanks for the tutorial and any guidance appreciated
Buddy! can you explain about Elixir Game Launchpad
thankyou for this. by the way can i submit my game onto a crypto project to contribute on there ecosystem. hope you have a tutorial for that on how to contribute on a crypto project. thankyou :)
Sir, can you add NFTs to the game? Like we buy an NFT and the NFT will be in the game.
What private key goes into the .env file and why is it needed. I'm missing that context from the video. I thought Thirdweb was generating a new wallet and the gas cost was covered by providing the payment method associated with the api.
Private key is of the wallet that is generating the message for the user to sign and authenticate. In production you should store your private key securely using something like AWS Secretes Manager: portal.thirdweb.com/connect/auth/wallet-configuration
It's great 😊 But I would like to inquire whether it is possible to run the app without an engine. I heard that the engine costs a fixed $99 per month.
You can still achieve the same result without using Engine or you can also host your own instance of Engine (you are in charge of maintaining). But without Engine you would just have the user confirm all the transactions within in the game instead of running it for them with Engine. Example: If player is new, we need to get them an NFT and tokens. You can prompt them to claim the tokens and NFT instead of just dropping it into their created wallet.
In this tutorial we should open thirdweb engine, and it must make a subscriber plan right ?
You don’t have to pay for Engine to follow the build. You can run Engine locally for free.
Any tutorial how to run engine locally ?@@thirdweb_
Any tutorial how to run engine locally ? @@thirdweb_
@@thirdweb_how to do that, in my node_modules there is no engine folder
the media Renderer isnt being imported because its not a module by Thirdweb is the error im getting. im in confusion
This is an awesome project
Thanks!
would really like to see these using the nextjs app directory
New SDK makes this easier and future tutorials will now be built using it.
Hey, thanks so much for putting this together. Thirdweb is awesome. I am getting an error when signing in "client.js:2 Error: Signer address does not match payload address "newly created address here". Any ideas on that? Will also raise on github
Me too, did you solve this ?
same here, @thirdweb can you help?
Just an update here. Shortly after this video was posted we enforced authentication for RPC which is used when using Smart Wallets with Auth. The repo was updated and should work now. Secret key needs to be provided in ThirdwebAuth.
Can make it with windows or just mac ?!
You can do on both, it's up to you. There is also a VS code version for macOs.
Works on both. Mac is just what we are using in the tutorials.
Awesome content btw!
Glad you enjoyed it
How we (the maker of this web3 game) get profit (money) from this? How we monetize this?
When iam install app, i have not pages folder, i do everything like you , someone can help?
the auth is not downloading. appears to be a problem.kindly check.
Auth doesn't work with BTT chain
Npx command is not working on my win7 laptop pls help me
in 15. min video, why is address in Navbas: unknown?
the solution:, you have to see before, what is in the top of the Navbar components,
Where is this?
you can do this for testing and development purposes in production you're not going to want to store your private key in your environment
22:48
variables we'll link down in the description below some safer ways that you can actually store your private key
Thank you for the feedback. Link was added to description. Here is link on how to store private key: portal.thirdweb.com/references/wallets/v2/AwsSecretsManagerWallet
@@thirdweb_ Thank you alot. I would be grateful if you can also provide us with correct node version to use with self hosted engine. I have tried many versions from v 20, down to 12.22.7 to get it working without constant crashes.
in 18 min, failed ti sign in.,spinning,nothing happen
And no one replies to the discord dm's
Apologies for that. Discord can get cluttered. You can open a ticket here: thirdweb.com/support
You can add more details with the ticket there and we can better support you.
nice $MAUSI