Files
zeekay 081caef236 blockchain: the pages' words go through @hanzo/i18n
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.
2026-10-22 18:13:04 -07:00

101 lines
3.2 KiB
TypeScript

'use client'
import React from "react";
import {
Wallet,
Shield,
Globe,
RefreshCw,
Clock,
Database,
Settings,
Users,
Key,
} from "lucide-react";
import { phrase } from "@hanzo/i18n";
import BlockchainProductLayout, { type CodeExample } from "@/components/blockchain/BlockchainProductLayout";
const HanzoSmartWallets = ({ codeExamples }: { codeExamples: CodeExample[] }) => {
return (
<BlockchainProductLayout
slug="wallets"
name={phrase("Smart Wallets")}
tagline={phrase("ERC-4337 account abstraction wallets")}
description={phrase("Next-generation smart contract wallets with account abstraction. Social recovery, session keys, batch transactions, and gasless experiences out of the box.")}
icon={Wallet}
features={[
{
icon: Wallet,
title: phrase("Smart Contract Wallets"),
description: phrase("Upgradeable wallets with programmable logic and security."),
},
{
icon: Shield,
title: phrase("Social Recovery"),
description: phrase("Recover accounts using trusted guardians, not seed phrases."),
},
{
icon: Key,
title: phrase("Session Keys"),
description: phrase("Temporary permissions for apps without repeated signing."),
},
{
icon: Users,
title: phrase("Multi-sig Support"),
description: phrase("Require multiple approvals for high-value transactions."),
},
{
icon: RefreshCw,
title: phrase("Batch Transactions"),
description: phrase("Execute multiple operations in a single transaction."),
},
{
icon: Globe,
title: phrase("Multi-chain"),
description: phrase("Same wallet address across all EVM chains."),
},
{
icon: Settings,
title: phrase("Custom Modules"),
description: phrase("Extend functionality with modular security plugins."),
},
{
icon: Clock,
title: phrase("Time-locked Actions"),
description: phrase("Schedule transactions and set spending limits."),
},
{
icon: Database,
title: phrase("Transaction History"),
description: phrase("Complete audit trail of all wallet activity."),
},
]}
useCases={[
{
title: phrase("Consumer Wallets"),
description: phrase("User-friendly wallets without seed phrase management."),
},
{
title: phrase("Gaming"),
description: phrase("Session keys sign in-game actions without prompting on every move."),
},
{
title: phrase("Enterprise Treasury"),
description: phrase("Multi-sig controls for corporate crypto management."),
},
{
title: phrase("DeFi Power Users"),
description: phrase("Batch operations and automated strategies."),
},
]}
chains={[
"Ethereum", "Polygon", "Arbitrum", "Optimism", "Base",
"BNB Chain", "Avalanche", "zkSync", "Linea",
]}
codeExamples={codeExamples}
/>
);
};
export default HanzoSmartWallets;