MnemonicWords

data class MnemonicWords(val words: Collection<String>)

Constructors

Link copied to clipboard
constructor(phrase: String)

构造函数

constructor(phrases: Array<String>)

构造函数

constructor(words: Collection<String>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Converts a list of words into a ByteArray entropy buffer according to the BIP39 spec

Link copied to clipboard
fun MnemonicWords.toExtendedKey(path: String = DEFAULT_PATH, saltPhrase: String = "", isGM: Boolean = true): ExtendedKey

助记词生成扩展密钥

Link copied to clipboard
fun MnemonicWords.toSeed(password: String? = ""): Seed

Generates a seed buffer from a mnemonic phrase according to the BIP39 spec. The mnemonic phrase is given as a list of words and the seed can be salted using a password

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard