project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

Warriors AI-rena

WarriorsAI-rena is a groundbreaking blockchain-based battle arena

Warriors AI-rena

Created At

ETHGlobal Cannes

Winner of

0G

0G - Most Innovative Use of 0G Ecosystem

Project Description

WarriorsAI-rena: Complete Technical Documentation ๐Ÿ›๏ธโš”๏ธ๐Ÿค–

Table of Contents

  1. Project Overview
  2. Core Gaming Experience
  3. AI Revolution in Gaming
  4. Technical Architecture
  5. Revolutionary Economics
  6. Battle System Deep Dive
  7. Player Agency System
  8. Security & Fairness
  9. Cross-Chain Innovation
  10. Economic Sustainability
  11. Why This Project Will Succeed
  12. Cultural Impact
  13. Future Vision
  14. Technical Specifications

Project Overview

What WarriorsAI-rena Actually Is

WarriorsAI-rena is the world's first AI-orchestrated blockchain battle arena where real artificial intelligence agents make strategic combat decisions while players bet, influence, and participate in epic warrior battles. Think of it as a fusion of:

  • Chess (strategic depth)
  • Pokรฉmon (creature collection and battles)
  • DeFi (financial mechanics)
  • AI Research (autonomous decision-making)
  • Esports (competitive gaming)

But it's entirely on blockchain with real AI agents controlling the action.

Key Innovations

  1. Real AI Decision-Making: Not scripted NPCs, but actual AI agents analyzing and deciding
  2. Sustainable Token Economics: 1:1 FLOW backing prevents death spirals
  3. Player Agency: Direct influence on battle outcomes through strategic mechanics
  4. Cross-Chain Architecture: Flow Testnet + 0G Network integration
  5. Cryptographic Verification: All AI decisions are signed and verified on-chain

Core Gaming Experience

The Player Journey - Step by Step

  1. Connect Your Wallet to Flow Testnet
  2. Mint Crown Tokens (CRwN) with a 1:1 FLOW backing ratio
  3. Acquire Warrior NFTs - each with unique traits and abilities
  4. Enter an Arena based on your warrior's rank (Unranked โ†’ Platinum)
  5. Place Strategic Bets on warriors in upcoming battles
  6. Influence the Battle by boosting your favored warrior's power
  7. Watch AI Agents make real-time combat decisions
  8. Collect Rewards based on battle outcomes and your participation

What Makes Each Battle Unique

Every single battle is a 5-round strategic combat where:

  • AI agents analyze warrior traits in real-time
  • Players can influence outcomes mid-battle
  • No two battles are identical due to AI decision-making
  • Cryptographic signatures ensure AI decisions are legitimate
  • Complex damage calculations based on multiple factors

Battle Flow Sequence


AI Revolution in Gaming

How the AI Actually Works

This isn't fake AI or scripted behavior. Here's what's happening:

  1. 0G Network hosts real AI agents that analyze warrior data
  2. AI examines warrior traits: Strength, Wit, Charisma, Defense, Luck
  3. AI considers battle context: Current round, damage taken, opponent status
  4. AI selects optimal moves from 5 combat options
  5. AI decisions are cryptographically signed and verified on-chain
  6. Battle outcomes are calculated using complex formulas

The 5 Combat Moves (AI-Selected)

enum PlayerMoves {
    STRIKE,   // Pure strength attack - high damage potential
    TAUNT,    // Psychological warfare using Charisma + Wit
    DODGE,    // Defensive evasion based on Defense stat
    SPECIAL,  // Ultimate move combining Personality + Strength
    RECOVER   // Healing move using Defense + Charisma
}

Each move has different success rates and effects based on:

  • Warrior's traits
  • Opponent's traits
  • Luck factor
  • Current battle state
  • AI strategic analysis

AI Decision Process

