Expand description
Re-export the entire miden_client crate so external projects can use a single dependency.
Provides AggLayer bridge components, note constructors, and helper types.
Modules§
- b2agg_
note - Bridge Out note creation utilities.
- bridge
- claim_
note - config_
note - CONFIG_AGG_BRIDGE note creation utilities.
- errors
- eth_
types - faucet
- update_
ger_ note - UPDATE_GER note creation utilities.
- utils
Structs§
- AggLayer
Bridge - An
AccountComponentimplementing the AggLayer Bridge. - AggLayer
Faucet - An
AccountComponentimplementing the AggLayer Faucet. - B2Agg
Note - B2AGG (Bridge to AggLayer) note.
- Claim
Note - CLAIM (Bridge from AggLayer) note.
- Claim
Note Storage - Data for creating a CLAIM note.
- Config
AggBridge Note - CONFIG_AGG_BRIDGE note.
- Conversion
Metadata - The conversion metadata registered on the bridge for a single faucet.
- EthAddress
- Represents a plain Ethereum address (20 bytes).
- EthAmount
- Represents an Ethereum uint256 amount as 8 u32 values.
- EthEmbedded
Account Id - Represents a Miden
AccountIdthat can be encoded in the 20-byte Ethereum address format. - Keccak256
Output - Keccak256 output representation (32-byte hash)
- Leaf
Data - Leaf data for CLAIM note creation. Contains network, address, amount, and metadata using typed representations.
- Metadata
Hash - Represents a Keccak256 metadata hash as 32 bytes.
- Proof
Data - Proof data for CLAIM note creation. Contains SMT proofs and root hashes using typed representations.
- Update
GerNote - UPDATE_GER note.
Enums§
- Agglayer
Bridge Error - AggLayer Bridge related errors.
- Agglayer
Faucet Error - AggLayer Faucet related errors.
- EthAmount
Error - Error type for Ethereum amount conversions.
- Global
Index Error - Error type for GlobalIndex validation.
Functions§
- agglayer_
library - Returns the AggLayer Library containing all agglayer modules.
- create_
agglayer_ faucet - Creates a new agglayer faucet account with the specified configuration.
- create_
bridge_ account - Creates a new bridge account with the standard configuration.
Type Aliases§
- CgiChain
Hash - Claimed Global Index (CGI) chain hash representation (32-byte Keccak256 hash)
- Exit
Root - Exit root representation (32-byte Keccak256 hash)
- Global
Index - Represents an AggLayer global index as a 256-bit value (32 bytes).
- Leaf
Value - Leaf value representation (32-byte Keccak256 hash)
- SmtNode
- SMT node representation (32-byte Keccak256 hash)