atlas-cardano-0.6.2: Application backend for Plutus smart contracts on Cardano
Copyright(c) 2023 GYELD GMBH
LicenseApache 2.0
Maintainer[email protected]
Stabilitydevelop
Safe HaskellSafe-Inferred
LanguageGHC2021

GeniusYield.Types.Wallet

Description

 
Synopsis

Documentation

data WalletKeys #

Opaque type to represent keys of wallet.

type Mnemonic = [Text] #

walletKeysFromMnemonicMnemonicEither String WalletKeys #

Derives WalletKeys from mnemonic with first account index, using derivation path 1852H1815H0H20 for stake key and derivation path 1852H1815H0H00 for payment key.

walletKeysFromMnemonicWithAccIndexMnemonicWord32Either String WalletKeys #

Derives WalletKeys from mnemonic for the given account index, using derivation path `1852H1815HiH20` for stake key and derivation path 1852H1815HiH00 for payment key where i denotes account index.

walletKeysFromMnemonicIndexedMnemonicWord32Word32Either String WalletKeys #

Derives WalletKeys from mnemonic with the given account index and payment address index, thus using derivation path 1852H1815HiH20 for stake key and derivation path 1852H1815HiH0p for payment key where i denotes the account index and p denotes the given payment address index.

writeExtendedPaymentSigningKeyTextEnvelopeMnemonicFilePathIO () #

Deprecated: Use combination of walletKeysFromMnemonic, walletKeysToExtendedPaymentSigningKey and writeExtendedPaymentSigningKey.

Writes TextEnvelope with type PaymentExtendedSigningKeyShelley_ed25519_bip32 from mnemonic.

writeStakeSigningKeyTextEnvelopeMnemonicFilePathIO () #

Deprecated: Use combination of walletKeysFromMnemonic, walletKeysToExtendedStakeSigningKey and writeExtendedStakeSigningKey.

Writes TextEnvelope with type StakeExtendedSigningKeyShelley_ed25519_bip32 from mnemonic.

walletKeysToAddressWalletKeysGYNetworkIdGYAddress #

Gives the delegation address made using extended payment and stake keys.