import { Lucid } from "https://deno.land/x/lucid@0.7.8/mod.ts";
Methods
Signs a message. Expects the payload to be Hex encoded.
Emulates a wallet by constructing it with the utxos and an address. If utxos are not set, utxos are fetched from the provided address.
Cardano Private key in bech32; not the BIP32 private key or any key that is not fully derived. Only an Enteprise address (without stake credential) is derived.
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.
Switch provider and/or network. If provider or network unset, no overwriting happens. Provider or network from current instance are taken then.
Unit needs to be an NFT (or optionally the entire supply in one UTxO).
Verify a message. Expects the payload to be Hex encoded.