interface AIDecisionProcess {
    analyzeWarriorTraits(warrior1: Warrior, warrior2: Warrior): TraitAnalysis;
    evaluateBattleContext(battleState: BattleState): ContextAnalysis;
    calculateOptimalMove(analysis: TraitAnalysis, context: ContextAnalysis): PlayerMoves;
    signDecision(move: PlayerMoves): CryptographicSignature;
}

Technical Architecture

Layer 1: Blockchain Foundation (Flow Testnet)

Flow Testnet serves as the primary blockchain because:

  • EVM Compatible: Works with existing Ethereum tools
  • Low Gas Fees: Affordable for gaming transactions
  • High Throughput: Can handle rapid battle transactions
  • Developer Friendly: Excellent tooling and documentation

Smart Contracts Deployed:

  • Arena.sol: The battle engine (1,029 lines of complex logic)
  • WarriorsNFT.sol: Character system (535 lines)
  • CrownToken.sol: Economic engine (118 lines)
  • ArenaFactory.sol: Arena creation system (302 lines)

Layer 2: AI & Storage (0G Network)

0G Network provides:

  • Decentralized AI Hosting: AI agents run on distributed infrastructure
  • Storage Layer: Warrior metadata, battle history, encrypted assets
  • High-Performance Inference: Real-time AI decision making
  • Cryptographic Verification: All AI outputs are signed and verifiable

Layer 3: Frontend Experience (Next.js 15)

Modern Web3 Interface:

  • Real-time Battle Visualization: Watch AI decisions unfold
  • Wallet Integration: RainbowKit + Wagmi for seamless connection
  • Responsive Design: Works on desktop and mobile
  • TypeScript: Type-safe development for reliability

Complete Architecture Diagram


Revolutionary Economics

Crown Token (CRwN) - The Breakthrough

Most gaming tokens fail because they have no real backing. CRwN is different:

// Mint Function - 1:1 FLOW backing
function mint(uint256 _amount) public payable {
    require(msg.value == _amount); // Must send FLOW equal to tokens
    _mint(msg.sender, _amount);
}

// Burn Function - Redeem FLOW
function burn(uint256 _amount) public {
    _burn(msg.sender, _amount);
    payable(msg.sender).transfer(_amount); // Get FLOW back
}

This creates:

  • Price Floor: CRwN can never go below 1 FLOW
  • Sustainable Economics: No death spirals
  • Real Utility: Tokens are spent in gameplay, not just traded
  • Deflationary Pressure: Influence/defluence burns tokens

Multi-Tier Economy

| Rank | Bet Amount | Influence Cost | Defluence Cost | Potential Rewards | |------|------------|----------------|----------------|-------------------| | Unranked | 1x | 1x | 1x | 1x | | Bronze | 2x | 2x | 2x | 2x | | Silver | 3x | 3x | 3x | 3x | | Gold | 4x | 4x | 4x | 4x | | Platinum | 5x | 5x | 5x | 5x |

Higher ranks = higher stakes = higher rewards

Token Utility Flow


Battle System Deep Dive

Battle Initialization

function initializeGame(uint256 _warriorOneId, uint256 _warriorTwoId) {
    // Verify warriors are same rank
    require(warriorsNFT.getWarriorRanking(_warriorOneId) == 
            warriorsNFT.getWarriorRanking(_warriorTwoId), "Warriors must be same rank");
    
    // Set up betting period (60 seconds minimum)
    bettingStartTime = block.timestamp;
    bettingEndTime = block.timestamp + BETTING_PERIOD;
    
    // Initialize battle state
    battleState = BattleState.BETTING;
    currentRound = 0;
    
    emit GameInitialized(_warriorOneId, _warriorTwoId);
}

The Betting Phase

  • 60 seconds minimum for players to analyze and bet
  • Fixed bet amounts prevent whale manipulation
  • Multiple bets allowed with multiplier system
  • Must have bets on both sides or game is refunded
