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

#2871: HIP-423 long term scheduled transactions

Change request updated