Skip to main content
Module

x/lucid/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.
Very Popular
Go to Latest
method Lucid.prototype.selectWalletFromSeed
Re-export
import { Lucid } from "https://deno.land/x/lucid@0.10.1/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; password?: string; }

Returns

Lucid