wallet_hd_derivation_kit library

Offline, native multi-chain HD-wallet key and address derivation.

Classes

ChainInfo
ParsedExtendedKey

Constants

apiSchemaVersion → const int
hardenedOffset → const int

Functions

deriveAccountPrivateKey({required Map<String, Object?> source, String chain = 'bitcoin', String? scriptType, int account = 0, String? format, String? path}) Map<String, Object?>
deriveAccountPublicKey({required Map<String, Object?> source, String chain = 'bitcoin', String? scriptType, int account = 0, String? format, String? path}) Map<String, Object?>
deriveAddress({required Map<String, Object?> source, String chain = 'bitcoin', int account = 0, int change = 0, int index = 0, String? scriptType, String? format, String? path}) Map<String, Object?>
deriveAddresses({required Map<String, Object?> source, String chain = 'bitcoin', int account = 0, int change = 0, int start = 0, int count = 20, String? scriptType, String? format}) List<Map<String, Object?>>
deriveAddressFromExtendedPublicKey({required String extendedPublicKey, required String chain, int change = 0, int index = 0, String? scriptType}) Map<String, Object?>
deriveNode({required Map<String, Object?> source, String curve = 'secp256k1', String path = 'm'}) Map<String, Object?>
parseExtendedKey(String value) ParsedExtendedKey
serializeExtendedKey(ParsedExtendedKey parsed, {bool private = false, String? format}) String
supportedChains() List<ChainInfo>

Exceptions / Errors

WalletHDDerivationException