Generate a mnemonic phrase

Generate a 12 or 24-word mnemonic phrase that can be used to recover the private keys that are associated with it.

Method

Description

Mnemonic.generate()

Generates a 24 word mnemonic phrase

Java
 Mnemonic mnemonic = Mnemonic.generate();

 //1.3.2
JavaScript
const mnemonic = Mnemonic.generate();
//v1.4.4

Last updated