Fred from Lightmean demonstrates how to build Web3 games on Stellar using Soroban smart contracts, covering gameplay validation, NFT rewards, in-game currency management, and Freighter wallet integration with a live pool physics game demo.
Fred from Lightmean provides a comprehensive technical walkthrough of building Web3 games on Stellar's Soroban platform. He demonstrates a live snooker game that validates pool physics through smart contracts, showcasing decentralized gameplay validation as a core Web3 gaming feature. The tutorial covers implementing in-app purchases, rewarding players with achievement NFTs, managing in-game currency, storing game data efficiently using Soroban's state expiration mechanism, and integrating the Freighter wallet. Key technical topics include working within Soroban's resource constraints, using fixed-point arithmetic instead of floating-point calculations, leveraging temporary and instant storage for different data types, implementing time-based logic with ledger timestamps, and communicating custom types between client and contract. All code and educational materials are freely available on GitHub.