AgarFi

Skill-Based GameFi on Solana

๐Ÿš€ LIVE IN PRODUCTION with real USDC prizes! Competitive multiplayer where skill determines victory. Play Dream Mode FREE every hour or compete in paid tiers ($1-$100 USDC).

Protected by x403 authentication + x402 blockchain-verified payments

Token Ticker

$AgarFi

Contract Address

6WQxQRguwYVwrHpFkNJsLK2XRnWLuqaLuQ8VBGXupump

๐Ÿš€ Latest Platform Updates - Nov 22, 2025

โœ… x403 LIVE

Cryptographic wallet authentication deployed

โœ… x402 LIVE

Blockchain-verified payments active

โœ… Mobile Fixed

Works in Phantom mobile browser

What is AgarFi?

How the Game Works

AgarFi is based on Agar.io, a 2015 browser game where players control circular cells ("blobs") on a 2D map. You start small and grow by consuming food pellets and smaller players. Larger players move slower. You can split your mass to catch opponents or eject mass to escape. Last player standing or largest mass after 30 minutes wins.

Winner-Takes-All Stakes

Players pay USDC to enter lobbies ($5, $25, $50, or $100 per game). Winner receives 80% of the total pot. 15% goes to platform fees, 5% used for AGAR token buybacks. All transactions recorded on Solana blockchain. No random elementsโ€”outcome determined purely by player skill and strategy.

Gameplay mechanics are deterministic with server-authoritative physics running at 60Hz tick rate. Movement speed is inversely proportional to mass. Cell splitting follows predictable trajectories. No random number generation (RNG) affects outcomes. Win conditions based on survival time and total mass accumulatedโ€”both direct results of player decisions.

Technical Architecture: Real-time multiplayer via Socket.io, blockchain settlements via Solana Web3.js, authentication via x403 signatures, payments via x402 HTTP protocol.

Technical Features

x403 Authentication

Wallet signature-based authentication. Each lobby join requires cryptographic proof of wallet ownership via message signing.

60Hz Server Tick Rate

Server-authoritative physics updates 60 times per second. Client-side prediction reduces perceived latency.

Dynamic Lobbies

Auto-scaling lobby system. Minimum 10 players to start, maximum 25 players per game. Multiple concurrent lobbies supported.

On-Chain Verification

All payments and payouts recorded on Solana blockchain. Transaction hashes publicly viewable for audit purposes.

Token Buyback

5% of each pot used to purchase AGAR tokens via Raydium SDK, then automatically staked in protocol contract.

Automated Payouts

Winners receive USDC via SPL token transfer. Server checks for Associated Token Account (ATA), creates if needed.

Tokenomics

Prize Pool Split

Winner(s)80%
Developer Fees15%
AGAR Buyback + Stake5%

Standard Mode Examples (25 players):

$5: Total $125 โ†’ Winner: $100

$25: Total $625 โ†’ Winner: $500

$50: Total $1,250 โ†’ Winner: $1,000

$100: Total $2,500 โ†’ Winner: $2,000

๐Ÿ‹ Whale: Total $25,000 โ†’ Winner: $20,000

AGAR Token Utility

Exclusive cosmetic skins
Priority queue access
Staking rewards (30-day lock)
Governance rights (future)

Stake AGAR for 30 days to unlock premium perks and demonstrate commitment to the ecosystem.

The Bullish Flywheel

More players โ†’ Bigger pots โ†’ More AGAR buybacks โ†’ Higher token value โ†’ More player incentive โ†’ Even bigger pots ๐Ÿ”„

๐Ÿ‹

WHALE MODE

๐Ÿ‹

๐Ÿ”“ Unlocks at $1M Market Cap โ€ข Live Service Global Event

The ultimate high-stakes arena where 50 players battle for a $25,000 prize pool. Winner takes home $20,000.

Buy-In

$500

Max Players

50

Winner Takes

$20K

Max Pot

$25K

๐ŸŒ Global Event Features

๐Ÿ“บ

Live Spectator Mode

Watch elite players compete in real-time

๐Ÿ†

Hall of Fame

Permanent leaderboard of Whale victors

๐ŸŽฅ

Auto-Recorded Replays

Every match saved for community viewing

๐ŸŒ

Community Countdown

Global notifications when Whale lobby opens

Whale Mode isn't just a gameโ€”it's a spectacle. The entire community watches, discusses strategy, and celebrates victories together. Think esports tournament meets live service event, happening organically whenever 50 players are ready to compete.

This is Web3 gaming's Super Bowl. And it happens every time we hit 50 players. ๐Ÿ†

Powered by Cutting-Edge Web3 Protocols

AgarFi uses x403 protocol for cryptographic wallet authentication and x402 protocol for HTTP-based cryptocurrency payments. Both protocols eliminate need for accounts, sessions, or identity verification.

x403 Protocol

WALLET SIGNATURE AUTHENTICATION

Authentication protocol using ECDSA (Elliptic Curve Digital Signature Algorithm) to verify wallet ownership. Server generates challenge message, client signs with private key, server validates signature matches public address.

How x403 Works:

When you connect your wallet, x403 generates a unique challenge message. You sign this message with your private key (only you can do this). The signature proves you own the wallet without revealing your private key. This signature-based authentication is bot-resistant and requires zero personal information.

How AgarFi Uses x403:

