Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lucid/src/mod.ts>Lucid#selectWalletFromSeed

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
method Lucid.prototype.selectWalletFromSeed
Re-export
import { Lucid } from "https://deno.land/x/lucid@0.8.6/src/mod.ts";

Select wallet from a seed phrase (e.g. 15 or 24 words). You have the option to choose between a Base address (with stake credential) and Enterprise address (without stake credential). You can also decide which account index to derive. By default account 0 is derived.

Parameters

seed: string
optional
options: { addressType?: "Base" | "Enterprise"; accountIndex?: number; }