mirror of
https://github.com/hanzoai/bootnode.git
synced 2026-10-25 02:31:30 +00:00
1db85445d4932d8a4600904969229bb64ef85da9
- Add StatefulSet discovery fallback for kubectl-deployed fleets (non-Helm) - Add in-cluster mode: auto-detect pod ServiceAccount, skip kubeconfig fetch - Add list_fleets_incluster() for direct K8s API fleet discovery - Add get_statefulsets() to HelmDeployer for kubectl-based fleet listing - Make helm_revision optional (null for non-Helm fleets) - Add Lux devnet network (chain_id 96370), fix testnet chain_id (96368) - Add in-cluster self-detection for /v1/infra/clusters endpoint - Fix kubeconfig fetch: use raw HTTP (pydo can't deserialize YAML), doctl fallback - Install kubectl in API Dockerfile for fleet management operations
Bootnode
Web3 Backend in a Box - Run locally or deploy to cloud.
Quick Start
docker compose up -d
Done. Your Web3 backend is running:
- API: http://localhost:8000
- Dashboard: http://localhost:3001
- API Docs: http://localhost:8000/docs
Features
| API | Description |
|---|---|
POST /v1/rpc/{chain} |
Multi-chain JSON-RPC proxy |
WS /v1/ws/{chain} |
Real-time blockchain subscriptions |
GET /v1/tokens/{chain}/balances/{address} |
Token balances & metadata |
GET /v1/nfts/{chain}/owned/{address} |
NFT ownership & metadata |
POST /v1/webhooks |
Event-driven notifications |
POST /v1/wallets/create |
ERC-4337 smart wallets |
POST /v1/bundler/{chain} |
UserOp bundling |
POST /v1/gas/sponsor |
Gas sponsorship |
Supported Chains
L1: Ethereum, BNB Chain, Avalanche, Solana, Bitcoin
L2: Arbitrum, Optimism, Base, Polygon, zkSync, Scroll, Linea, Blast
Development
# API (Python 3.12+)
cd api && uv sync && uvicorn bootnode.main:app --reload --port 8000
# Dashboard (Node 22+)
cd web && pnpm install && pnpm dev
Deploy
Self-hosted
docker compose -f docker-compose.prod.yml up -d
# or
kubectl apply -f infra/k8s/
Hanzo Cloud
hanzo deploy
Visit web3.hanzo.ai for managed hosting.
License
Apache-2.0
Languages
TypeScript
47.2%
Python
38.2%
Go
6.5%
Rust
4.2%
Shell
1.5%
Other
2.4%