LOOTCoin Technical Architecture
LOOTCoin is a GPS-enabled treasure hunt game and Web3 distribution platform that rewards real-world exploration with digital ownership. It addresses a core Web3 failure: incentive systems such as airdrops and click-to-earn mechanics are heavily abused by bots and Sybil attacks
LootCoin is built on a modern, scalable, globally distributed infrastructure designed to support high-volume gameplay, real-time geospatial interactions, secure blockchain operations, and a seamless user experience. The platform uses a hybrid Web2 and Web3 architecture that combines high-performance backend systems with decentralized asset ownership and gasless interaction protocols.

Frontend Delivery Layer: Vercel
LootCoin uses Next.js delivered through Vercel for global edge deployment, optimized server-side rendering, and rapid content distribution.
Benefits include
• High responsiveness for map-based gameplay
• Fast edge caching for worldwide users
• Automatic scaling during peak events
This ensures the application stays fast and available during LootChest drops, crafting surges, and high traffic moments.
Core Data Layer: MongoDB Atlas
MongoDB Atlas provides the flexible NoSQL layer that stores
• Player metadata
• Session information
• Gameplay logs
• Inventory caching
• Non-geospatial dynamic data
Atlas offers automatic scaling, regional replication, and built-in backups, which increases reliability and data safety across the entire system.
Geospatial Engine: Supabase Postgres with PostGIS
Supabase hosts the Postgres and PostGIS engine that powers LootCoin’s real-world treasure hunt features.
This layer handles
• LootChest placement
• Radius searches
• Player proximity calculations
• Location-based crafting logic
PostGIS provides efficient spatial queries, allowing users to interact with the world map in real time.
Backend Execution Layer: Elixir with Phoenix on AWS
The backend is built with Elixir and the Phoenix framework and hosted on AWS for high availability and low latency.
This layer manages
• Real-time gameplay logic
• High-throughput map and geospatial APIs
• User authentication flows
• Gasless transaction relayer validation
• Caching and rate control
• Blockchain orchestration
AWS services such as EC2, Elasticache, S3, CloudFront, and CloudWatch provide the operational foundation for global scalability and reliability.
Web3 Infrastructure: Thirdweb
LootCoin uses Thirdweb for wallet services, gasless transaction workflows, contract interactions, and decentralized storage.
Capabilities include
• EIP 2771 meta-transactions for gasless gameplay
• EIP 712 typed signatures for secure authorization
• EIP 2612 and EIP 4494 permit support for gasless token and NFT approvals
• Thirdweb Wallet and WalletConnect integration
• Decentralized metadata storage for LootCoin NFTs
This creates a frictionless onboarding experience that allows users to play without needing cryptocurrency.
Blockchain Indexing and RPC Services: Moralis
Moralis provides fast indexing and Web3 API services that support
• NFT ownership lookups
• Contract event monitoring
• Real-time token movement data
• High-volume RPC traffic
• Streamed updates for crafting and LootChest smart contracts
Moralis ensures that on-chain activity is reflected immediately inside the game.
Integrated Design Philosophy
LootCoin blends high-performance Web2 infrastructure with decentralized Web3 ownership to create a hybrid model that is fast, scalable, and easy for mainstream players to use.
The Web2 components handle speed, global delivery, and real-time responsiveness.
The Web3 components provide secure, verifiable ownership of Loot, NFTs, and game assets.
Gasless protocols remove barriers to entry for users who have little or no blockchain experience.
The event-driven backend ensures efficient operation under heavy load.
LootCoin’s architecture supports the vision of a global, real-world, on-chain treasure hunting game that can scale to millions of players.
Security and Reliability
LOOTCoin incorporates multiple layers of security. All smart contracts undergo external review and testing, and meta-transaction flows are protected with signature validation. The backend uses rate limiting, encrypted transport, and isolated microservices to reduce attack surfaces. Anti-abuse systems include biometric liveness detection, GPS spoofing resistance, and automated anomaly monitoring. The infrastructure is designed to maintain reliability and performance even under peak usage.
Current Tech Stack in Live Alpha (LOOTCoin.com)
