nekoton/crypto/mnemonic/mnemonic
library
Functions
-
deriveFromPhrase({required String phrase, required MnemonicType mnemonicType})
→ Keypair
-
Generate public and secret keys from seed phrase and mnemonic type
Returns json {'public': '...', 'secret': '...'}
or throws Exception
-
generateKey({required MnemonicType accountType})
→ GeneratedKeyG
-
Generate seed phrase by specified mnemonic type
-
getHints({required String input})
→ List<String>
-
Get hints for input part of word of seed phrase to get possible words
input: acco
returns
account, accommodate, ...