Monitor 200+ nodes across 10+ countries with real-time metrics, storage analytics, and network health insights.
pNode Pulse is a comprehensive analytics platform for monitoring Xandeum's decentralized storage network. Track node performance, storage capacity, network health, and growth trends in real-time.
Built for the Superteam Bounty: Build Analytics Platform for Xandeum pNodes
|
|
|
|
- Node.js 20+
- Docker & Docker Compose
# 1. Clone and setup
git clone https://github.com/RECTOR-LABS/pnode-pulse.git
cd pnode-pulse
cp .env.example .env
# 2. Start services
docker compose up -d postgres redis
npm install
npx prisma migrate deploy
# 3. Run
npm run devOpen http://localhost:3000 to view the dashboard.
|
Next.js 14 |
TypeScript |
Tailwind |
PostgreSQL |
Redis |
Docker |
Additional: tRPC · TimescaleDB · Prisma · Recharts · React Query
┌─────────────────────────────────────────────────────────────┐
│ pNode Pulse │
├─────────────────────────────────────────────────────────────┤
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────────────┐ │
│ │ Next.js │ │ Collector │ │ TimescaleDB │ │
│ │ Dashboard │◄─┤ Worker │─►│ (Time-series DB) │ │
│ └──────┬──────┘ └──────┬──────┘ └─────────────────────┘ │
│ │ │ │
│ └───────────────►│◄──── Redis (Cache) ────────────► │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ Xandeum pNode Network │
├─────────────────────────────────────────────────────────────┤
│ pNode 1 pNode 2 pNode 3 pNode N │
│ :6000 :6000 :6000 :6000 │
│ └─────────── Gossip Network (:9001) ────────────┘ │
└─────────────────────────────────────────────────────────────┘
pNode Pulse exposes a public REST API for integration:
| Endpoint | Description |
|---|---|
GET /api/v1/nodes |
List all nodes with current metrics |
GET /api/v1/nodes/:id |
Get specific node details |
GET /api/v1/network/stats |
Network-wide statistics |
GET /api/v1/leaderboard |
Node rankings by various metrics |
GET /api/health |
Health check endpoint |
| Document | Description |
|---|---|
| User Guide | How to use each feature |
| Deployment Guide | Self-hosting instructions |
| API Reference | REST API documentation |
| Operations Runbook | Production operations guide |
| pRPC Reference | Xandeum pRPC documentation |
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Xandeum Network - The decentralized storage network
- Superteam - For hosting the bounty
- Solana - The underlying blockchain