Every lobby join requires a fresh wallet signature to verify you're the real owner. We cache your session for 35 minutes to reduce signing friction. One wallet = one active game enforced. No bots can fake wallet signatures. No passwords to remember. No email verification.

  • ECDSA signature verification (secp256k1)
  • No PII (Personally Identifiable Information)
  • Signature requires private key access
  • Session tokens cached (35 min TTL)
  • One wallet = one concurrent game slot

x402 Protocol

HTTP 402 PAYMENT PROTOCOL

Protocol for programmatic payments over HTTP using status code 402. Standardizes payment flow: server returns 402 with payment instructions, client submits crypto payment, server verifies via facilitator endpoints, then serves resource.

How x402 Works:

1) Client requests resource 2) Server returns 402 + payment details (amount, recipient, token) 3) Client constructs blockchain transaction 4) Server calls facilitator /verify endpoint to validate transaction 5) Facilitator calls /settle to execute payment 6) Server grants access to resource. All via standard HTTP without session state.

How AgarFi Uses x402:

Lobby entry endpoints return 402 status with USDC payment requirements. Client wallet constructs SPL token transfer. Server verifies transaction on Solana network before admitting player to game. Payouts use same protocol in reverseโ€”server initiates transfer, client receives USDC.

  • No accounts or sessions required
  • Programmatic crypto payments over HTTP
  • Built on HTTP 402 status code
  • Instant payment verification & settlement
  • Perfect for micropayments & per-use billing

The Winning Combination

x403 ensures only verified wallet owners play (anti-bot). x402 enables frictionless crypto payments without accounts (no-KYC). Together they create a permissionless, bot-free gaming economy. AgarFi is the first GameFi project to combine both protocols at scale.

Built for Scale

Frontend

  • Next.js App Router
  • Raw Canvas (60fps)
  • Solana Wallet Adapter
  • Real-time Socket.io

Backend

  • Next.js API Routes
  • Socket.io (60Hz tick)
  • Neon Postgres
  • Drizzle ORM

Web3 Protocols

  • x403 Authentication
  • x402 Payment UX
  • Solana Web3.js
  • Raydium SDK

Infrastructure

  • Vercel (Frontend)
  • Render (Socket.io)
  • Hardware Wallet Security
  • Cloudflare Protection

Roadmap

โšก Lightning Fast Development

Complete Platform in Just 1 Week

Leveraging cutting-edge protocols (x403, x402) and modern tooling, AgarFi goes from concept to production-ready in 7 days. This is the speed of Web3 innovation.

Days 1-2

Core Game System

48 Hours

โœ“ COMPLETE
  • โœ“60fps Canvas rendering with vanilla JS physics
  • โœ“Socket.io real-time multiplayer (60Hz server tick)
  • โœ“Blob mechanics: eat, split, merge, eject pellets
  • โœ“Six standard game modes ($1, $5, $10, $25, $50, $100)
  • โœ“Dream Mode - Free hourly game with $1 USDC prize
  • โœ“Whale Mode infrastructure (50 player lobbies)
  • โœ“Dynamic lobby system with auto-scaling
  • โœ“Mobile-optimized touch controls and responsive UI

Days 3-4

Payments & Token Economy (x402)

48 Hours

โœ“ COMPLETE
  • โœ“โœ… x402 protocol - HTTP 402 payment standard
  • โœ“โœ… Blockchain verification (100% trustless payments)
  • โœ“โœ… X-PAYMENT headers with cryptographic proofs
  • โœ“โœ… Solana USDC integration (SPL tokens)
  • โœ“โœ… Instant winner payouts (80/15/5 split)
  • โœ“โœ… Token gating ($100k $AgarFi required)
  • โœ“โœ… MongoDB persistence (users, transactions, sessions)
  • โœ“โœ… Automatic refund system (no double-refund bug)
  • โœ“โœ… Mobile payment support (Phantom browser)

Days 5-6

x403 Authentication & Anti-Bot

48 Hours

โœ“ COMPLETE
  • โœ“โœ… x403 protocol integration (cryptographic wallet auth)
  • โœ“โœ… Ed25519 signature verification (Solana standard)
  • โœ“โœ… Session management (30-min, MongoDB persistent)
  • โœ“โœ… One wallet = one active game enforcement
  • โœ“โœ… Progressive rate limiting (5 free attempts)
  • โœ“โœ… Anti-farming and bot protection
  • โœ“โœ… Replay attack prevention with nonces
  • โœ“โœ… User education modal with security warnings

Day 7

Production Launch

LIVE NOW

โœ“ COMPLETE
  • โœ“โœ… Live on mainnet with real USDC prizes
  • โœ“โœ… Security: x403 + x402 + token gating active
  • โœ“โœ… Performance: 60fps gameplay confirmed
  • โœ“โœ… Mobile optimized (works in Phantom browser)
  • โœ“โœ… Production deployment (Vercel + Render)
  • โœ“โœ… 50+ real users playing daily
  • โœ“๐Ÿš€ LIVE IN PRODUCTION

Ready to Play?

๐ŸŽฎ LIVE WITH REAL MONEY - Play Dream Mode (free hourly) or paid tiers ($1-$100). Winners get instant USDC payouts verified on Solana blockchain. Requires 100k $AgarFi tokens + wallet signature authentication (x403).

Play Game Now