function betOnWarriorOne(uint256 _multiplier) external {
    require(battleState == BattleState.BETTING, "Not in betting phase");
    require(block.timestamp < bettingEndTime, "Betting period ended");
    require(_multiplier > 0 && _multiplier <= MAX_MULTIPLIER, "Invalid multiplier");
    
    uint256 betAmount = getBaseBetAmount() * _multiplier;
    require(crownToken.transferFrom(msg.sender, address(this), betAmount), "Transfer failed");
    
    betsOnWarriorOne[msg.sender] += betAmount;
    totalBetsOnWarriorOne += betAmount;
    
    emit BetPlaced(msg.sender, 1, betAmount);
}

The Battle Rounds

function battle(
    PlayerMoves _warriorOneMove,
    PlayerMoves _warriorTwoMove, 
    bytes memory _aiSignature
) external onlyGameMaster {
    require(battleState == BattleState.ACTIVE, "Battle not active");
    require(currentRound < MAX_ROUNDS, "Battle ended");
    
    // Verify AI signature
    bytes32 dataHash = keccak256(abi.encodePacked(_warriorOneMove, _warriorTwoMove));
    bytes32 ethSignedMessage = MessageHashUtils.toEthSignedMessageHash(dataHash);
    address recovered = ECDSA.recover(ethSignedMessage, _aiSignature);
    require(recovered == aiPublicKey, "Invalid AI signature");
    
    // Execute battle logic
    (uint256 damageToTwo, uint256 damageToOne) = calculateDamage(
        _warriorOneMove, _warriorTwoMove, warriorOneId, warriorTwoId
    );
    
    // Apply damage
    warriorOneHealth = warriorOneHealth > damageToOne ? 
        warriorOneHealth - damageToOne : 0;
    warriorTwoHealth = warriorTwoHealth > damageToTwo ? 
        warriorTwoHealth - damageToTwo : 0;
    
    currentRound++;
    
    emit RoundCompleted(currentRound, _warriorOneMove, _warriorTwoMove, 
                       damageToOne, damageToTwo);
    
    // Check for battle end
    if (warriorOneHealth == 0 || warriorTwoHealth == 0 || currentRound >= MAX_ROUNDS) {
        endBattle();
    }
}

Damage Calculation Formula

function calculateDamage(
    PlayerMoves _moveOne, 
    PlayerMoves _moveTwo, 
    uint256 _warriorOneId, 
    uint256 _warriorTwoId
) internal view returns (uint256 damageToTwo, uint256 damageToOne) {
    
    // Get warrior traits
    (uint16 str1, uint16 wit1, uint16 cha1, uint16 def1, uint16 luck1) = 
        warriorsNFT.getWarriorTraits(_warriorOneId);
    (uint16 str2, uint16 wit2, uint16 cha2, uint16 def2, uint16 luck2) = 
        warriorsNFT.getWarriorTraits(_warriorTwoId);
    
    // Apply influence/defluence modifiers
    uint256 modifiedStr1 = applyInfluenceModifiers(str1, _warriorOneId);
    uint256 modifiedStr2 = applyInfluenceModifiers(str2, _warriorTwoId);
    
    // Calculate base damage based on moves
    damageToTwo = calculateMoveDamage(_moveOne, modifiedStr1, wit1, cha1, def2, luck1);
    damageToOne = calculateMoveDamage(_moveTwo, modifiedStr2, wit2, cha2, def1, luck2);
    
    // Apply random factors
    damageToTwo = applyRandomFactor(damageToTwo);
    damageToOne = applyRandomFactor(damageToOne);
}

Player Agency System

1. Strategic Betting

Not just gambling - informed investment based on:

  • Warrior trait analysis
  • Battle history
  • Current influence/defluence levels
  • AI behavioral patterns
struct BettingInfo {
    uint256 totalBetsOnWarriorOne;
    uint256 totalBetsOnWarriorTwo;
    mapping(address => uint256) betsOnWarriorOne;
    mapping(address => uint256) betsOnWarriorTwo;
    uint256 bettingStartTime;
    uint256 bettingEndTime;
}

2. Influence System

