Files
aitbc/apps/blockchain-node
oib cdaf1122c3 ```
chore: update genesis timestamp, fix import paths, clean compiled JS files, and adjust mock path

- Update devnet genesis timestamp to 1766400877
- Add Receipt model for zk-proof generation with receiptId, miner, coordinator fields
- Fix import paths from settings to config across service modules (access_control, audit_logging, encryption, hsm_key_manager, key_management, zk_proofs)
- Remove compiled JavaScript files from explorer-web components and lib directories
- Update mock data base path
2025-12-22 15:51:19 +01:00
..
```
2025-12-22 15:51:19 +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.