Alpha · Multi-validator consensus not yet live · Patent Pending

4/4 node endpoints reachable · SIMULATED in staging (no real node contacted)
DEMOProtocol status: record-level verification. Cryptographic consensus checks (BFT rounds, BLS signature validation, anti-replay) are simulated — awaiting validator engine.

System Architecture

Full stack diagram — what exists, what's needed, and how everything connects.

Full Stack Layers

User Browser

React / TypeScript
  • · Base44 React App (this dashboard)
  • · Tailwind CSS + shadcn/ui
  • · Three.js visualizations
  • · Real-time WebSocket feeds

✓ Built & deployed on Base44

Base44 Backend

Deno / TypeScript
  • · API proxy → HCP node REST endpoints
  • · Auth & session management
  • · Webhook delivery layer
  • · Analytics event ingestion

✓ Available — needs backend functions (Builder+ plan)

HCP Node REST API

Rust / Axum
  • · POST /v1/settle — main settlement endpoint
  • · GET /health — node liveness probe
  • · GET /dag/depth — H-DAG chain height
  • · GET /consensus — BFT round status

⚠ Needs implementation: axum REST wrapper around hcp-core crate

HCP Core Engine

Rust
  • · MCF computation — Mandelbrot coordinate mapping
  • · HTIV generation — transaction fingerprinting
  • · Deterministic FP — cross-arch IEEE 754 validation
  • · Collision detection — temporal uniqueness proofs

⚠ Needs: deterministic FP tests, ARM/x86 validation suite

JSVL BFT Consensus

Rust / tokio
  • · Prepare → Promise → Accept → Commit (PBFT-variant)
  • · BLS12-381 threshold signatures (blst crate)
  • · Leader election & view change protocol
  • · Safety: n ≥ 3f + 1 validator nodes

🔴 Needs implementation: core protocol work

H-DAG Storage

RocksDB
  • · Holographic DAG — vertex per settlement
  • · Merkle root per BFT round
  • · Audit trail — immutable append-only log
  • · Snapshot & compaction for archival nodes

🔴 Needs implementation: DAG schema + RocksDB integration

P2P Network Layer

libp2p
  • · Peer discovery — mDNS + DHT bootstrap
  • · Gossip protocol — settlement propagation
  • · Noise protocol — encrypted transport
  • · Testnet: 4 VPS nodes minimum

🔴 Needs implementation: critical for real network

Rust Crate Structure

hcp-node/

├── crates/hcp-core/ ← MCF / HTIV math

├── crates/hcp-consensus/ ← JSVL BFT protocol

├── crates/hcp-dag/ ← H-DAG + RocksDB

├── crates/hcp-net/ ← libp2p networking

├── crates/hcp-api/ ← axum REST server

└── bin/hcp-node/ ← validator binary

hcp-core

MCF / HTIV math library

Partially implemented

hcp-consensus

JSVL BFT protocol

Needs implementation

hcp-dag

Holographic DAG storage

Needs implementation

hcp-net

libp2p networking layer

Needs implementation

hcp-api

axum REST API server

Needs implementation

hcp-cli

Operator CLI tool

Needs implementation

hcp-node

Full validator binary (all crates)

Needs implementation

Key Rust Dependencies

tokio
^1.35
Async runtime

All async I/O

axum
^0.7
REST API framework

/v1/settle endpoint

libp2p
^0.53
P2P networking

Peer discovery & gossip

blst
^0.3
BLS12-381 sigs

Threshold signatures

rocksdb
^0.21
Embedded DB

H-DAG persistence

serde
^1.0
Serialization

JSON payloads & storage

Engineering Roadmap

Week 1–4
Harden Rust Engine
  • ·Deterministic FP tests
  • ·Cross-arch validation (ARM, x86)
  • ·hcp-core crate structure
  • ·axum REST wrapper
Month 1–3
Single Node Deployment
  • ·VPS deployment (Hetzner/Vultr)
  • ·H-DAG with RocksDB
  • ·Base44 proxy → live node
  • ·Health monitoring
Month 3–6
4-Node Testnet
  • ·JSVL BFT across 4 machines
  • ·libp2p peer networking
  • ·BLS signature aggregation
  • ·Public demo endpoint
Month 6–12
Institutional Readiness
  • ·arXiv preprint
  • ·Independent security audit
  • ·31+ node mainnet
  • ·Regulatory engagement
Honest Status

✓ Done: Frontend UI dashboard (this app), theoretical whitepaper, MCF math concepts.

⚠ Partial: Rust MCF/HTIV implementation — needs deterministic FP validation and test suite.

✗ Not yet: BFT consensus, H-DAG storage, P2P networking, live nodes, real API endpoint.

Next concrete action: Deploy one Rust node (even without BFT) to a $6/mo Hetzner VPS, expose /v1/settle, and connect this dashboard to it. That is the most important single step.

Staging · simulated settlement · not network finality