Files
aitbc/apps/blockchain-node
oib 7341808f01 feat: add multi-chain support to blockchain explorer and improve GPU review handling
- Add multi-chain configuration with devnet, testnet, and mainnet RPC URLs
- Add chain selector dropdown in explorer UI for network switching
- Add chain_id parameter to all API endpoints (chain/head, blocks, transactions, search)
- Add /api/chains endpoint to list supported blockchain networks
- Update blockchain explorer port from 3001 to 8016
- Update devnet RPC port from 8080 to 8026
- Add GPU reviews table
2026-03-07 18:44:15 +01:00
..

Blockchain Node

Purpose & Scope

Minimal asset-backed blockchain node that validates compute receipts and mints AIT tokens as described in docs/bootstrap/blockchain_node.md.

Status

Scaffolded. Implementation pending per staged roadmap.

Devnet Tooling

  • scripts/make_genesis.py — Generate a deterministic devnet genesis file (data/devnet/genesis.json).
  • scripts/keygen.py — Produce throwaway devnet keypairs (printed or written to disk).
  • scripts/devnet_up.sh — Launch the blockchain node and RPC API with a freshly generated genesis file.

Quickstart

cd apps/blockchain-node
python scripts/make_genesis.py --force
bash scripts/devnet_up.sh

The script sets PYTHONPATH=src and starts the proposer loop plus the FastAPI app (via uvicorn). Press Ctrl+C to stop the devnet.