Lumen Loop
All media
VideoYouTubeLitemintAugust 10, 20232y ago11:27

Learn how to #BUIDL Web3 Games with Soroban smart contracts on Stellar #NFTs #Gaming

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.

GamingSorobanDevelopers
Lumen Loop's take

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.

Mentioned projects
1 project linked
F
Freighter
Software WalletBrowserDevX

Freighter is a non-custodial browser extension wallet developed by the Stellar Development Foundation that enables users to sign…

View →