Skip to Content
🎉 Raven House is live on Aztec Testnet.Try Now .
Omni SDKOverview

Omni SDK (@ravenhouse/omni-sdk)

@ravenhouse/omni-sdk is a TypeScript library for building an L1↔L2 token bridge between Ethereum (Sepolia) and Aztec. It supports both public and private (shielded) transfers and takes care of the two-phase bridge protocol, wallet adapters, step tracking, and transaction recovery.

What it does

FeatureDetails
L1 → L2 bridgingDeposit on Ethereum → sync → claim on Aztec (3 steps)
L2 → L1 bridgingBurn on Aztec → prove → withdraw on Ethereum (3-4 steps)
Public and private modesisPrivate: true shields the balance on Aztec using ZK proofs
React hooksuseBridgeL1ToL2 / useBridgeL2ToL1 with real-time step state
Checkpoint callbacksonDepositComplete / onBurnComplete for mid-flow persistence
Azguard adapterAzguardBrowserWalletClient wraps the Azguard browser extension

How it fits in your stack

User -> Your UI | omni-sdk React hooks (useBridgeL1ToL2 / useBridgeL2ToL1) | RavenBridge orchestrator |- L1: Wagmi/viem wallet -> Ethereum portal contract (Sepolia) +- L2: AzguardBrowserWalletClient -> Aztec token bridge contract

Supported networks

NetworkL1L2
DevnetSepolia (chain ID 11155111)Aztec devnet

A local sandbox can be configured via a custom NetworkConfig object.

Next steps

Last updated on