Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 610 Bytes

generate-a-mnemonic-phrase.md

File metadata and controls

26 lines (21 loc) · 610 Bytes

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.

{% tabs %} {% tab title="V1" %}

Method Description
Mnemonic.generate() Generates a 24 word mnemonic phrase

{% code title="Java" %}

 Mnemonic mnemonic = Mnemonic.generate();

 //1.3.2

{% endcode %}

{% code title="JavaScript" %}

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

{% endcode %} {% endtab %} {% endtabs %}