Create a Seed Mnemonic
About Mnemonics
Mnemonics are a popular method for generating cryptographic seeds in a more user-friendly way. A mnemonic phrase, seed phrase, or recovery phrase is a sequence of words that users can easily write down and verify. These words are carefully selected from a predefined wordlist to ensure compatibility across different wallets and systems.
The IOTA SDK uses the BIP39, BIP44 and SLIP10 standards to generate addresses and sign transactions. This means that the SDK can deterministically derive the seed from a mnemonic or seed phrase, making it easier for your users to write down or remember.
Example Code
- Rust
- Typescript (Node.js)
- Python
You can use the the
Client::generate_mnemonic()
function to generate a random mnemonic.
You can use the Utils.generateMnemonic()
function
to generate a random mnemonic.
You can use the Utils.generate_mnemonic()
function
to generate a random mnemonic.
Full Example Code
- Rust
- Typescript (Node.js)
- Python
loading...
loading...
loading...
Expected Output
Mnemonic: defy forest author famous found replace salad apple trial alien agent crush little east slim seminar icon wall tumble online knee test beyond gloom