Expand description
L1 client for Inbox/Outbox contract interaction. L1 (Ethereum) client for interacting with Aztec protocol contracts.
Uses raw JSON-RPC via reqwest to avoid heavy alloy dependencies.
Provides wrappers for the Inbox contract’s sendL2Message function.
Structs§
- EthClient
- A minimal Ethereum JSON-RPC client.
- FeeJuice
Bridge Result - Result of preparing Fee Juice on L1 for an L2 claim.
- L1Contract
Addresses - Parsed L1 contract addresses from node info.
- L1To
L2Message Sent Result - Result of sending an L1→L2 message via the Inbox contract.
Functions§
- prepare_
fee_ juice_ on_ l1 - Mint Fee Juice on L1 and bridge it to L2 via the Fee Juice Portal.
- send_
l1_ to_ l2_ message - Send an L1→L2 message via the Inbox contract.