function influenceWarriorOne() external {
    require(battleState == BattleState.ACTIVE, "Battle not active");
    require(currentRound < MAX_ROUNDS, "Battle ended");
    
    uint256 influenceCost = getInfluenceCost();
    require(crownToken.transferFrom(msg.sender, address(this), influenceCost), 
            "Transfer failed");
    
    // Burn the tokens (deflationary mechanism)
    crownToken.burn(influenceCost);
    
    // Apply influence boost
    warriorOneInfluence += INFLUENCE_BOOST;
    playerInfluences[msg.sender]++;
    
    emit InfluenceApplied(msg.sender, 1, influenceCost);
}

3. Defluence Mechanics

function defluenceWarriorOne() external {
    require(battleState == BattleState.ACTIVE, "Battle not active");
    require(currentRound < MAX_ROUNDS, "Battle ended");
    require(!hasDefluenced[msg.sender], "Already defluenced this game");
    
    uint256 defluenceCost = getDefluenceCost();
    require(crownToken.transferFrom(msg.sender, address(this), defluenceCost), 
            "Transfer failed");
    
    // Burn the tokens (deflationary mechanism)
    crownToken.burn(defluenceCost);
    
    // Apply defluence debuff
    warriorOneDefluence += DEFLUENCE_DEBUFF;
    hasDefluenced[msg.sender] = true;
    
    emit DefluenceApplied(msg.sender, 1, defluenceCost);
}

4. Real-Time Participation

  • Watch battles unfold live
  • See AI decision-making process
  • Track influence effects
  • Participate in community discussions

Security & Fairness

AI Decision Verification

function verifyAISignature(
    PlayerMoves _moveOne, 
    PlayerMoves _moveTwo, 
    bytes memory _signature
) internal view returns (bool) {
    bytes32 dataHash = keccak256(abi.encodePacked(_moveOne, _moveTwo));
    bytes32 ethSignedMessage = MessageHashUtils.toEthSignedMessageHash(dataHash);
    address recovered = ECDSA.recover(ethSignedMessage, _signature);
    return recovered == aiPublicKey;
}

Economic Safeguards

  • Fixed bet amounts eliminate manipulation
  • Time-locked periods prevent front-running
  • Defluence limits ensure balance
  • Transparent calculations on-chain

Technical Security

// Reentrancy protection
modifier nonReentrant() {
    require(!_reentrancyGuard, "Reentrant call");
    _reentrancyGuard = true;
    _;
    _reentrancyGuard = false;
}

// Role-based access control
modifier onlyGameMaster() {
    require(msg.sender == gameMaster, "Only game master");
    _;
}

// Time-based constraints
modifier onlyDuringBetting() {
    require(battleState == BattleState.BETTING, "Not in betting phase");
    require(block.timestamp < bettingEndTime, "Betting period ended");
    _;
}

Cross-Chain Innovation

Flow Testnet + 0G Network Integration

This is genuinely innovative because:

  • Flow handles the financial transactions and game state
  • 0G Network provides the AI computation and storage
  • Seamless integration between chains
  • Best of both worlds - security + performance

The Technical Bridge

// AI agents on 0G Network make decisions
const aiDecision = await 0gNetwork.getAIDecision(battleState);

// Decisions are signed and verified
const signature = await aiAgent.signDecision(aiDecision);

// Executed on Flow blockchain
await flowContract.executeBattle(moves, signature);

Multi-Chain Architecture

graph LR
    A[Flow Testnet] --> D[Battle Contracts]
    B[0G Network] --> E[AI Agents]
    B --> F[Storage Layer]
    C[Ethereum] --> G[Future Expansion]
    
    D --> H[Unified Experience]
    E --> H
    F --> H
    G --> H

Economic Sustainability

Traditional Gaming Token Problems:

  • No real utility beyond speculation
  • Infinite supply leading to inflation
  • No price floor or backing
  • Death spirals when hype dies

WarriorsAI-rena Solutions:

  • Real utility: Tokens spent in gameplay
  • Deflationary mechanics: Influence/defluence burns tokens
  • Price floor: 1:1 FLOW backing
  • Sustainable revenue: 5% of betting pools (future)

