Where Gaming Meets Web3 Evolution. Our AI agent analyzes every move, forges epic moments into NFTs, and guides your path to esports glory.
Game-embedded performance tracking meets on-chain rewards, transforming casual plays into professional legacies. 🎮
- Deployments
- Flow Chart and System Design
- Problem Statement
- Solution
- Multi Agent System Architecture
- Tech stack
- Local Installation
- Partners and Integrations
- Contributing
- License
- Frontend: ETHArena Platform
- Backend: ETHArena SDK API
- Smart Contract Reputation View on Arbitrum Etherscan
- Smart Contract NFT for Game Assets View on Arbitrum Etherescan
The Web3 gaming ecosystem faces several critical challenges:
-
Distribution Fragmentation
- Web2 gaming platforms like Steam command 45% of the global market
- Web3 games lack unified distribution channels
- No standardized platform for discovering blockchain games
-
Complex User Experience
- High barrier to entry with wallet setup requirements
- Fragmented reward systems across different games
- Disconnected gaming experiences between different blockchain networks
-
Technical Limitations
- Manual NFT generation processes
- No unified reputation system across game engines
- Limited on-chain reward mechanisms
- Privacy concerns with gameplay data
ETHArena revolutionizes Web3 gaming through:
-
Seamless Integration
- Unity/Unreal Engine plugins for easy developer onboarding
- Account abstraction (ERC2771) for gasless transactions
- Invisible blockchain integration for players
-
AI-Powered Gaming
- Real-time gameplay analysis
- Personalized performance insights
- Dynamic NFT generation based on gameplay
- Gaming doppelganger matching system
-
Unified Platform
- Cross-engine compatibility
- Standardized reward system
- Integrated reputation tracking
- Community-driven appreciation mechanism
-
ETHArena SDK
- Fast API backend processing game movements
- Real-time data parsing and structuring
- Integration with AI agents
- Account abstraction layer
-
AI Agents
- RAG-based Gaia Agent for performance analysis
- DeepAI integration for NFT generation
- Substream-powered subgraph for entity changes
- Graph-based monitoring system
-
Smart Contracts
- ERC2771 implementation for account abstraction
- Arbitrum Sepolia integration for minting and events
- On-chain reputation tracking
- Reward distribution system
- Gaming reputation system on Arbitrum
- Automated SBT minting based on gameplay achievements
- Real-time monitoring and reward distribution
- Future expansion into game licensing platform
-
Game Companion Agent: Monitors gameplay and provides real-time advice Code : https://github.com/dhananjaypai08/ETHArena/blob/master/ETHArenaSDK/main.py#L109
-
DeepAI Agent: Generates unique NFT assets based on gameplay data Code : https://github.com/dhananjaypai08/ETHArena/blob/master/ETHArenaSDK/main.py#L268
-
Gaia Agent: Handles on-chain interactions and reward distribution Code. : https://github.com/dhananjaypai08/ETHArena/blob/master/ETHArenaSDK/baseAgent.py#L165
-
RAG-based Analysis Agent: Processes game metrics and provides structured insights Code : https://github.com/dhananjaypai08/ETHArena/blob/master/ETHArenaSDK/baseAgent.py#L11
-
Account abstraction (ERC2771) for frictionless onboarding of traditional gamers Code : https://github.com/dhananjaypai08/ETHArena/blob/master/ETHArenaSDK/main.py#L218
- Frontend: React, TailwindCSS, Framer Motion
- Backend: FastAPI, Python
- Blockchain: Rust, Stylus SDK, Arbitrum, Ethers, Solidity
- AI/ML: DeepAI, Gaia
- Game Engines: Unity (C#), Unreal
- Infrastructure: Render, Vercel
# Clone the repository
git clone https://github.com/dhananjaypai08/ZkDNS.git
# Install dependencies
cd frontend
npm install
# Set up environment variables
cp .env.example .env
# Add your configuration
# Start development server
npm run dev# Navigate to backend directory
cd backend
# Create virtual environment
python -m venv venv
source venv/bin/activate # or `venv\Scripts\activate` on Windows
# Install dependencies
pip install -r requirements.txt
# Set up environment variables
cp .env.example .env
# Add your configuration
# Start the server
python3 main.py-
Stylus based Deployment for NFT : https://sepolia.arbiscan.io/address/0xee560a20c0215ce431da9e6b2ff3205fd4ed0fb0
-
Reputation storage on Arbitrum Sepolia: https://sepolia.arbiscan.io/address/0xF34814Bb28fC0a3076105c509D39edf4Ff00530e
- For deployments checks Locally I have a nitro dev node for contract checks.
- Actual deployment is done on Arbitrum sepolia.
- Setup for personal deployments :
cd stylus-contract cargo stylus check cargo stylus deploy --endpoint='YOUR_RPC_ENDPOINT' --private-key="YOUR_PRIVATE_KEY" # deploy the smart contract cast send 0xeE560a20c0215ce431da9E6B2FF3205fd4eD0FB0 "mint(address)" <address> --private-key "YOUR_PRIVATE_KEY" --rpc-url "YOUR_RPC_ENDPOINT" #mint the NFT to the given address
Utilized Stylus SDK with erc721.rs for NFT implementation of the game assets Code : https://github.com/dhananjaypai08/ETHArena/blob/master/stylus-contracts/src/erc721.rs
I have a release for the Unity based game here : https://github.com/dhananjaypai08/ETHArena/releases/tag/mac
- Real-time game movement analysis
- Text-based RAG for structured data outputs
- Automated NFT generation and minting
- Treasury management through smart contracts
- Social engagement through "cheering" system
-
Substream-Powered Subgraph Query URL: https://api.studio.thegraph.com/query/103194/djsubstream/version/latest Real-time entity change monitoring using graph-out method
-
Custom Event-Based Subgraph: Query URL: https://api.studio.thegraph.com/query/103194/etharenasubgraph/version/latest Tracks smart contract events and gameplay metrics
-
Game Movement Monitoring Subgraph(Existing subgraph): Query URL: https://thegraph.com/explorer/subgraphs/Fs8CXT44JRnPrG8ipustHyPwqAg8d3xcgFUW4ogkCb6g Analyzes on-chain game interactions
- Subgraph tracks game movements and on-chain rewards with Gaia Agent at its core
- Integration of multiple data sources for comprehensive analytics with Gaia Agent
- Real-time monitoring system using substream powered subgraph(deployed using github workspace)
- Custom indexing solutions for gaming metrics
- AI-powered chatbot utilizing Graph data through RAG
Our project leverages a custom Gaia node (https://0x0c8923d457934eae1a4ce708f07a980f1ce57a32.gaia.domains/ , node might be stopped) as the core reasoning engine, demonstrating extensive integration capabilities:
- Primary gameplay data on Ethereum
- Reputation system on Arbitrum Sepolia
- Cross-chain reward distribution
- Unity Game Engine integration
- Web client interface
- On-chain analytics dashboard
- Real-time game movement analysis
- Text-based RAG for structured data outputs
- Automated SBT generation and minting
- Treasury management through smart contracts
- Social engagement through "cheering" system
I have a release for the Unity based game here : https://github.com/dhananjaypai08/ETHArena/releases/tag/mac
ETHArena revolutionizes the gaming ecosystem by creating an autonomous agent system that bridges the gap between traditional gaming and blockchain technology. Our implementation directly addresses Nethermind's vision of autonomous agents driving on-chain activity.
I have a release for the Unity based game here : https://github.com/dhananjaypai08/ETHArena/releases/tag/mac
- Seamless integration of AI agents with Unity game engine through our custom SDK
- Account abstraction (ERC2771) for frictionless onboarding of traditional gamers Code : https://github.com/dhananjaypai08/ETHArena/blob/master/ETHArenaSDK/main.py#L218
- Real-time game movement analysis and automated reward distribution
- Novel approach to gaming reputation through AI-generated "gaming dopplegangers"
Future Roadmap and Starknet Integration:
- Implementation of StarknetKit for enhanced wallet connectivity
- Development of smart contracts in Cairo
- Initial testnet release for validation
- Subsequent mainnet deployment
- Integration with Starknet's native agent toolkit
- Immediate applicability to the $200B+ gaming market Clear path to adoption through Unity plugin ecosystem Scalable architecture supporting multiple game engines
- Foundation for future expansion into esports and competitive gaming
We welcome contributions to ETHArena! Here's how you can help:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
