Skip to main contentModule wallet
Source use alloy_primitives::U256; ๐ use alloy_signer_local::MnemonicBuilder; ๐ use alloy_signer_local::PrivateKeySigner; ๐ use alloy_signer_local::coins_bip39::ChineseSimplified; ๐ use alloy_signer_local::coins_bip39::ChineseTraditional; ๐ use alloy_signer_local::coins_bip39::Czech; ๐ use alloy_signer_local::coins_bip39::English; ๐ use alloy_signer_local::coins_bip39::French; ๐ use alloy_signer_local::coins_bip39::Italian; ๐ use alloy_signer_local::coins_bip39::Japanese; ๐ use alloy_signer_local::coins_bip39::Korean; ๐ use alloy_signer_local::coins_bip39::Portuguese; ๐ use alloy_signer_local::coins_bip39::Spanish; ๐ use alloy_signer_local::coins_bip39::Wordlist; ๐
- BIP32_HARDEN
- BIP-32 harden bit (
0x8000_0000). Indices at or above this already encode hardened.
- derive_key_path
- Appends
index to path, inserting a / separator when needed. - derive_key_path_checked
derive_key_path plus the harden-bit overflow guard for mnemonic derive consumers.- derive_private_key
- Derives a private key from a BIP-39 mnemonic using the given BIP-32 path and index.
- derive_private_key_with_language
- Derives a private key from a BIP-39 mnemonic, selecting the wordlist by name.
- private_key_from_u256
- Constructs a [
PrivateKeySigner] from a raw private key value. - validate_bip32_path
- Reject BIP-32 path components whose parsed index overflows the harden bit.