Human vs AI Trading Challenge on Mantle Network
Can you tell AI from human by their trading decisions? Prove it and earn rewards.
Built for Turing Test Hackathon 2026 by Mantle Network.
TuringArena is a gamified DApp where users vote on whether traders are AI or human based on their trading behavior. Correct guesses earn rewards from the prize pool.
- ๐ค AI Agents: 3 AI traders with distinct personalities (Groq API)
- ๐ณ๏ธ On-Chain Voting: Vote with MNT stakes on Mantle Network
- ๐ฐ Reward Pool: Winners split the prize pool
- โก Real-Time: WebSocket updates for live trading feed
- ๐จ Cyberpunk UI: Beautiful animations with Framer Motion
- Frontend: Next.js 14, TypeScript, Tailwind CSS, RainbowKit
- Backend: Node.js, Express, WebSocket, Groq AI API
- Blockchain: Solidity 0.8.25, Hardhat, Mantle Sepolia Testnet
- AI: Groq API with llama-3.3-70b-versatile model
- AgentRegistry: ERC-721 for AI agent NFTs
- VotingPool: Handles voting and reward distribution
- TuringArena: Main game logic coordinator
- Node.js 18+
- MetaMask wallet
- Mantle Sepolia testnet MNT
# Clone repository
git clone <repo-url>
cd TuringArena
# Install dependencies
npm install
# Setup environment variables
cp backend/.env.example backend/.env
cp frontend/.env.local.example frontend/.env.local
# Edit .env files with your keys# Terminal 1 - Backend
cd backend
npm run dev
# Terminal 2 - Frontend
cd frontend
npm run devPRIVATE_KEY=your_wallet_private_key
GROQ_API_KEY=your_groq_api_key
PORT=4000NEXT_PUBLIC_VOTING_POOL_ADDRESS=0x444A930d5fdc9c33faeC0D5Dfb84cF1Dc0A05B1D
NEXT_PUBLIC_AGENT_REGISTRY_ADDRESS=0x2442EB032404c81e2B869B375FeF904C8DBF0634
NEXT_PUBLIC_TURING_ARENA_ADDRESS=0x4320C22491fAC70BfAfFa869eaDC5CD86174A3B1
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=your_project_id- Connect Wallet: Connect MetaMask to Mantle Sepolia
- Start Round: Click "Start New Round" button
- Watch Trades: AI agents make trading decisions
- Vote: Guess which traders are AI (๐ค) or Human (๐ค)
- Stake: Enter MNT amount (minimum 0.01 MNT)
- Submit: Confirm transaction in MetaMask
- Reveal: Wait for round end to see results
- Claim: Winners claim their share of the prize pool
- Strategy: Momentum Trading
- Behavior: Catches pumps, high leverage, fast decisions
- Personality: Aggressive, confident
- Strategy: Dollar-Cost Averaging
- Behavior: Patient, explains every move
- Personality: Cautious, analytical
- Strategy: Sentiment-Driven
- Behavior: Trades on hype, uses slang
- Personality: Unpredictable, meme-focused
AgentRegistry: 0x2442EB032404c81e2B869B375FeF904C8DBF0634
VotingPool: 0x444A930d5fdc9c33faeC0D5Dfb84cF1Dc0A05B1D
TuringArena: 0x4320C22491fAC70BfAfFa869eaDC5CD86174A3B1
Explorer: https://sepolia.mantlescan.xyz
See TESTING.md for detailed testing guide.
Quick test:
# Start services
cd backend && npm run dev &
cd frontend && npm run dev
# Open browser
open http://localhost:3000
# Connect wallet and start round- Setup Guide - Detailed setup instructions
- Architecture - System design and architecture
- Testing Guide - How to test the application
- Quick Test - Quick testing checklist
- New Deployment - Latest deployment info
Turing Test Hackathon 2026 by Mantle Network
- Track: Consumer & Viral DApps
- Prize Pool: $100,000
- Deadline: June 15, 2026
- Network: Mantle (Testnet for testing, Mainnet for submission)
โ
Deployed on Mantle Network
โ
Real blockchain interactions (no mocks)
โ
Consumer-focused gamification
โ
Viral potential (social voting game)
โ
AI integration (Groq API)
TuringArena/
โโโ backend/ # Node.js backend + AI agents
โโโ contracts/ # Solidity smart contracts
โโโ frontend/ # Next.js frontend
โโโ docs/ # Documentation
- Blockchain: Mantle Network (Ethereum L2)
- Smart Contracts: Solidity, Hardhat, OpenZeppelin
- Frontend: Next.js 14, TypeScript, Tailwind CSS
- Wallet: RainbowKit, wagmi, viem
- AI: Groq API (llama-3.3-70b-versatile)
- Real-time: WebSocket
- Animations: Framer Motion
MIT License - see LICENSE file for details
This is a hackathon project. Contributions welcome after hackathon submission.
- GitHub Issues: [Create an issue]
- Documentation: See
/docsfolder - Testing: See
TESTING.md
Built with โค๏ธ for Turing Test Hackathon 2026