Skip to content

Full-stack XMRT-Ecosystem DAO prototype with Eliza AI integration, demonstrating decentralized governance and AI-powered functionalities.

License

Notifications You must be signed in to change notification settings

DevGruGold/XMRT-Ecosystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

🚀 XMRT Ecosystem

XMRT Ecosystem Stars Forks Issues License

Full-stack decentralized autonomous organization (DAO) with AI-powered agents and blockchain integration

FeaturesGetting StartedDocumentationContributing


📖 About

XMRT Ecosystem is a comprehensive DAO platform that combines AI-driven automation, multi-agent coordination, and blockchain technology to create a self-governing, intelligent ecosystem. Built with ElizaOS for autonomous operations and Ethereum smart contracts for decentralized governance.

🎯 Key Highlights

  • 🤖 AI-Powered Agents: 93+ scheduled automations handling community engagement, analytics, security, and governance
  • 🔄 Multi-Agent Coordination: Sophisticated agent orchestration with memory, learning, and task management
  • Real-time Analytics: Comprehensive monitoring and reporting systems
  • 🔐 Blockchain Integration: Smart contracts deployed on Ethereum Sepolia testnet
  • 🌐 Full-Stack Platform: Modern web dashboard with Next.js + React + Supabase
  • 🛡️ Security First: Automated security scans, code analysis, and threat detection

✨ Features

🧠 ElizaOS Integration

  • Autonomous reward tracking and distribution
  • Context-aware decision making
  • Self-learning and adaptive behavior
  • Character-based AI personalities

🤝 Community Automation

  • GitHub Triage: Automatic issue labeling and prioritization
  • PR Review: AI-powered code review and feedback
  • Discussion Management: Automated community engagement
  • Security Scanning: Malicious content detection and removal

📊 Analytics & Monitoring

  • Real-time metrics collection and visualization
  • GitHub activity tracking and insights
  • System health monitoring
  • Performance analytics dashboard

🏛️ DAO Governance

  • Proposal creation and voting system
  • Token-based governance mechanisms
  • Transparent decision-making process
  • Smart contract integration

🔧 Edge Functions

  • 143 deployed Supabase Edge Functions
  • Task orchestration and automation
  • System status monitoring
  • API integrations

🎨 Unified Dashboard

  • Reward claims interface
  • Wallet integration (CashDapp)
  • Analytics visualization
  • Agent activity monitoring

🛠️ Technology Stack

Frontend

  • Framework: Next.js 14 with App Router
  • UI Library: React 18
  • Styling: TailwindCSS
  • State Management: React Hooks + Context API

Backend

  • Runtime: Node.js 20+, Python 3.11+
  • Database: Supabase (PostgreSQL)
  • Edge Functions: Supabase Functions
  • APIs: REST + GraphQL

AI & Automation

  • AI Engine: ElizaOS
  • LLM Integration: OpenAI GPT-4
  • Agent Framework: Custom multi-agent system
  • Scheduling: Cron-based automation (93 scheduled functions)

Blockchain

  • Network: Ethereum Sepolia Testnet
  • Smart Contracts:
    • XMRT Token: 0x77307DFbc436224d5e6f2048d2b6bDfA66998a15
    • IP-NFT: 0x9de91fc136a846d7442d1321a2d1b6aaef494eda
  • Framework: Hardhat

DevOps & Infrastructure

  • CI/CD: GitHub Actions (26 workflows)
  • Containerization: Docker + Docker Compose
  • Deployment: Vercel (frontend), Supabase (backend)
  • Monitoring: Custom health checks + logging

🚀 Getting Started

Prerequisites

  • Node.js 20+ and npm/pnpm
  • Python 3.11+
  • Docker (optional, for containerized development)
  • Git
  • Supabase CLI (for local development)

Installation

  1. Clone the repository

    git clone https://github.com/DevGruGold/XMRT-Ecosystem.git
    cd XMRT-Ecosystem
  2. Install dependencies

    # Node.js dependencies
    npm install
    
    # Python dependencies
    pip install -r requirements.txt
  3. Environment Setup

    # Copy example environment files
    cp .env.example .env
    cp .env.auth.example .env.auth
    
    # Edit .env with your configuration
    # Required variables:
    # - SUPABASE_URL
    # - SUPABASE_KEY
    # - GITHUB_TOKEN
    # - OPENAI_API_KEY
  4. Database Setup

    # Initialize Supabase locally (optional)
    supabase init
    supabase start
    
    # Run migrations
    supabase db push
  5. Run Development Server

    # Start frontend
    npm run dev
    
    # Start backend (in another terminal)
    python enhanced_main.py
  6. Access the Application

Quick Start with Docker

# Build and run all services
docker-compose up -d