Revenue Streams:

  1. Battle fees (5% of betting pools)
  2. Influence costs (token burns)
  3. Defluence costs (token burns)
  4. NFT marketplace fees
  5. Arena creation fees

Economic Model Analysis

contract EconomicModel {
    // Revenue calculation
    function calculateRevenue(uint256 totalBets) public pure returns (uint256) {
        return totalBets * PROTOCOL_FEE / 100; // 5% fee
    }
    
    // Deflationary pressure
    function calculateTokenBurn(uint256 influences, uint256 defluences) 
        public pure returns (uint256) {
        return (influences * INFLUENCE_COST) + (defluences * DEFLUENCE_COST);
    }
    
    // Sustainability metrics
    function calculateSustainabilityRatio() public view returns (uint256) {
        uint256 totalBurned = getTotalTokensBurned();
        uint256 totalMinted = getTotalTokensMinted();
        return totalBurned * 100 / totalMinted; // Percentage burned
    }
}

Why This Project Will Succeed

1. Technical Innovation

  • First real AI-blockchain gaming integration
  • Production-ready code with comprehensive testing
  • Scalable architecture supporting millions of users
  • Cross-chain compatibility from day one

2. Economic Innovation

  • Sustainable tokenomics solving gaming token problems
  • Real utility beyond speculation
  • Deflationary mechanics creating scarcity
  • Revenue sharing aligning stakeholders

3. Gaming Innovation

  • Unpredictable gameplay through AI
  • Strategic depth beyond simple mechanics
  • Community participation in battle outcomes
  • Progressive character development

4. Market Timing

  • AI boom creating mainstream interest
  • Blockchain gaming reaching maturity
  • Cross-chain infrastructure now viable
  • Gaming NFTs seeking real utility

Cultural Impact

This project is creating a new category of entertainment:

For Gamers:

  • Skill-based competition with financial stakes
  • True ownership of digital assets
  • Community governance of game evolution
  • AI-powered experiences previously impossible

For Developers:

  • Blueprint for AI-blockchain integration
  • Sustainable gaming economics model
  • Cross-chain architecture patterns
  • Community-driven development

For the Industry:

  • Proof of concept for AI in gaming
  • New revenue models for game developers
  • Player empowerment through ownership
  • Decentralized gaming infrastructure

Future Vision

Phase 1: Foundation (Current)

  • Core battle system operational
  • AI agents making decisions
  • Token economics functioning
  • Community growing

Phase 2: Expansion

  • Tournament systems
  • Guild mechanics
  • Advanced AI strategies
  • Mobile applications

Phase 3: Ecosystem

  • Third-party arena creation
  • AI marketplace
  • Breeding systems
  • Esports integration

Phase 4: Revolution

  • Full DAO governance
  • AI training by community
  • Cross-game compatibility
  • Industry standard

Technical Specifications

Smart Contract Details

Arena.sol

  • Lines of Code: 1,029
  • Key Functions: 47
  • Gas Optimization: Advanced
  • Security Features: Comprehensive

WarriorsNFT.sol

  • Lines of Code: 535
  • Trait System: 5 attributes (0-10000 precision)
  • Ranking System: 5 tiers
  • Metadata: IPFS + 0G Storage

CrownToken.sol

  • Lines of Code: 118
  • Token Standard: ERC20 + Burnable
  • Backing Mechanism: 1:1 FLOW
  • Deflationary: Yes

ArenaFactory.sol

  • Lines of Code: 302
  • Arena Creation: Automated
  • Rank Management: Integrated
  • Access Control: Role-based

Deployed Contract Addresses (Flow Testnet)

| Contract | Address | Verification | |----------|---------|-------------| | MockOracle | 0x56d7060B080A6d5bF77aB610600e5ab70365696A | โœ… Verified | | CrownToken | 0x9Fd6CCEE1243EaC173490323Ed6B8b8E0c15e8e6 | โœ… Verified | | WarriorsNFT | 0x3838510eCa30EdeF7b264499F2B590ab4ED4afB1 | โœ… Verified | | ArenaFactory | 0xf77840febD42325F83cB93F9deaE0F8b14Eececf | โœ… Verified |

