Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/lucid/src/misc/bip39.ts>generateMnemonic

Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.
Go to Latest
function generateMnemonic
import { generateMnemonic } from "https://deno.land/x/lucid@0.7.9/src/misc/bip39.ts";

Parameters

strength: number
optional
rng: (size: number) => Uint8Array
optional
wordlist: Array<string>

Returns

string