LootArena
Innovative Web3 gaming on Flow Testnet! Features multiplayer Slither.io, Wordle, and chance games. Earn LTK tokens with gas-efficient batch rewards
Videos
Description
๐ Smart Contract & Live App
Live App (Flow Testnet): https://lootarena.vercel.app/
LootToken (LTK) Contract Address: 0x506B41359218BCac5B648b78a56cA315365487ec
Network: Flow EVM Testnet (Chain ID: 545) โ powered by Flowโs fast, low-fee blockchain
๐ฎ What is Loot Arena?
Loot Arena is a Web3 mini-games platform built entirely on the Flow EVM Testnet, where players earn a native ERC-20 token (LTK โ LootToken) by playing both skill-based and chance-based games.
All gameplay is on-chain, rewards are tokenized, and players interact using Web3 wallets like MetaMask via RainbowKit โ with zero gas costs thanks to Flow Testnet.
#BuildOnFlow
๐ก Why I Built This
The project was built to explore Play-to-Earn mechanics, UI/UX for blockchain games, and gas-efficient reward flows using Flowโs EVM environment.
Most P2E platforms are either too expensive on Ethereum or too centralized off-chain โ this project solves both by deploying fully on Flow Testnet, giving free access + real blockchain learning value.
It also demonstrates:
โ
Smart contract deployment on Flow EVM Testnet
โ
Full-stack Web3 integration (Next.js + Wagmi + RainbowKit)
โ
Real-time multiplayer with Socket.io
โ
Pending reward batching for gas-free claims on Flow
โ
Token economy (entry fees โ rewards โ withdrawable balance)
Built for builders. Powered by Flow. ๐
๐ ๏ธ Tech Stack Overview
Layer | Tech |
|---|---|
Frontend | Next.js 15, TypeScript, Tailwind, Shadcn UI, Framer Motion |
Web3 | Wagmi, Viem, RainbowKit, Flow Testnet RPC |
Smart Contract | Solidity ERC-20 (OpenZeppelin) โ deployed on Flow EVM |
Backend (Multiplayer) | Node.js + Socket.io (60 FPS tick loop) |
Token | LootToken (LTK) โ Mintable test token on Flow Testnet |
Designed for Flow Testnet. Ready for Flow Mainnet.
๐๏ธ System Diagram (High-Level)
(Flow-powered architecture, no gas friction, full WalletConnect support)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ User (Browser + Wallet) โ
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโ
โ
WalletConnect / RainbowKit
โ
wagmi + viem (contract calls)
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Flow EVM Testnet โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ LootToken (ERC-20) Smart Contract โ โ
โ โ - mint() - transfer() - balanceOf() โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โ gameplay reward sync
โผ
Pending Reward System
โ claim()
โผ
User Token Balance
โ
Zero gas fees โ courtesy of Flow Testnet
โ
Fast confirmations โ Flow EVM network
โ
Instant faucet access for new users
โ Current Games
Game | Type | Entry | Max Reward | Notes |
|---|---|---|---|---|
Wordle | Skill | 5 LTK | 25 LTK | Reward scales by guesses |
Multiplayer | 10 LTK | 200 LTK | Real-time WebSocket server | |
Dice Roll | Chance | 2 LTK | 4 LTK | Win on 1 or 6 |
Coin Flip | Chance | 3 LTK | 6 LTK | Heads or Tails |
Slots | Chance | 5 LTK | 25 LTK | Symbol matching |
๐ข All payouts and balances are on-chain via Flow EVM.
๐ Key Features
๐ Web3 login with automatic Flow Testnet network switching
๐ฐ Daily claim: 100 LTK free every 24h (via Flow faucet)
๐ Pending rewards (batch claim โ fewer tx, free gas)
โก Real-time multiplayer logic
๐งฉ Modular game architecture inside /app/games/*
๐จ Animated UI (Framer Motion + Tailwind)
๐ฆ Bun-powered dev environment
๐ Fully deployed on Flow Testnet, not local devnet
๐ Security Notes (Testnet Build Only)
mint()is intentionally public for demo faucet rewardsRNG in chance games is client-side (VRF upgrade planned)
No access control / pausing system yet
Gas = free โ Flow Testnet faucet handles funds
๐ฃ๏ธ Roadmap Snapshot
Phase | Status |
|---|---|
Phase 1 โ Token + 5 games + UI + deployment | โ Done (Flow Testnet live) |
Phase 2 โ Leaderboard + NFT Achievements | ๐ In progress |
Phase 3 โ Flow Mainnet launch + Tournaments + DAO | โณ Planned |
๐ Built for builders. Powered by the Flow blockchain.
Fast, scalable, no gas friction โ perfect for Web3 gaming.
#BuildOnFlow #FlowTestnet #FlowEVM
Progress During Hackathon
80
Tech Stack
Fundraising Status
0