Ep.8 - Game implementation of smart contract - Web3.UE Blockchain Tutorial in Unreal Engine 5
AngeIV
In this episode, we will finally make full use of what we have set up. I focus here mainly on reading the data from the smart contracts, parsing it, and displaying it for in-game use. To put something clear - We have created a container that can store data for users. It will store the data persistently for as long the internet lasts and blockchain is a thing, so we can assume forever. It will be accessible long after the developer of the game vanish and still work based on smart contracts as long as someone will pay for the transaction fees. All costs that were made so far for this to work are 0.01 USD on the developer side and 0.007 USD on the user's side (for minting all colors. not per operation). That is one of the reasons that blockchain as a technology to store persistent data is a very viable method that doesn't require upkeep, monthly payments, maintenance or security. content: 0:00 Intro 2:39 Color widget 8:18 Prepare character 12:12 Widget onClicked 13:34 Query smart contract (eth_CALL) 16:00 Decode response data (ABI encoded) 18:45 Test 19:19 Byte length of data (important!) 25:15 Showcase
Unreal Marketplace: https://www.unrealengine.com/marketplace/en-US/product/blockchain This example project: https://dev.azure.com/3StudioOnline/Public%20Resources/_git/Web3UE This tutorial series requires a good understanding of unreal engine 5 blueprints and a basic understanding of blockchain and solidity.
If you like my content don't forget to like and subscribe! :) AGR PRO was created thanks to the community support on Patreon: https://www.patreon.com/angeiv?fan_landing=true Channel support: https://www.youtube.com/channel/UCWZokltV5kbpOgkDZG1YQmg/join
Discord: https://discord.gg/KmtpmxfVb6 ... https://www.youtube.com/watch?v=Il0kL9AYlNo
162990795 Bytes