wallet library
Functions
-
address(
String hexPrivateKey) → String - Computes the address corresponding to the given private key
-
isValidPrivateKey(
Uint8List privKey) → bool -
makeRandomMnemonic(
int size) → String - Generates a random mnemonic of the given size
-
privateKeyBytes(
String mnemonic, [String hdPath = DEFAULT_HD_PATH]) → Uint8List - Computes the private key derived from the given seed phrase and HD path
-
publicKeyBytes(
String hexPrivateKey, bool uncompressed) → Uint8List - Computes the public key corresponding to the given private one