zeekay
ad6dc4e6eb
feat: migrate billing from Stripe to Hanzo Commerce + Square
...
Remove all direct Stripe integration. Bootnode now uses Hanzo Commerce
API as its payment gateway (Commerce handles Square internally).
- Remove stripe dependency from pyproject.toml
- Rewrite commerce.py client with correct Commerce API paths:
/api/v1/user (customers), /api/v1/subscribe (subscriptions),
/api/v1/checkout/* (payments), /api/v1/order (orders/invoices)
- Add unified.py: IAM + Commerce customer linking (hanzo.id SSO)
- Rewrite webhooks.py: Commerce event handler with HMAC verification
- Update sync.py: usage metering via Commerce (not Stripe)
- Update billing API endpoints: checkout, account, webhooks
- Config uses COMMERCE_* prefix (not HANZO_COMMERCE_*)
- Add test_billing.py: 46 tests covering CU, tiers, Commerce client,
webhooks, and unified billing
2026-02-10 20:50:18 -08:00
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
zeekay
108e2cada6
feat: DB-backed node infrastructure with globe visualization
...
- Add Cluster and Node SQLAlchemy models with full metrics columns
- Create DB-backed CRUD router (14 endpoints) replacing in-memory store
- Add SVG world map globe component with pulsing node dots and tooltips
- Seed real DOKS clusters (hanzo-k8s, lux-k8s) + multi-chain nodes on startup
- Wire seed_database into app lifespan for auto-population
- Add network filter and globe visualization to nodes dashboard page
- Keep staking/supported-chains/presets endpoints via lazy imports
2026-02-10 18:43:03 -08:00
zeekay
a7b46f543d
fix: skip hanzo-kms optional dep in CI, update repo URL to bootnode/bootnode
2026-02-10 15:07:13 -08:00
zeekay
67797d69b4
Update to latest K8S Operator
2026-02-10 14:57:33 -08:00
zeekay
e12b842f7d
feat: implement Alchemy-style billing and pluggable deployments
...
Billing System:
- Add compute unit costs for 100+ RPC methods (1-100 CU)
- Implement pricing tiers: Free (30M CU), PAYG ($0.40/M), Enterprise
- Real-time usage tracking with Redis + ClickHouse analytics
- Subscription model with billing cycles
- Billing API endpoints: /usage, /subscription, /invoices, /tiers
Hanzo Commerce Integration:
- HanzoCommerceClient for subscriptions and invoices
- Usage sync worker for PAYG metered billing
- Webhook handler for subscription lifecycle events
- HMAC signature verification for webhooks
Pluggable Deployment Targets:
- Abstract DeployTarget interface
- DockerDeployer - Docker Compose management
- ProcessDeployer - Local dev with subprocesses
- KubernetesDeployer - K8s deployments via python client
- Factory pattern with caching
- Infrastructure API: /services, /scale, /logs
Pricing Page:
- Updated to match Alchemy pricing structure
- Three tiers with feature comparison table
- FAQ section with compute unit explanation
ClickHouse Schema:
- billing_usage_daily with SummingMergeTree
- billing_usage_monthly materialized view
- cu_by_method for analytics dashboard
- rate_limit_events tracking
2026-02-04 09:44:50 -08:00
zeekay
d55d0b03cb
feat: comprehensive bootnode platform updates
...
- Add brand assets and logos
- Add KMS integration for secure key management
- Add infrastructure configs (cloud providers, monitoring)
- Add indexer service with documentation
- Update K8s deployments and ingress
- Enhance dashboard pages (analytics, assets, infrastructure)
- Update auth and API components
- Add .gitignore for embedded repos
2026-02-03 12:48:01 -08:00
zeekay
42a4d28986
fix: export init_db from db module
2026-02-02 16:45:11 -08:00
zeekay
73a3d23053
feat: production deployment with shared Hanzo infrastructure
...
- Add k8s configs for production deployment
- Use shared postgres/datastore in hanzo namespace
- Fix image registry to ghcr.io/hanzoai/bootnode
- Add deploy script with shared infra support
- Simplify compose.yml for local development
2026-02-02 16:39:52 -08:00
zeekay
1dfd7a2e26
feat: initial Hanzo Nodes API
...
Modern blockchain infrastructure platform with:
- Multi-chain RPC endpoints (100+ chains)
- Token & NFT APIs (ERC-20, ERC-721, ERC-1155)
- Wallet API with portfolio tracking
- ERC-4337 Bundler for account abstraction
- WebSocket subscriptions
- Webhooks for chain events
- Hanzo IAM integration for multi-tenant auth (hanzo.id, zoo.id, lux.id, pars.id)
- ClickHouse datastore for analytics
- Redis MQ for background jobs
Pricing: $0.45/M CUs (Alchemy-competitive)
- Free: 300M CUs/month
- Growth: 400M CUs/month ($49/mo)
- Scale: 1.5B CUs/month ($199/mo)
2026-01-26 10:20:42 -08:00