Module

Ctl.Internal.Wallet.Spec

#Cip1852DerivationPath

type Cip1852DerivationPath = { accountIndex :: UInt, addressIndex :: UInt }

Contains non-constant parameters for a CIP-1852 derivation path. See https://cips.cardano.org/cips/cip1852/ and doc/key-management.md.

#mkWalletBySpec

#mkKeyWalletFromMnemonic

mkKeyWalletFromMnemonic :: String -> Cip1852DerivationPath -> StakeKeyPresence -> Either String KeyWallet

Create a wallet given a mnemonic phrase, account index, address index and stake key presence flag. See doc/key-management.md for more info.

Modules