HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Modulecardano-addresses-4.0.2Haskell2010

Options.Applicative.Derivation

  • 2 types
  • 15 values

Derivation Path

0 declarations

Type

newtypenewtype DerivationPath
#

Represent a user-provided DerivationPath.

Instances2Eq, Show
  • Eq DerivationPathDefined in cardano-addresses-4.0.2 · Options.Applicative.Derivation
  • Show DerivationPathDefined in cardano-addresses-4.0.2 · Options.Applicative.Derivation
valuederivationPathToString :: DerivationPath -> String
#

Applicative Parser

valuederivationPathArg :: Parser DerivationPath
#

Derivation Index

6 declarations
newtypenewtype DerivationIndex
#
Instances4Bounded, Eq, Ord, Show
  • Bounded DerivationIndexDefined in cardano-addresses-4.0.2 · Options.Applicative.Derivation
  • Eq DerivationIndexDefined in cardano-addresses-4.0.2 · Options.Applicative.Derivation
  • Ord DerivationIndexDefined in cardano-addresses-4.0.2 · Options.Applicative.Derivation
  • Show DerivationIndexDefined in cardano-addresses-4.0.2 · Options.Applicative.Derivation
valuemkDerivationIndex :: Integer -> Either String DerivationIndex
#

Smart-constructor for a DerivationIndex

valuefirstHardened :: DerivationIndex
#

Get the first DerivationIndex considered hardened.

valueindexToInteger :: DerivationIndex -> Integer
#

Safely cast a DerivationIndex to an Integer.

valuederivationIndexToString :: DerivationIndex -> String
#

Convert a DerivationIndex back to string.

valuederivationIndexFromString :: String -> Either String DerivationIndex
#

Convert a string to a derivation index. String must be followed by a capital H to mark hardened index. For example 0 refers to the first soft index, whereas 0H refers to the first hardened index.

XPub Pub XPrv / KeyHash

5 declarations

Internal

1 declaration