Frontend Architecture

// Tech Stack
interface FrontendStack {
    framework: "Next.js 15";
    language: "TypeScript";
    styling: "Tailwind CSS";
    walletIntegration: "RainbowKit + Wagmi";
    stateManagement: "Zustand";
    realTimeUpdates: "Socket.IO";
    aiIntegration: "0G Network SDK";
    storage: "0G Storage";
}

// Key Components
interface ComponentArchitecture {
    battleVisualization: "Real-time battle renderer";
    walletConnection: "Multi-wallet support";
    warriorManagement: "NFT collection interface";
    bettingInterface: "Strategic betting UI";
    influenceSystem: "Real-time influence controls";
    economicsDashboard: "Token economics tracking";
}

AI Integration Specifications

interface AIIntegration {
    network: "0G Network";
    decisionLatency: "< 2 seconds";
    signatureVerification: "ECDSA";
    battlesPerSecond: "10+";
    aiModels: "Custom trained for battle strategy";
    dataStorage: "Encrypted on 0G Storage";
}

Conclusion

WarriorsAI-rena represents a fundamental breakthrough in blockchain gaming, combining:

  • Real AI decision-making (not scripted NPCs)
  • Sustainable economics (backed tokens, not speculation)
  • Player agency (direct influence on outcomes)
  • Technical innovation (cross-chain AI integration)
  • Community governance (players control evolution)

This isn't just innovative - it's revolutionary. ๐Ÿ›๏ธโš”๏ธ๐Ÿค–


Built by the Seeers Team at ETH Global Cannes - Where AI meets blockchain, and every battle tells a story.

How it's Made

๐Ÿ› ๏ธ WarriorsAI-rena: Technical Build Guide

๐ŸŽฏ Core Innovation

AI-Powered Blockchain Gaming with cryptographically verified AI decisions, decentralized storage, and multi-chain architecture.

๐Ÿ”ง Technology Stack

Smart Contracts (Solidity)

  • Flow Testnet deployment
  • ECDSA signature verification for AI decisions
  • Flow VRF integration for true randomness
  • Dynamic economic model with influence/defluence mechanics

AI Layer (0G Network)

  • 0G Compute Network for decentralized AI
  • GPT-4 integration via 0G providers
  • Cryptographic authentication for each AI query
  • Pay-per-inference micropayments

Storage Layer (0G + IPFS)

  • 0G Storage Network for decentralized metadata
  • Merkle tree validation for file integrity
  • IPFS fallback for legacy support
  • Root hash as Token URI innovation

Frontend (Next.js 14)

  • TypeScript for type safety
  • Wagmi + Viem for Web3 integration
  • RainbowKit for wallet connections
  • Tailwind CSS for styling

๐Ÿš€ Key Innovations

1. AI Signature Verification

// Every AI decision is cryptographically verified
bytes32 dataHash = keccak256(abi.encodePacked(_WarriorsOneMove, _WarriorsTwoMove));
address recovered = ECDSA.recover(ethSignedMessage, _signedData);
require(recovered == i_AiPublicKey, "Invalid AI signature");

2. Flow VRF Integration

// Native blockchain randomness without oracles
function _revertibleRandom() private view returns (uint64) {
    (bool ok, bytes memory data) = i_cadenceArch.staticcall(
        abi.encodeWithSignature("revertibleRandom()")
    );
    return abi.decode(data, (uint64));
}

3. 0G Storage with Root Hash URIs

// NFT metadata stored as 0G root hashes
const zgFile = await ZgFile.fromFilePath(req.file.path);
const [tree] = await zgFile.merkleTree();
const rootHash = tree?.rootHash(); // Used as tokenURI

4. Dynamic AI Prompting

