[−][src]Module sv::wallet
Wallet and key management
Structs
ExtendedKey | A private or public key in an hierarchial deterministic wallet |
Enums
ExtendedKeyType | Public or private key type |
Wordlist | Wordlist language |
Constants
HARDENED_KEY | Index which begins the derived hardened keys |
MAINNET_PRIVATE_EXTENDED_KEY | "xprv" prefix for private extended keys on mainnet |
MAINNET_PUBLIC_EXTENDED_KEY | "xpub" prefix for public extended keys on mainnet |
TESTNET_PRIVATE_EXTENDED_KEY | "tprv" prefix for private extended keys on testnet |
TESTNET_PUBLIC_EXTENDED_KEY | "tpub" prefix for public extended keys on testnet |
Functions
derive_extended_key | Derives a key using the BIP-32 and BIP-44 shortened key notation |
load_wordlist | Loads the word list for a given language |
mnemonic_decode | Decodes a neumonic into data using BIP-39 |
mnemonic_encode | Encodes data into a mnemonic using BIP-39 |