# View logs
docker-compose logs -f

# Stop services
docker-compose down

📁 Project Structure

XMRT-Ecosystem/
├── .github/
│   └── workflows/          # GitHub Actions (26 automated workflows)
├── agents/                 # AI agent definitions and configurations
├── api/                    # API endpoints and routes
├── app/                    # Next.js application (frontend)
├── supabase/
│   ├── functions/          # Edge Functions (143 deployed)
│   └── migrations/         # Database migrations
├── contracts/              # Smart contracts (Solidity)
├── scripts/                # Utility and deployment scripts
├── monitoring/             # Health checks and logging
├── docs/                   # Additional documentation
├── config/                 # Configuration files
├── enhanced_main.py        # Main backend application
├── package.json            # Node.js dependencies
├── requirements.txt        # Python dependencies
└── README.md               # This file

Key Files

  • enhanced_main.py: Main backend server with multi-agent coordination
  • enhanced_autonomous_controller.py: Agent orchestration and task management
  • analytics_system.py: Real-time metrics collection and analysis
  • github_manager.py: GitHub API integration and automation
  • agents_config.py: Agent personalities and behaviors

🏗️ Architecture

System Components

┌─────────────────────────────────────────────────────────────┐
│                        Frontend (Next.js)                   │
│  ┌──────────────┐  ┌──────────────┐  ┌─────────────────┐  │
│  │  Dashboard   │  │    Wallet    │  │   Analytics     │  │
│  └──────────────┘  └──────────────┘  └─────────────────┘  │
└────────────────────────┬────────────────────────────────────┘
                        │ REST/GraphQL API
┌────────────────────────┴────────────────────────────────────┐
│                   Backend (Python/Node.js)                  │
│  ┌──────────────────────────────────────────────────────┐  │
│  │         Multi-Agent Coordinator (ElizaOS)            │  │
│  │  ┌──────────┐  ┌──────────┐  ┌───────────────────┐  │  │
│  │  │Analytics │  │Community │  │  Governance Agent │  │  │
│  │  │  Agent   │  │  Agent   │  │                   │  │  │
│  │  └──────────┘  └──────────┘  └───────────────────┘  │  │
│  └──────────────────────────────────────────────────────┘  │
└────────────────────────┬────────────────────────────────────┘
                        │
        ┌───────────────┼───────────────┐
        │               │               │
┌───────┴──────┐ ┌──────┴──────┐ ┌─────┴──────┐
│   Supabase   │ │   GitHub    │ │ Blockchain │
│  (Database)  │ │     API     │ │  (Sepolia) │
└──────────────┘ └─────────────┘ └────────────┘

Agent Workflow

  1. Scheduler triggers scheduled functions
  2. Coordinator dispatches tasks to appropriate agents
  3. Agents execute tasks with context and memory
  4. Learning System analyzes outcomes and improves
  5. Analytics collects metrics and generates insights
  6. Frontend displays results in real-time

📚 Documentation

Additional Resources


🧪 Development

Running Tests

# Run all tests
npm test

# Run Python tests
pytest

# Run specific test suite
npm test -- agents

Code Quality

# Lint code
npm run lint
pylint **/*.py

# Format code
npm run format
black .

# Type checking
npm run type-check
mypy .

Building for Production

# Build frontend
npm run build

# Build Docker image
docker build -t xmrt-ecosystem .

🚢 Deployment

Supabase Edge Functions

# Deploy all functions
supabase functions deploy

# Deploy specific function
supabase functions deploy function-name

Vercel (Frontend)

# Deploy to production
vercel --prod

# Or push to main branch for automatic deployment

Smart Contracts

# Deploy to testnet
cd contracts
npx hardhat run scripts/deploy.js --network sepolia

🤝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

Quick Contribution Guide

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Code Standards

  • Follow existing code style
  • Add tests for new features
  • Update documentation
  • Ensure CI passes

📊 Project Stats

  • Total Functions: 143 deployed edge functions
  • Scheduled Automations: 93 active scheduled functions
  • GitHub Workflows: 26 automated workflows
  • Smart Contracts: 2 deployed on Sepolia
  • Agent Personalities: Multiple AI characters
  • Automation Coverage: 65% of operations automated

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.


📞 Contact & Community


🙏 Acknowledgments

  • ElizaOS: AI agent framework
  • Supabase: Backend infrastructure
  • OpenAI: LLM capabilities
  • Ethereum: Blockchain infrastructure
  • Community Contributors: Thank you!

Made with ❤️ by the XMRT Community

⬆ Back to Top

About

Full-stack XMRT-Ecosystem DAO prototype with Eliza AI integration, demonstrating decentralized governance and AI-powered functionalities.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •