wallet/keysmith
library
Functions
-
ecKeysfromSeed(Uint8List seed, {int index = 0, int coinType = CoinType.icp})
→ ECKeys
-
-
generateMnemonic({int bitLength = 128})
→ String
-
-
getAccountIdFromDerKey(Uint8List der)
→ Uint8List
-
-
getAccountIdFromEd25519PublicKey(Uint8List publicKey)
→ Uint8List
-
-
getAccountIdFromPrincipalID(String id)
→ Uint8List
-
-
getAccountIdFromRawPublicKey(Uint8List publicKey)
→ Uint8List
-
-
getDerFromFFI(Uint8List seed)
→ Future<Uint8List>
-
-
getECkeyFromPrivateKey(Uint8List prv)
→ Future<ECKeys>
-
-
getECKeys(String mnemonic, {String passphrase = '', int index = 0, int coinType = CoinType.icp})
→ ECKeys
-
-
getECKeysAsync(String phrase, {String passphrase = '', int index = 0, int coinType = CoinType.icp})
→ Future<ECKeys>
-
-
getP256DerPubFromFFI(Uint8List seed)
→ Future<Uint8List>
-
-
getPathWithCoinType({int coinType = CoinType.icp})
→ String
-
-
getPrincipalFromECPublicKey(Uint8List publicKey)
→ String
-
-
getPublicFromPrivateKey(Uint8List privateKey, [bool compress = false])
→ Uint8List?
-
-
getPublicFromPrivateKeyBigInt(BigInt bigint, [bool compress = false])
→ Uint8List?
-
-
getSchnorrPubFromFFI(Uint8List seed)
→ Future<Uint8List>
-
-
mnemonicToSeed(String phrase, {String passphrase = ''})
→ Uint8List
-
-
validateMnemonic(String mnemonic)
→ bool
-