Crate rosetta_client
source ·Expand description
Rosetta client.
Re-exports
pub use rosetta_core::crypto;
pub use rosetta_core::types;
Structs
- The client struct to interface with a rosetta endpoint.
- Mnemonic storage backend.
- Signer derives keys from a mnemonic.
- The wallet provides the main entry point to this crate.
Traits
- Extension trait for the wallet. for ethereum chain
- Conversion trait for account identifiers.
- Conversion trait for public keys.
Functions
- Converts an amount to a human readable string.
- Returns a client instance. Parameters:
- Returns a blockchain config for a given blockchain and network.
- Returns a signer for a given keyfile.
- Returns a wallet instance. Parameters:
- Generates a mnemonic.
- Parses a string into an amount using the equation
amount * 10 ** decimals
.