Empowering Hyro & Prop Traders with Real-Time Analytics, Profit Calculation, and On-Chain Identity Tools
HyroX Analytics is a comprehensive, decentralized analytics platform designed specifically for Hyro Protocol traders and prop trading firms. Built on Solana blockchain, it provides traders with powerful tools to track performance, calculate profit splits, and establish on-chain trading identitiesโall while maintaining transparency and decentralization.
- ๐ Non-Custodial: Your data, your controlโpowered by Solana's decentralized infrastructure
- ๐ Real-Time Analytics: Track your trading performance with advanced metrics and visualizations
- ๐ฐ Profit Calculator: Instantly calculate payouts and scaling eligibility
- ๐ซ On-Chain Identity: Mint NFT badges that represent your trading achievements
- โก Lightning Fast: Built on Solana for speed and low transaction costs
- ๐ Transparent: All trading data verifiable on-chain
To democratize access to trading capital and analytics by providing a transparent, decentralized infrastructure that empowers traders, investors, and liquidity providers in the Hyro Protocol ecosystem.
- ๐ Wallet-based login (Phantom Wallet integration)
- ๐ง Optional email authentication
- ๐ค Trader profile creation and management
- ๐ Exchange API connection (Bybit, Binance) for future auto-sync
- ๐ Manual trade entry (date, pair, size, entry, exit, P/L)
- ๐ค CSV import/export functionality
- ๐ Auto-calculated metrics:
- Win rate percentage
- Risk-reward ratio (RR)
- Maximum daily drawdown
- Average profit/loss per trade
- Best and worst trading days
- Profit factor
- Sharpe ratio
- ๐ Interactive charts and dashboards
- ๐ Advanced filtering (date range, asset, strategy)
- ๐ต Input parameters:
- Total profit made
- Account size
- Profit share percentage
- Current scaling stage
- ๐ Output results:
- Exact payout amount after fees
- Next scaling level eligibility
- Projected earnings at next stage
- Tax breakdown (if applicable)
- ๐ Downloadable payout reports (PDF)
- ๐ Summary statistics at a glance
- ๐ Last 10 trades overview
- ๐ฏ Current status (Challenge โ Funded โ Scaling)
- โฑ๏ธ Payout countdown timer
- ๐ Performance trends visualization
- ๐จ Customizable widgets
- ๐ซ Mint "Trader NFT Badge" tied to Solana wallet
- ๐ Stores verified trading stats:
- Win rate
- Total profit
- Account tier
- Trading history hash
- ๐ Use for rankings, rewards, and access control
- ๐ Transferable and tradeable on secondary markets
โ ๏ธ Real-time risk limit tracking:- Daily maximum loss
- Maximum position size
- Leverage limits
- Trading hour restrictions
- ๐ Multi-channel alerts:
- In-app notifications
- Email alerts
- Telegram bot integration
- ๐ Risk score calculation
- ๐ Connect Bybit/Binance API for automatic trade import
- ๐ Secure API key management
- โก Real-time trade synchronization
- ๐ Historical data backfill
- ๐ฅ Traders share strategies publicly with NFT badge verification
- ๐ Followers mirror trades with customizable risk controls
- ๐ฐ Performance-based fee structure
- ๐ Strategy performance leaderboard
- ๐ผ Investors stake USDC into trader vaults
- ๐ค Smart contracts auto-distribute profits
- ๐ Portfolio performance tracking
- ๐ Trader discovery and filtering
- Framework: Next.js 14 (App Router)
- Styling: Tailwind CSS + ShadCN UI
- Charts: Recharts / Chart.js
- State Management: Zustand / TanStack Query
- API: FastAPI / NestJS
- Database: Supabase (PostgreSQL) / MongoDB
- Authentication: Supabase Auth / Clerk
- Chain: Solana
- Framework: Anchor
- Wallet: Phantom Wallet SDK
- RPC: Helius / QuickNode
- Notifications: Firebase Cloud Messaging / OneSignal
- Deployment: Vercel (Frontend) / Railway (Backend)
- CI/CD: GitHub Actions
- Monitoring: Sentry
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Frontend Layer โ
โ Next.js + Tailwind + ShadCN UI + Recharts โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ API Gateway Layer โ
โ FastAPI / NestJS REST API โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโ
โ โ
โโโโโโโโโผโโโโโโโโโ โโโโโโโโโโโผโโโโโโโโโโโ
โ Database โ โ Solana Chain โ
โ Supabase / โ โ Anchor Programs โ
โ MongoDB โ โ NFT Minting โ
โโโโโโโโโโโโโโโโโโ โ Smart Contracts โ
โโโโโโโโโโโโโโโโโโโโโโ
-
Frontend Application (Next.js)
- Dashboard, Trading Journal, Calculator, Profile
- Wallet connection and transaction signing
- Real-time data visualization
-
Backend API (FastAPI/NestJS)
- Trade data CRUD operations
- Analytics calculation engine
- User authentication and authorization
- Exchange API integration
-
Solana Programs (Anchor)
- Trader NFT Badge minting
- On-chain identity verification
- Future: Profit distribution contracts
-
Database (Supabase/MongoDB)
- User profiles and settings
- Trade history
- Analytics cache
- API keys (encrypted)
- Node.js 18+ and npm/yarn/pnpm
- Rust 1.70+ (for Solana/Anchor development)
- Solana CLI 1.16+
- Anchor 0.28+
- Phantom Wallet browser extension
-
Clone the repository
git clone https://github.com/yourusername/hyro-protocol.git cd hyro-protocol -
Install dependencies
# Frontend cd frontend npm install # Backend cd ../backend pip install -r requirements.txt # or npm install for NestJS
-
Set up environment variables
# Frontend (.env.local) NEXT_PUBLIC_SOLANA_NETWORK=devnet NEXT_PUBLIC_RPC_URL=https://api.devnet.solana.com NEXT_PUBLIC_PROGRAM_ID=your_program_id NEXT_PUBLIC_SUPABASE_URL=your_supabase_url NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_key # Backend (.env) DATABASE_URL=your_database_url JWT_SECRET=your_jwt_secret SOLANA_RPC_URL=your_rpc_url
-
Set up Solana program
cd programs/hyro-analytics anchor build anchor deploy -
Run development servers
# Frontend (Terminal 1) cd frontend npm run dev # Backend (Terminal 2) cd backend npm run dev # or uvicorn main:app --reload for FastAPI
-
Open your browser
http://localhost:3000
- Connect your Phantom wallet (devnet)
- Create a trader profile
- Add some sample trades
- Explore the analytics dashboard
- Test the profit calculator
- Project setup and architecture
- User authentication (Wallet + Email)
- Trading journal (manual entry)
- Basic analytics calculation
- Profit split calculator
- Dashboard UI
- Solana program development (Anchor)
- Trader NFT Badge minting
- Risk compliance monitor
- Auto trade sync (API integration)
- Advanced analytics and charts
- Copy-trading module
- Investor dashboard
- Smart contract profit distribution
- Mobile app (React Native)
- Public API for third-party integrations
| Role | Description | Permissions |
|---|---|---|
| Trader | Primary user - logs trades, views analytics, calculates payouts | Full access to personal dashboard |
| Investor | Allocates capital to traders (Phase 3) | View trader performance, stake funds |
| Admin | Manages platform settings and compliance | Full system access |
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Follow the existing code style
- Write meaningful commit messages
- Add tests for new features
- Update documentation as needed
- Ensure all checks pass before submitting PR
- Hyro Protocol: Official Website
- Solana Docs: docs.solana.com
- Anchor Framework: anchor-lang.com
- Phantom Wallet: phantom.app
Built with โค๏ธ for the Hyro Protocol community
โญ Star this repo if you find it helpful!