Files
aitbc/docs/6_architecture/2_components-overview.md
oib 06e48ef34b chore: standardize configuration, logging, and error handling across blockchain node and coordinator API
- Add infrastructure.md and workflow files to .gitignore to prevent sensitive info leaks
- Change blockchain node mempool backend default from memory to database for persistence
- Refactor blockchain node logger with StructuredLogFormatter and AuditLogger (consistent with coordinator)
- Add structured logging fields: service, module, function, line number
- Unify coordinator config with Database
2026-02-13 22:39:43 +01:00

4.5 KiB

AITBC System Components

Overview of all components in the AITBC platform, their status, and documentation links.

Core Components

Blockchain Node

● Live

PoA/PoS consensus with REST/WebSocket RPC, real-time gossip layer, and comprehensive observability. Production-ready with devnet tooling.

Learn More →

Coordinator API

● Live

FastAPI service for job submission, miner registration, and receipt management. SQLite persistence with comprehensive endpoints.

Learn More →

Marketplace Web

● Live

Vite/TypeScript marketplace with offer/bid functionality, stats dashboard, and mock/live data toggle. Production UI ready.

Learn More →

Explorer Web

● Live

Full-featured blockchain explorer with blocks, transactions, addresses, and receipts tracking. Responsive design with live data.

Learn More →

Wallet Daemon

● Live

Encrypted keystore with Argon2id + XChaCha20-Poly1305, REST/JSON-RPC APIs, and receipt verification capabilities.

Learn More →

Trade Exchange

● Live

Bitcoin-to-AITBC exchange with QR payments, user management, and real-time trading. Buy tokens with BTC instantly.

Learn More →

Pool Hub

● Live

Miner registry with scoring engine, Redis/PostgreSQL backing, and comprehensive metrics. Live matching API deployed.

Learn More →

Architecture Overview

The AITBC platform consists of 7 core components working together to provide a complete AI blockchain computing solution:

Infrastructure Layer

  • Blockchain Node - Distributed ledger with PoA/PoS consensus
  • Coordinator API - Job orchestration and management
  • Wallet Daemon - Secure wallet management

Application Layer

  • Marketplace Web - GPU compute marketplace
  • Trade Exchange - Token trading platform
  • Explorer Web - Blockchain explorer
  • Pool Hub - Miner coordination service

CLI & Tooling

  • AITBC CLI - 12 command groups, 90+ subcommands (165/165 tests passing)
    • Client, miner, wallet, auth, blockchain, marketplace, admin, config, monitor, simulate, governance, plugin
    • 141 unit tests + 24 integration tests (CLI → live coordinator)
    • CI/CD via GitHub Actions, man page, shell completion

Component Interactions

┌─────────────┐     ┌──────────────┐     ┌─────────────┐
│   Clients   │────▶│ Coordinator  │────▶│ Blockchain  │
│             │     │     API      │     │    Node     │
└─────────────┘     └──────────────┘     └─────────────┘
       │                     │                     │
       ▼                     ▼                     ▼
┌─────────────┐     ┌──────────────┐     ┌─────────────┐
│   Wallet    │     │   Pool Hub   │     │   Miners    │
│   Daemon    │     │              │     │             │
└─────────────┘     └──────────────┘     └─────────────┘

Trade Exchange Marketplace Explorer API Docs

Status Legend

  • ● Live - Production ready and deployed
  • ● Beta - In testing, limited availability
  • ● Development - Under active development

Deployment Information

All components are containerized and can be deployed using Docker Compose:

# Deploy all components
docker-compose up -d

# Check status
docker-compose ps

# View logs
docker-compose logs -f

Support

For component-specific issues: