Build a Web3 AI Game - OpenAI Text-Based Adventure Game (2024)

Описание к видео Build a Web3 AI Game - OpenAI Text-Based Adventure Game (2024)

In this video, learn how to build a web3 AI game using thirdweb and OpenAI. We'll be building a text based adventure game where OpenAI will generate an adventure for you to find 3 keys or NFTs to claim. In combination with thirdweb's Engine we can create functions that OpenAI can use to execute blockchain transactions.

*Mumbai testnet support has been officially deprecated. Transition to the Amoy testnet for improved scalability and reduced gas fees.*

GitHub repo: https://github.com/thirdweb-example/c...

thirdweb Engine Docs: https://portal.thirdweb.com/engine/ge...
How to setup local thirdweb Engine:    • Build scalable apps with a web3 backe...  

thirdweb API: https://thirdweb.com/dashboard/settings
Creating an API:    • Start building blockchain apps: Getti...  

thirdweb Docs: https://portal.thirdweb.com/

Join our Community of over 30,000 Web3 builders:   / discord  
thirdweb Official Site: https://thirdweb.com/dashboard
thirdweb Twitter:   / thirdweb  

Timestamps:
00:00 Demo of web3 AI text based adventure game
02:20 Introduction to building a web3 AI game with OpenAI
03:30 Deploy ERC-1155 smart contract with thirdweb
06:55 Create and setup a new project with thirdweb
10:00 Create login flow with Connect Wallet UI component
13:50 Start creating Chat component for AI chat
15:45 Create API request to OpenAI to generate chat messages
20:45 Create thirdweb Engine functions for OpenAI to execute based on game
30:55 Give OpenAI to ability to call Engine function in chat API
33:45 Build out the UI components for chat input and chat messages
44:54 Conclusion

Комментарии

Информация по комментариям в разработке