mirror of
https://github.com/hanzoai/site.git
synced 2026-11-21 00:51:59 +00:00
1 line
4.0 KiB
JSON
1 line
4.0 KiB
JSON
{"text":["Available Now","Hanzo Chains","RPC for every chain","Access 100+ blockchain networks through a unified API. High-availability managed nodes with archive data access, WebSocket subscriptions, and enterprise-grade reliability. From Ethereum and Solana to Lux ecosystem chains (Hanzo Network, Zoo Network, Pars Network), EVM L2s, and Cosmos chains.","100+ Chains Supported","Full Lux ecosystem (P/C/A/B/Z/T/K/Q/D chains), EVM L2s, Solana, Cosmos, and more.","Archive Node Access","Query historical blockchain state from genesis. Full archive data included.","WebSocket Streams","Real-time subscriptions for blocks, transactions, and contract events.","Ultra-Low Latency","Global edge distribution with sub-50ms response times worldwide.","Back to Web3 Overview","Get Your API Key","Start building in under 5 minutes","HA","Failover","<50ms","Latency","100+","Chains","Try Hanzo","View Documentation","No credit card required.","Trusted by developers building:","DeFi","NFTs","Payments","Gaming","AI Agents","Key Capabilities","Everything you need, nothing you don't.","High Availability","Enterprise reliability with automatic failover across regions.","Rate Limiting Built-in","Intelligent rate limiting, request queuing, and load balancing.","Auto-Scaling","Handles traffic spikes automatically without configuration.","Analytics Dashboard","Monitor usage, latency metrics, and error rates in real-time.","L2 & Rollup Support","Native support for Arbitrum, Optimism, Base, zkSync, and more.","Simple to Integrate","Get started with just a few lines of code. SDKs for every language.","Solidity","Node","Python","Go","Rust","C++","Ruby","MultiChainReader.sol","// SPDX-License-Identifier: MIT","pragma","solidity","^0.8.24","import","\"@hanzo/chains/IChainReader.sol\"","\"@hanzo/chains/ICrossChainMessenger.sol\"","contract","MultiChainReader","IChainReader","public","chainReader","ICrossChainMessenger","messenger","mapping","(uint256 => uint256)","chainBalances","event","CrossChainBalanceUpdated","uint256 chainId, uint256 balance",");","constructor","address _chainReader","address _messenger)","chainReader =","_chainReader","messenger =","_messenger","// Request balance from another chain via cross-chain message","function","requestCrossChainBalance","uint256 targetChainId","address account","external","returns","bytes32 messageId","bytes","memory","payload = abi.","encode","account","messageId = messenger.","sendMessage","targetChainId","address","this","),","payload","200000","// gas limit","// Receive cross-chain balance response","onMessageReceived","uint256 sourceChainId","calldata","require","msg.sender == address","\"Only messenger\"","uint256 balance = abi.","decode","uint256","));","sourceChainId","= balance","emit","balance","// Read current chain's block number","getBlockNumber","()","view","return","chainReader.","();","// Read current chain's gas price","getGasPrice","Built For","DeFi Applications","Build DEXs, lending protocols, and yield aggregators with reliable chain data.","NFT Marketplaces","Power NFT minting, trading, and metadata with fast node infrastructure.","Multi-chain Wallets","Fetch balances and broadcast transactions across 100+ chains.","Analytics Platforms","Query historical data for portfolio tracking and market intelligence.","Supported Chains","Ethereum","Solana","Bitcoin","Avalanche","BNB Chain","Cosmos","Arbitrum","Optimism","Base","Polygon","zkSync","Scroll","Linea","Blast","Mode","Mantle","Lux P-Chain","Lux C-Chain","Lux A-Chain","Lux B-Chain","Lux Z-Chain","Lux T-Chain","Lux K-Chain","Lux Q-Chain","Lux D-Chain (DEX)","Hanzo Network","Zoo Network","Pars Network","Lux Bridge","Aptos","Sui","Sei","Berachain","Monad","Celestia","Near","Start Building with Hanzo Chains","Get your free API key and ship your first request in under 5 minutes. No credit card required.","Explore All Web3 Products","Get Hanzo Chains","Multi-chain platform","Apache-2.0","License:","hanzoai","Deploy to Cloud"],"links":["/blockchain","https://platform.hanzo.ai/api-keys","https://github.com/hanzoai","https://platform.hanzo.ai/deploy"]} |