mirror of
https://github.com/hanzo-apps/hanzo.ai.git
synced 2026-10-30 14:58:08 +00:00
BlockchainProductLayout draws every field it is handed with t(), and the fifteen product views mark their copy with phrase() where it is written. The index and the chain directory wrap their own words; chain names, code samples and figures stay as they are. The back arrow and the call-to-action arrows mirror under dir="rtl", and the two disclosure heads align to the start instead of the left.
101 lines
3.2 KiB
TypeScript
101 lines
3.2 KiB
TypeScript
'use client'
|
|
|
|
import React from "react";
|
|
import {
|
|
Layers,
|
|
Zap,
|
|
Shield,
|
|
Globe,
|
|
RefreshCw,
|
|
Clock,
|
|
Database,
|
|
Settings,
|
|
BarChart3,
|
|
} from "lucide-react";
|
|
import { phrase } from "@hanzo/i18n";
|
|
import BlockchainProductLayout, { type CodeExample } from "@/components/blockchain/BlockchainProductLayout";
|
|
|
|
const HanzoBundler = ({ codeExamples }: { codeExamples: CodeExample[] }) => {
|
|
return (
|
|
<BlockchainProductLayout
|
|
slug="bundler"
|
|
name={phrase("Bundler API")}
|
|
tagline={phrase("ERC-4337 UserOperation bundling service")}
|
|
description={phrase("Production-grade bundler for account abstraction. Submit, simulate, and track UserOperations across all ERC-4337 compatible chains with reliable transaction inclusion.")}
|
|
icon={Layers}
|
|
features={[
|
|
{
|
|
icon: Layers,
|
|
title: phrase("UserOp Bundling"),
|
|
description: phrase("Efficiently bundle multiple UserOperations into single transactions."),
|
|
},
|
|
{
|
|
icon: Zap,
|
|
title: phrase("Fast Inclusion"),
|
|
description: phrase("Priority transaction submission for quick block inclusion."),
|
|
},
|
|
{
|
|
icon: Shield,
|
|
title: phrase("Simulation"),
|
|
description: phrase("Pre-flight simulation to validate operations before submission."),
|
|
},
|
|
{
|
|
icon: Globe,
|
|
title: phrase("Multi-chain Support"),
|
|
description: phrase("ERC-4337 bundling across Ethereum, Polygon, Arbitrum, and more."),
|
|
},
|
|
{
|
|
icon: RefreshCw,
|
|
title: phrase("Auto-retry"),
|
|
description: phrase("Automatic retry with gas price adjustment for stuck operations."),
|
|
},
|
|
{
|
|
icon: Clock,
|
|
title: phrase("Status Tracking"),
|
|
description: phrase("Real-time status updates from submission to confirmation."),
|
|
},
|
|
{
|
|
icon: Database,
|
|
title: phrase("Operation History"),
|
|
description: phrase("Query past UserOperations and their execution results."),
|
|
},
|
|
{
|
|
icon: Settings,
|
|
title: phrase("Custom Mempools"),
|
|
description: phrase("Support for alternative mempools and private submission."),
|
|
},
|
|
{
|
|
icon: BarChart3,
|
|
title: phrase("Analytics"),
|
|
description: phrase("Track success rates, gas usage, and operation metrics."),
|
|
},
|
|
]}
|
|
useCases={[
|
|
{
|
|
title: phrase("Smart Wallet Apps"),
|
|
description: phrase("Power account abstraction wallets with reliable bundling."),
|
|
},
|
|
{
|
|
title: phrase("Gasless Transactions"),
|
|
description: phrase("Enable sponsored transactions with paymaster integration."),
|
|
},
|
|
{
|
|
title: phrase("Batch Operations"),
|
|
description: phrase("Execute multiple actions in a single user signature."),
|
|
},
|
|
{
|
|
title: phrase("Session Keys"),
|
|
description: phrase("Support for temporary permissions and automated actions."),
|
|
},
|
|
]}
|
|
chains={[
|
|
"Ethereum", "Polygon", "Arbitrum", "Optimism", "Base",
|
|
"BNB Chain", "Avalanche", "zkSync", "Linea",
|
|
]}
|
|
codeExamples={codeExamples}
|
|
/>
|
|
);
|
|
};
|
|
|
|
export default HanzoBundler;
|