Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.CLI.Run.Mnemonic
Synopsis
- generateMnemonic :: forall (m :: Type -> Type). MonadIO m => MnemonicSize -> Maybe (File () 'Out) -> ExceptT KeyCmdError m ()
- extendedSigningKeyFromMnemonicImpl :: KeyOutputFormat -> ExtendedSigningType -> Word32 -> MnemonicSource -> SigningKeyFile 'Out -> ExceptT KeyCmdError IO ()
Documentation
Arguments
:: forall (m :: Type -> Type). MonadIO m | |
=> MnemonicSize | The number of words in the mnemonic. |
-> Maybe (File () 'Out) | The file to write the mnemonic to. If |
-> ExceptT KeyCmdError m () |
Generate a mnemonic and write it to a file or stdout.
extendedSigningKeyFromMnemonicImpl Source #
Arguments
:: KeyOutputFormat | The format in which to write the signing key. |
-> ExtendedSigningType | The type of the extended signing key to derive with an optional payment key index. |
-> Word32 | The account index. |
-> MnemonicSource | The source of the mnemonic (either file or stdin). |
-> SigningKeyFile 'Out | The file to write the signing key to. |
-> ExceptT KeyCmdError IO () |
Derive an extended signing key from a mnemonic and write it to a file.