nekoton/crypto/mnemonic/mnemonic library

Functions

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