| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Wasm.Api.Wallet
Synopsis
- data WalletObject
- generatePaymentWalletImpl :: IO WalletObject
- generateStakeWalletImpl :: IO WalletObject
- restorePaymentWalletFromSigningKeyBech32Impl :: String -> IO WalletObject
- restoreStakeWalletFromSigningKeyBech32Impl :: String -> String -> IO WalletObject
- generateTestnetPaymentWalletImpl :: Int -> IO WalletObject
- generateTestnetStakeWalletImpl :: Int -> IO WalletObject
- restoreTestnetPaymentWalletFromSigningKeyBech32Impl :: Int -> String -> IO WalletObject
- restoreTestnetStakeWalletFromSigningKeyBech32Impl :: Int -> String -> String -> IO WalletObject
- getAddressBech32Impl :: WalletObject -> String
- getBech32ForPaymentVerificationKeyImpl :: WalletObject -> String
- getBech32ForPaymentSigningKeyImpl :: WalletObject -> String
- getBech32ForStakeVerificationKeyImpl :: WalletObject -> String
- getBech32ForStakeSigningKeyImpl :: WalletObject -> String
- getBase16ForPaymentVerificationKeyHashImpl :: WalletObject -> String
- getBase16ForStakeVerificationKeyHashImpl :: WalletObject -> String
Documentation
data WalletObject Source #
Constructors
| PaymentWallet | |
| StakeWallet | |
Instances
generatePaymentWalletImpl :: IO WalletObject Source #
Generate a simple payment wallet for mainnet.
generateStakeWalletImpl :: IO WalletObject Source #
Generate a stake wallet for mainnet.
restorePaymentWalletFromSigningKeyBech32Impl :: String -> IO WalletObject Source #
Restore a mainnet payment wallet from a Bech32 encoded signing key.
restoreStakeWalletFromSigningKeyBech32Impl :: String -> String -> IO WalletObject Source #
Restore a mainnet stake wallet from Bech32 encoded signing keys.
generateTestnetPaymentWalletImpl :: Int -> IO WalletObject Source #
Generate a simple payment wallet for testnet, given the testnet's network magic.
generateTestnetStakeWalletImpl :: Int -> IO WalletObject Source #
Generate a stake wallet for testnet, given the testnet's network magic.
restoreTestnetPaymentWalletFromSigningKeyBech32Impl :: Int -> String -> IO WalletObject Source #
Restore a testnet payment wallet from a Bech32 encoded signing key.
restoreTestnetStakeWalletFromSigningKeyBech32Impl :: Int -> String -> String -> IO WalletObject Source #
Restore a testnet stake wallet from Bech32 encoded signing keys.
getAddressBech32Impl :: WalletObject -> String Source #
Get the Bech32 representation of the address. (Can be shared for receiving funds.)
getBech32ForPaymentVerificationKeyImpl :: WalletObject -> String Source #
Get the Bech32 representation of the verification key of the wallet. (Can be shared for verification.)
getBech32ForPaymentSigningKeyImpl :: WalletObject -> String Source #
Get the Bech32 representation of the signing key of the wallet, if any. (Must be kept secret.)
getBech32ForStakeVerificationKeyImpl :: WalletObject -> String Source #
Get the Bech32 representation of the stake verification key of the wallet. (Can be shared for verification.)
getBech32ForStakeSigningKeyImpl :: WalletObject -> String Source #
Get the Bech32 representation of the stake signing key of the wallet, if any. (Must be kept secret.)
getBase16ForPaymentVerificationKeyHashImpl :: WalletObject -> String Source #
Get the base16 representation of the hash of the verification key of the wallet.
getBase16ForStakeVerificationKeyHashImpl :: WalletObject -> String Source #
Get the base16 representation of the hash of the stake verification key of the wallet.