mirror of
https://github.com/hanzoai/bootnode.git
synced 2026-10-25 02:31:30 +00:00
Hanzo CI/CD / cicd (push) Failing after 1h10m29s
CI/CD / cicd (push) Failing after 2h37m43s
A static export has no host when it prerenders, so BrandProvider renders the
tree only once the browser has resolved the host, pages that show the brand
are client components, the static head names no brand, and the title and
favicon come from the host. The chain page keeps its static params and
metadata on the server and renders its body on the client, with RPC endpoints
on the brand's API origin at /v1/rpc/{chain}/{network}.
Hanzo's API origin is web3.hanzo.ai itself. The node fleet view, its landing
strip and its nav link belong to the brand that operates a fleet, which is
Lux alone. llms.txt, one file for every host, names no brand and points at
each host's own /docs/api.
Marketing copy states no certification the company does not hold and no
unmeasured uptime, latency, volume or response-time figure. Every internal
link points at a page that exists, every catalog chain is prerendered, and
the routes test holds page bodies to zero dead links.
Co-authored-by: Hanzo Dev <[email protected]>
56 lines
2.1 KiB
TypeScript
56 lines
2.1 KiB
TypeScript
export const dynamic = "force-static"
|
|
|
|
// One static file serves every white-label host, and a static export has no
|
|
// host to name a brand from. So this file names none: the API origin is the
|
|
// one each host's own API reference states, at /docs/api.
|
|
export async function GET() {
|
|
const content = `# Blockchain infrastructure API
|
|
|
|
> Multi-chain RPC, token and NFT APIs, smart wallets, webhooks and account abstraction.
|
|
|
|
## Products
|
|
- Node: Multi-chain JSON-RPC across 100+ chains
|
|
- Data: Token, NFT, and Transfer APIs
|
|
- Wallets: ERC-4337 Smart Wallets with Account Abstraction
|
|
- Webhooks: Real-time onchain event notifications
|
|
- Gas Manager: Gas sponsorship and paymaster policies
|
|
- Bundler: ERC-4337 bundler for UserOperations
|
|
- Rollups: Launch custom rollups
|
|
|
|
## API Base URL
|
|
The API origin for this host is listed at /docs/api. Every path below is relative to it.
|
|
|
|
## Authentication
|
|
X-API-Key: <your-api-key>
|
|
|
|
## Endpoints
|
|
- POST /v1/rpc/{chain}/{network} - JSON-RPC proxy
|
|
- GET /v1/tokens/{chain}/balances/{address} - Token balances
|
|
- GET /v1/tokens/{chain}/metadata/{contract} - Token metadata
|
|
- GET /v1/nfts/{chain}/metadata/{contract}/{token_id} - NFT metadata
|
|
- GET /v1/nfts/{chain}/collection/{contract} - NFT collection info
|
|
- GET /v1/nfts/{chain}/owned/{address} - NFTs owned by address
|
|
- POST /v1/wallets/create - Create smart wallet
|
|
- GET /v1/wallets/{address} - Get wallet details
|
|
- GET /v1/wallets - List wallets
|
|
- POST /v1/webhooks - Create webhook
|
|
- GET /v1/webhooks - List webhooks
|
|
- PATCH /v1/webhooks/{id} - Update webhook
|
|
- DELETE /v1/webhooks/{id} - Delete webhook
|
|
- GET /v1/gas/{chain}/prices - Gas prices
|
|
- POST /v1/gas/policies - Create gas policy
|
|
- POST /v1/gas/sponsor - Sponsor a UserOperation
|
|
- POST /v1/bundler/{chain}/{network} - Bundler RPC
|
|
- WS /v1/ws/{chain}/{network} - WebSocket subscriptions
|
|
|
|
## Supported Chains
|
|
Ethereum, Solana, Base, Arbitrum, Polygon, Optimism, Avalanche, BNB Smart Chain, Lux Network, and 90+ more.
|
|
|
|
## Documentation
|
|
/docs on this host
|
|
`
|
|
return new Response(content, {
|
|
headers: { "Content-Type": "text/plain; charset=utf-8" },
|
|
})
|
|
}
|