hackquest logo

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

Slither.io

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 rewards

  • RNG 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

React
Next
Web3
Ethers
Solidity
Node

Fundraising Status

0

Team Leader
AAk Ak
Sector
GamingSocialFiOther