Advanced Decentralized Autonomous Organization with Meshtastic MESHNET Integration
The XMRT-DAO-Ecosystem is a cutting-edge implementation of a decentralized autonomous organization that bridges traditional cryptocurrency mining with innovative mesh networking technology. This system combines real-world Monero mining through SupportXMR with Meshtastic mesh networking to create a resilient, decentralized ecosystem.
- ๐ Meshtastic MESHNET Integration: Full integration with Meshtastic mesh networking hardware
- โ๏ธ SupportXMR Mining Integration: Real-time mining statistics and participant tracking
- ๐ Enhanced Leaderboard: Mining leaderboard with mesh connectivity bonuses
- ๐ก Participant Verification: Ping-based verification system via MESHNET
- ๐ Dual Token System: ERC-20 utility token + ERC-721 IP NFT
- ๐ Real-time Monitoring: Live network and mining statistics
- ๐ก๏ธ Decentralized Governance: On-chain voting and proposal system
- XMRT Token (ERC-20):
0x77307DFbc436224d5e6f2048d2b6bDfA66998a15 - XMRT-IP NFT (ERC-721):
0x9d691fc136a846d7442d1321a2d1b6aaef494eda - Mining Wallet:
46UxNFuGM2E3UwmZWWJicaRPoRwqwW4byQkaTHkX8yPcVihp91qAVtSFipWUGJJUyTXgzSqxDQtNLf2bsp2DX2qCCgC5mg
- Max Supply: 20,999,990 XMRT
- IP NFT Supply: 1 unique NFT (represents intellectual property ownership)
- Mining Pool: SupportXMR integration
- Treasury Allocation: 85% treasury, 15% operations
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ XMRT-DAO-ECOSYSTEM โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Flask API Layer โ
โ โโโ Mining API (/api/mining/) โ
โ โโโ MESHNET API (/api/meshnet/) โ
โ โโโ System Status (/api/status) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Service Layer โ
โ โโโ MiningService (SupportXMR Integration) โ
โ โโโ MESHNETService (Meshtastic Integration) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ External Integrations โ
โ โโโ SupportXMR API โ
โ โโโ Meshtastic Hardware โ
โ โโโ Ethereum Network (Sepolia) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
- Python 3.8+
- Git
- Optional: Meshtastic hardware (HELTEC, TBEAM, etc.)
- Clone the repository
git clone https://github.com/DevGruGold/XMRT-DAO-Ecosystem.git
cd XMRT-DAO-Ecosystem- Install dependencies
pip install -r requirements.txt- Set environment variables
export MESH_PORT="simulate" # Use "simulate" for testing, "/dev/ttyUSB0" for hardware
export MESH_UPDATE_INTERVAL="30"
export FLASK_ENV="development"
export PORT="5000"- Run the application
python app.py- HELTEC WiFi LoRa 32 V3
- LILYGO T-Beam
- HELTEC WiFi LoRa 32 V2
- RAK WisBlock
For testing without hardware:
# Automatically creates simulated mesh nodes
meshnet_service = MESHNETService({'mesh_port': 'simulate'})For real Meshtastic devices:
# Connect to actual hardware
meshnet_service = MESHNETService({'mesh_port': '/dev/ttyUSB0'})- Real-time SupportXMR pool statistics
- Mesh-connected miner verification
- 10% efficiency bonus for mesh connectivity
- Automatic participant ping verification
GET /api/mining/stats # Current mining statistics
GET /api/mining/leaderboard # Enhanced leaderboard with mesh statusGET /api/meshnet/status # Network status and health metrics
GET /api/meshnet/leaderboard # Mining leaderboard with connectivity scores
GET /api/meshnet/nodes # All discovered mesh nodes
GET /api/meshnet/mining/stats # Combined mining and mesh statistics
POST /api/meshnet/verify/<wallet> # Verify participant connectivity
POST /api/meshnet/initialize # Initialize/reinitialize MESHNET
GET /api/meshnet/health # MESHNET service health checkGET / # System overview and information
GET /health # Comprehensive health check
GET /api/status # Complete system statusThe enhanced leaderboard combines traditional mining metrics with mesh connectivity:
{
"rank": 1,
"wallet_address": "worker_001",
"hash_rate": 150.0,
"xmr_earned": 0.00124,
"mesh_connected": true,
"mesh_node_id": "mesh_001",
"connectivity_score": 95,
"efficiency_bonus": 1.1,
"mesh_node_info": {
"short_name": "ALPHA",
"hardware_model": "HELTEC_V3",
"signal_strength": -85,
"snr": 12.5,
"position": {"lat": 10.0, "lon": -84.0}
}
}# MESHNET Configuration
MESH_PORT="simulate" # "simulate" or hardware port like "/dev/ttyUSB0"
MESH_UPDATE_INTERVAL="30" # Update interval in seconds
# Flask Configuration
FLASK_ENV="development" # "development" or "production"
PORT="5000" # Server port
SECRET_KEY="your-secret-key" # Flask secret key
# Optional: Override default contract addresses
XMRT_TOKEN_ADDRESS="0x77307DFbc436224d5e6f2048d2b6bDfA66998a15"
XMRT_IP_NFT_ADDRESS="0x9d691fc136a846d7442d1321a2d1b6aaef494eda"# Build Command
pip install -r requirements.txt
# Start Command
gunicorn --bind 0.0.0.0:$PORT app:app
# Environment Variables
MESH_PORT=simulate
MESH_UPDATE_INTERVAL=30python app.pygunicorn --workers 4 --bind 0.0.0.0:5000 app:app- Total Nodes: Number of discovered mesh nodes
- Active Nodes: Nodes active within last 5 minutes
- Mining Nodes: Nodes participating in mining
- Mesh Connectivity Rate: Percentage of miners connected to mesh
- Network Health: Overall network status (Excellent/Good/Fair)
- Total Hash Rate: Combined hash rate from all participants
- Mesh Hash Rate: Hash rate from mesh-connected miners
- Efficiency Bonus: 10% bonus for mesh connectivity
- XMR Earnings: Real-time earnings from SupportXMR
- Hardware Security: Mesh networks operate independently of internet
- Decentralized Verification: Participant verification through mesh pings
- Privacy Protection: No personal data stored, only wallet addresses
- Secure Communications: Meshtastic encryption for mesh communications
We welcome contributions! Please see our contributing guidelines:
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
- API Documentation - Complete API reference
- MESHNET Guide - Meshtastic integration guide
- Mining Integration - SupportXMR setup and configuration
- Deployment Guide - Production deployment instructions
- SupportXMR mining integration
- Basic Flask API
- MESHNET service implementation
- Enhanced leaderboard system
- Real-time WebSocket updates
- Advanced mesh routing
- Mobile application
- Cross-chain bridge integration
- Mainnet deployment (Polygon/Starknet)
- Advanced governance features
- AI-powered network optimization
- Global mesh network expansion
This project is licensed under the MIT License - see the LICENSE file for details.
- Meshtastic Project - For the amazing mesh networking platform
- SupportXMR - For reliable Monero mining pool services
- Ethereum Community - For the robust blockchain infrastructure
- Flask Community - For the excellent web framework
- GitHub Issues: Create an issue
- Documentation: Check the
/docsdirectory - Community: Join our mesh network discussions
Built with โค๏ธ by the XMRT-DAO community
Bridging traditional mining with next-generation mesh networking technology
This version includes significant performance improvements:
- 99% reduction in mesh verification latency (2-5s โ <10ms)
- 99% reduction in mining API calls (cached updates)
- Background health checks for non-blocking operations
- Redis event bus for cross-service coordination
# Option 1: Use Upstash (serverless, production-ready)
# Sign up at https://upstash.com and add credentials to .env
# Option 2: Local Redis for development
docker-compose up -d redis
# Run the application
python app.pyBefore:
Request โ Flask โ (wait 2-5s) โ Meshtastic โ Response
After:
Request โ Flask โ (cached <10ms) โ Response
Background: Health checks every 30s
# Upstash Redis (production)
UPSTASH_REDIS_URL=https://your-redis.upstash.io
UPSTASH_REDIS_TOKEN=your-token
# Or local Redis (development)
REDIS_HOST=localhost
REDIS_PORT=6379