Files
bootnode/api
zeekay 60cb93aca6 feat: MPC threshold wallets, FHE encrypted balances, real staking integration
- Shamir's Secret Sharing (2-of-3 ECDSA) with AES-GCM encrypted share storage
- FHE module for confidential balance/staking computation (AES-GCM sim, concrete-python optional)
- 8 new MPC API endpoints: create, list, status, sign, shares, decrypt-share
- /v1/keys/status endpoint backing staking page KMS connection
- Staking page wired: real validators from nodes API, MPC wallet connection, Quick Stake signing
- MPCWalletModel with threshold, share holders, encrypted shares columns
- 115 total API routes, all tests passing
2026-02-10 18:57:27 -08:00
..
2026-02-10 14:57:33 -08:00

Hanzo Nodes API

Multi-chain blockchain infrastructure platform providing RPC, APIs, WebSockets, Webhooks, and ERC-4337 bundling.

Features

  • Multi-Chain RPC: 100+ EVM chains with load balancing
  • Token API: ERC-20 balances, transfers, prices
  • NFT API: ERC-721/1155 ownership, metadata, transfers
  • Wallet API: Portfolio tracking, activity history
  • WebSocket Subscriptions: Real-time blockchain events
  • Webhooks: Event notifications with delivery tracking
  • ERC-4337 Bundler: Account abstraction with gasless transactions
  • Gas API: Real-time gas estimates and EIP-1559 data

Quick Start

# Start dependencies
docker compose up -d postgres redis clickhouse

# Run API locally
uv run uvicorn bootnode.main:app --reload

# Or with Docker
docker compose up -d

API Endpoints

  • GET /health - Health check
  • POST /v1/rpc/{chain}/{network} - JSON-RPC proxy
  • GET /v1/tokens/{chain}/balance/{address} - Token balances
  • GET /v1/nfts/{chain}/owner/{address} - NFT ownership
  • POST /v1/webhooks - Create webhook
  • WS /v1/ws/{chain}/{network} - WebSocket subscriptions

Environment Variables

DATABASE_URL=postgresql+asyncpg://...
REDIS_URL=redis://...
DATASTORE_URL=clickhouse://...
JWT_SECRET=...

Documentation

License

BSD-3-Clause