HORIZON HASKELLDocslts/ghc-9.14.x99ffbb82026-10-19Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 99ffbb8 · 2026-10-19

Derivation Path

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

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
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

Internal