mirror of
https://github.com/hanzoai/site.git
synced 2026-11-21 23:59:57 +00:00
1 line
3.5 KiB
JSON
1 line
3.5 KiB
JSON
{"text":["Available Now","Hanzo Rollups","L2 scaling infrastructure & rollup services","Deploy and manage rollup infrastructure. From optimistic to ZK rollups, we handle sequencers, provers, and data availability so you can focus on your application.","Rollup-as-a-Service","Deploy your own L2 or L3 rollup with managed infrastructure.","High Throughput","Process thousands of transactions per second with low fees.","Security Inheritance","Inherit Ethereum's security while scaling your application.","Native Bridging","Deposit and withdraw between L1 and L2 on bridges that ship with the rollup.","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.","Data Availability","Multiple DA options: Ethereum, Celestia, EigenDA, or custom.","Sequencer Management","Managed sequencer infrastructure with decentralization options.","Fraud & Validity Proofs","Support for both optimistic and ZK proving systems.","Interoperability","Connect to the broader L2 ecosystem and cross-chain protocols.","Analytics & Monitoring","Real-time metrics for rollup performance and health.","Simple to Integrate","Get started with just a few lines of code. SDKs for every language.","Solidity","Node","Python","Go","Rust","C++","Ruby","L2Bridge.sol","// SPDX-License-Identifier: MIT","pragma","solidity","^0.8.24","import","\"@hanzo/rollups/IL2Bridge.sol\"","\"@hanzo/rollups/ICrossChainMessenger.sol\"","\"@openzeppelin/contracts/token/ERC20/IERC20.sol\"","///","@title","L2Bridge - Bridge assets between L1 and L2 rollups","contract","L2Bridge","IL2Bridge","public","bridge","ICrossChainMessenger","messenger","mapping","(bytes32 => bool)","processedDeposits","event","DepositInitiated","address","indexed","from, uint256 amount, uint256 l2ChainId",");","WithdrawalCompleted","to, uint256 amount","constructor","address _bridge","address _messenger)","bridge =","_bridge","messenger =","_messenger","// Bridge ETH from L1 to L2","function","bridgeETHToL2","uint256 l2ChainId","external","payable","bridge.depositETH","value: msg.value","}(","l2ChainId","msg.sender","emit","msg.value","// Bridge ERC20 tokens to L2","bridgeTokenToL2","address token","uint256 amount","IERC20","token","transferFrom","this","),","amount","approve","bridge.","depositERC20","// Finalize withdrawal on L1 (called by relayer)","finalizeWithdrawal","bytes32 withdrawalHash","address to","bytes","calldata","proof","require","!processedDeposits","withdrawalHash","],","\"Already processed\"","verifyWithdrawalProof","\"Invalid proof\"","true","to","transfer","Built For","Gaming & Social","High-frequency, low-cost transactions for gaming economies and social apps.","DeFi Scaling","Scale DeFi protocols with lower gas costs while maintaining security.","Enterprise Chains","Private or permissioned rollups with custom governance.","App-Specific Chains","Dedicated throughput and customization for your application.","Supported Chains","Arbitrum","Optimism","Base","zkSync Era","Scroll","Linea","Polygon zkEVM","Starknet","Blast","Mode","Start Building with Hanzo Rollups","Get your free API key and ship your first request in under 5 minutes. No credit card required.","Explore All Web3 Products","Get Hanzo Rollups","Deploy to Cloud"],"links":["/blockchain","https://platform.hanzo.ai/api-keys","https://platform.hanzo.ai/deploy"]} |