- Add Prometheus metrics for marketplace API throughput and error rates with new dashboard panels - Implement confidential transaction models with encryption support and access control - Add key management system with registration, rotation, and audit logging - Create services and registry routers for service discovery and management - Integrate ZK proof generation for privacy-preserving receipts - Add metrics instru
Miner Node
Purpose & Scope
Worker daemon responsible for executing compute jobs on CPU/GPU hardware, reporting telemetry, and submitting proofs back to the coordinator. See docs/bootstrap/miner_node.md for the detailed implementation roadmap.
Development Setup
- Create a Python virtual environment under
apps/miner-node/.venv. - Install dependencies (FastAPI optional for health endpoint,
httpx,pydantic,psutil). - Implement the package structure described in the bootstrap guide.
Production Deployment (systemd)
- Copy the project to
/opt/aitbc/apps/miner-node/on the target host. - Create a virtual environment and install dependencies as needed.
- Populate
.envwith coordinator URL/API token settings. - Run the installer script from repo root:
This installssudo scripts/ops/install_miner_systemd.shconfigs/systemd/aitbc-miner.service, reloads systemd, and enables the service. - Check status/logs:
sudo systemctl status aitbc-miner journalctl -u aitbc-miner -f