How ryofficial87-ai/bossxv6 works
BossX is a validator masternode application with account access, node and reward management, wallet and peer transfers, trading, news, and an AI agent. The user workflow enters through the app, authenticates and loads a Firestore-backed session, then operates the masternode and ecosystem features through the dashboard and navigation. The server exposes market, news-feed, and agent APIs. The README gives only minimal product detail, so feature scope also follows the navigation definitions; edges are limited to relationships visible in excerpts, the source index, or README.
Main entry points: App.tsx App shell · apiApp.ts API routes · marketService.ts Market data · notifStorage.ts Notification state
Components 26
Application shell
- App shell
src/App.tsx - Authentication
src/components/AuthView.tsx - Session data
src/hooks/useFirestoreSession.ts - Firebase
src/firebase.ts - Navigation
src/types/navigation.ts
Validator operations
- Dashboard
src/components/DashboardView.tsx - Node controls
src/hooks/useMasternodeEngine.ts - Reward engine
src/utils/masternodeEngine.ts - Access keys
src/components/AccessKeyView.tsx - Deposits
src/components/DepositView.tsx - Withdrawals
src/components/WithdrawalView.tsx - Peer transfers
src/components/PeerToPeerView.tsx - Referrals
src/components/ReferralView.tsx - Notifications
src/components/NotificationBell.tsx - Notification state
src/utils/notifStorage.ts
Market and news
- Internal market
src/components/InternalMarketView.tsx - Trading chart
src/components/BinanceProChart.tsx - News and community
src/components/BossXSquareView.tsx - News feed hook
src/hooks/useSquareNewsFeed.ts
API services
- API routes
server/apiApp.ts - Market data
server/services/marketService.ts - Square feed service
server/services/squareFeedService.ts - AI agent service
server/services/agentService.ts
Other components
- Validator
- Binance
- CoinGecko
Connections 28
- Validator → App shell: opens
- App shell → Authentication: renders
src/App.tsx - App shell → Session data: loads session
src/App.tsx - Session data → Firebase: reads and writes
src/hooks/useFirestoreSession.ts - Authentication → Firebase: authenticates
src/components/AuthView.tsx - App shell → Navigation: selects views
src/App.tsx - App shell → Dashboard: renders
src/App.tsx - App shell → Node controls: uses controls
src/App.tsx - Node controls → Reward engine: calls calculations
src/hooks/useMasternodeEngine.ts - App shell → Access keys: routes to
src/App.tsx - App shell → Notifications: renders
src/App.tsx - App shell → Notification state: builds notifications
src/App.tsx - Notification state → Reward engine: formats timestamps
src/utils/notifStorage.ts - App shell → Internal market: routes to
src/App.tsx - Internal market → Trading chart: renders
src/components/InternalMarketView.tsx - App shell → News and community: routes to
src/App.tsx - App shell → News feed hook: loads feed
src/App.tsx - News feed hook → Notification state: uses preferences
src/hooks/useSquareNewsFeed.ts - App shell → API routes: requests APIs
- API routes → Market data: calls market data
server/apiApp.ts - API routes → Square feed service: calls feed service
server/apiApp.ts - API routes → AI agent service: calls agent
server/apiApp.ts - Market data → Binance: fetches prices
server/services/marketService.ts - Market data → CoinGecko: fetches prices
server/services/marketService.ts - App shell → Deposits: routes to
src/App.tsx - App shell → Withdrawals: routes to
src/App.tsx - App shell → Peer transfers: routes to
src/App.tsx - App shell → Referrals: routes to
src/App.tsx