Expand description
Main API definition Should ultimately allow some flexibility around how shares can be provided and returned (e.g. provide hex string instead of mnemonics)
Structs§
- Error
- Error definition
- Group
Share - Struct for returned shares
- Share
- Main definition of a share and its mnemonic serialization
Enums§
- Error
Kind - Wallet errors, mostly wrappers around underlying crypto or I/O errors.
Functions§
- combine_
mnemonics - Combines shares into a master secret (e.g. BIP39 entropy)
- from_
hex - Decode a hex string into bytes.
- generate_
mnemonics - Generates shares from the provided master secret (e.g. BIP39 entropy)
- generate_
mnemonics_ random - Generate a random master secret (e.g. BIP39 entropy) and returns the shares from it
- to_hex
- Encode the provided bytes into a hex string