wallet/keysmith library

Constants

ICP_PATH → const String

Properties

params → ECCurve_secp256k1
final

Functions

fromSeed(Uint8List seed, {int index = 0}) ECKeys
generateMnemonic({int bitLength = 128}) String
getAccountIdFromDerKey(Uint8List der) Uint8List
getAccountIdFromEd25519PublicKey(Uint8List publicKey) Uint8List
getAccountIdFromPrincipal(Principal principal) Uint8List
getAccountIdFromPrincipalID(String id) Uint8List
getAccountIdFromRawPublicKey(Uint8List publicKey) Uint8List
getECKeys(String mnemonic, {String passphase = "", int index = 0}) ECKeys
getPrincipalFromECPublicKey(Uint8List publicKey) String
getPublicFromPrivateKey(Uint8List privateKey, [bool compress = false]) Uint8List?
getPublicFromPrivateKeyBigInt(BigInt bigint, [bool compress = false]) Uint8List?
mnemonicToSeed(String phrase, {String passphrase = ""}) Uint8List
validateMnemonic(String mnemonic) bool