Maxx45654/ricci-reserve-protocol
0
AxiomTestnet - Ricci Flow Consensus Engine
Real-time oracle monitoring with geometric consensus using Ricci Flow curvature.
Features
- ๐ Real-time Metrics - Lyapunov exponent, Coherence, Total Energy
- ๐ Live Price Feeds - CoinGecko/Binance integration
- ๐จ Interactive Dashboard - Recharts with smooth animations
- ๐ Blockchain Integration - Sepolia testnet support
- ๐จ Alert System - Native, email, and Telegram notifications
- ๐ค Multi-Agent Consensus - 9 agents on 3x3 lattice with Fisher metrics
Architecture
Single Docker Container
โโโ Node.js Dashboard (port 7860)
โ โโโ Express server
โ โโโ Socket.io WebSocket
โ โโโ React frontend (Recharts)
โ โโโ Alert services
โโโ Python Engine (subprocess)
โ โโโ Ricci Flow engine
โ โโโ Multi-agent consensus
โ โโโ Live price feeds
โ โโโ Metrics calculation
โโโ Persistent Storage
โโโ Metrics accumulationEnvironment Variables
Required environment variables (set in HuggingFace Secrets):
# Dashboard
NODE_ENV=production
PORT=7860
USE_ENGINE_WORKER=true
# Price Feed
PRICE_FEED_COIN=ethereum
USE_LIVE_PRICES=true
# Blockchain (Sepolia)
SEPOLIA_RPC_URL=https://sepolia.infura.io/v3/YOUR_KEY
SEPOLIA_PRIVATE_KEY=0x...
ORACLE_REGISTRY_ADDRESS=0x...
# Alerts
TELEGRAM_BOT_TOKEN=your_token
TELEGRAM_CHAT_ID=your_chat_id
GMAIL_USER=your_email@gmail.com
GMAIL_PASSWORD=your_app_passwordDeployment
Deployed on HuggingFace Spaces with Docker runtime.
Local Testing
docker build -f Dockerfile.huggingface -t axiom-test .
docker run -p 7860:7860 --env-file .env axiom-testVisit: http://localhost:7860
Documentation
HUGGINGFACE_DEPLOYMENT_GUIDE.md- Setup instructionsHUGGINGFACE_DEPLOYMENT_CHECKLIST.md- Verification stepsDEPLOYMENT_SUMMARY.md- Complete overview
Support
- HuggingFace Docs: https://huggingface.co/docs/hub/spaces
- Docker Spaces: https://huggingface.co/docs/hub/spaces-docker
