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

100 lines
3.1 KiB
TypeScript

'use client'
import React from "react";
import {
Radio,
TrendingUp,
Dice6,
CloudSun,
Link2,
Shield,
Clock,
Database,
Zap,
} from "lucide-react";
import { phrase } from "@hanzo/i18n";
import BlockchainProductLayout, { type CodeExample } from "@/components/blockchain/BlockchainProductLayout";
const HanzoOracle = ({ codeExamples }: { codeExamples: CodeExample[] }) => {
return (
<BlockchainProductLayout
slug="oracle"
name={phrase("Hanzo Oracle")}
tagline={phrase("Bring real-world data on-chain")}
description={phrase("Price feeds, randomness, weather, and custom attestations, delivered to your contracts. Built on Lux's OracleVM with Chainlink integration.")}
icon={Radio}
features={[
{
icon: TrendingUp,
title: phrase("Price Feeds"),
description: phrase("Real-time and historical price data for crypto, forex, commodities, and stocks."),
},
{
icon: Dice6,
title: phrase("VRF (Randomness)"),
description: phrase("Verifiable random numbers for gaming, NFT mints, and fair selection."),
},
{
icon: CloudSun,
title: phrase("Weather Data"),
description: phrase("On-chain weather data for parametric insurance and prediction markets."),
},
{
icon: Link2,
title: phrase("Custom Data Feeds"),
description: phrase("Bring any API data on-chain with custom oracle configurations."),
},
{
icon: Shield,
title: phrase("Cryptographic Proofs"),
description: phrase("Every data point includes cryptographic proof of authenticity."),
},
{
icon: Clock,
title: phrase("Scheduled Updates"),
description: phrase("Configure update frequency from seconds to daily, based on your needs."),
},
{
icon: Database,
title: phrase("Historical Data"),
description: phrase("Access historical oracle data for backtesting and analysis."),
},
{
icon: Zap,
title: phrase("Low Latency"),
description: phrase("Sub-second updates for time-sensitive applications."),
},
]}
useCases={[
{
title: phrase("DeFi Protocols"),
description: phrase("Power lending, derivatives, and synthetic assets with reliable price feeds."),
},
{
title: phrase("Gaming & NFTs"),
description: phrase("Generate provably fair random numbers for loot boxes, mints, and gameplay."),
},
{
title: phrase("Insurance"),
description: phrase("Trigger parametric insurance payouts based on weather, flight, or event data."),
},
{
title: phrase("Prediction Markets"),
description: phrase("Settle markets with verified outcomes from trusted data sources."),
},
]}
chains={[
"Lux",
"Ethereum",
"Polygon",
"Arbitrum",
"Avalanche",
"BNB Chain",
]}
codeExamples={codeExamples}
/>
);
};
export default HanzoOracle;