Treasure Hunt 3D Game Sample with ENS integration

Open-source Unreal Engine sample project with treasure hunt mechanics using ENS for in-game airdrops

There has not been a streamlined open-source Unreal Engine sample project providing easy integration for ENS and on-chain airdrops. This Unreal Engine project sample code can jumpstart game developers to incorporate ENS, ERC-20, or NFTs as in-game on-chain rewards. This proposal aims to maintain and update a public GitHub repo with an MIT license (free for all usages) that includes Unreal Engine 5.2 sample project, Solidity smart contracts, and serverless Firebase Functions.

image

image

This is a minimum setup for an Unreal Engine game client to receive blockchain token airdrops. To simplify the player experience, this project assumes players will enter their ENS or ETH addresses at the beginning of the game. Based on game mechanics, the game server will airdrop blockchain tokens to the player's wallet address. The game will only do passive airdrops (while the server wallet pays gas fees). Additional airdrop rules can be applied on the server side or on the contract side.

This sample project works out of the box. An integration example can be found at Another World (https://anotherworld.gg)