Module

Cardano.Wallet.HD

https://cips.cardano.org/cip/CIP-1852

#Cip1852Account

#bip32ToPrivateKey

bip32ToPrivateKey :: Bip32PrivateKey -> PrivateKey

Convert a BIP32 private key to a raw private key

#bip32PrivateKeyFromMnemonic

bip32PrivateKeyFromMnemonic :: String -> Either String Bip32PrivateKey

Derive a BIP32 private key given a mnemonic phrase

#cip1852AccountFromBip32PrivateKey

cip1852AccountFromBip32PrivateKey :: UInt -> Bip32PrivateKey -> Cip1852Account

Derive a CIP1852 account from a BIP32 private key given an account index

#cip1852AccountFromMnemonic

cip1852AccountFromMnemonic :: String -> UInt -> Either String Cip1852Account

Derive a CIP1852 account given a mnemonic phrase and account index

#deriveDrepKey

deriveDrepKey :: Cip1852Account -> Bip32PrivateKey

Derive the DRep (Delegated Representative) key for the given account

#derivePaymentKey

derivePaymentKey :: Cip1852Account -> UInt -> Bip32PrivateKey

Derive a payment key for the given account

#deriveChangeKey

deriveChangeKey :: Cip1852Account -> UInt -> Bip32PrivateKey

Derive a change key for the given account

#deriveStakeKey

deriveStakeKey :: Cip1852Account -> Bip32PrivateKey

Derive the stake key for the given account

Modules