// AI adapts to battle state and personality
const battlePrompt = `
BATTLE SITUATION: Round ${currentRound}
Agent 1 Stats: STR:${strength} WIT:${wit}
Battle History: ${history}
TACTICAL SITUATION: ${tacticalAnalysis}
Generate optimal moves avoiding repetitive patterns.
`;

5. Multi-Storage Fallback System

// Intelligent storage detection
if (tokenURI.startsWith('0x')) {
    metadata = await fetchMetadataFrom0G(tokenURI);
} else {
    metadata = await fetchMetadataFromIPFS(tokenURI);
}

๐ŸŽฎ Battle System Architecture

AI Decision Flow

  1. Battle State Analysis โ†’ 0G Compute Network
  2. AI Move Generation โ†’ GPT-4 via 0G providers
  3. Cryptographic Signing โ†’ AI private key
  4. On-Chain Verification โ†’ ECDSA.recover()
  5. Battle Execution โ†’ Smart contract logic

Economic Model

  • CRwN Token for betting and influence
  • Dynamic Pricing based on battle outcomes
  • Influence/Defluence mechanics affect costs
  • Winner-takes-all betting system

๐Ÿ”ฅ Notable "Hacks"

1. 0G Root Hash as Token URI

Instead of IPFS URLs, directly use 0G storage root hashes:

tokenURI = "0x1234567890abcdef..."; // 0G root hash

2. AI Provider Fallback

const OFFICIAL_PROVIDERS = {
  "llama-3.3-70b-instruct": "0xf07240Efa67755B5311bc75784a061eDB47165Dd",
  "deepseek-r1-70b": "0x3feE5a4dd5FDb8a32dDA97Bed899830605dBD9D3"
};

3. Dynamic Economic Parameters

// Battle outcomes affect future costs
s_costToInfluenceWarriorsOne = baseInfluenceCost * (1 + battlePerformance);

4. Personality-Driven AI

Each warrior's AI reflects their unique traits and knowledge areas.

๐ŸŒ Partner Technology Benefits

0G Network

  • โœ… Decentralized AI - No single point of failure
  • โœ… Cryptographic Verification - All AI responses verifiable
  • โœ… Cost Efficiency - Pay-per-inference vs. subscriptions
  • โœ… Censorship Resistance - No central authority

Flow Testnet

  • โœ… Native VRF - Built-in randomness without oracles
  • โœ… Low Gas Costs - Affordable gaming transactions
  • โœ… EVM Compatibility - Seamless Solidity integration
  • โœ… Cadence Access - Unique Flow features

๐Ÿ“Š Contract Addresses (Flow Testnet)

const contracts = {
  MockOracle: "0x8464135c8F25Da09e49BC8782676a84730C318bC",
  CrownToken: "0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1",
  WarriorsNFT: "0xA51c1fc2f0D1a1b8494Ed1FE312d7C3a78Ed91C0",
  ArenaFactory: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82"
};

๐Ÿš€ Quick Start

# Clone and install
git clone <repo>
cd WarriorsAI-rena
npm install

# Setup environment
cp .env.example .env
# Add PRIVATE_KEY and RPC_URL

# Deploy contracts
forge build
forge deploy --network flow-testnet

# Start frontend
cd frontend
npm run dev

# Start 0G services
cd 0G && npm start
cd 0g-storage && npm start

๐ŸŽฏ Technical Achievements

  1. First AI-Verified Gaming - Cryptographically verifiable AI decisions
  2. Multi-Chain Storage - Seamless 0G + IPFS integration
  3. Dynamic NFT Economics - Battle outcomes affect token economics
  4. Decentralized AI - No single point of failure for AI services
  5. Flow VRF Integration - Native blockchain randomness
  6. Personality-Driven AI - Each warrior has unique AI behavior

WarriorsAI-rena pushes the boundaries of blockchain gaming by combining cutting-edge AI, decentralized storage, and innovative smart contract design into a single, cohesive gaming experience.

background image mobile

Join the mailing list

Get the latest news and updates