createSeed

abstract fun createSeed(mnemonics: Array<String>, passphrase: String): Seed(source)

Takes in a set of mnemonics and a passphrase, and returns a seed object used to generate a private key.

Return

A seed object.

Parameters

mnemonics

An array of mnemonic phrases.

passphrase

A passphrase used to enhance the security of the seed.

Throws

MnemonicLengthException

if the mnemonics or passphrase are invalid.