cardano-crypto-1.3.0: Cryptography primitives for cardano
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Crypto.Wallet.Pure

Synopsis

Documentation

data XPrv Source #

Constructors

XPrv !Scalar !ChainCode 

data XPub Source #

Instances

Instances details
Generic XPub Source # 
Instance details

Defined in Cardano.Crypto.Wallet.Pure

Associated Types

type Rep XPub :: Type -> Type #

Methods

from :: XPub -> Rep XPub x #

to :: Rep XPub x -> XPub #

Show XPub Source # 
Instance details

Defined in Cardano.Crypto.Wallet.Pure

Methods

showsPrec :: Int -> XPub -> ShowS #

show :: XPub -> String #

showList :: [XPub] -> ShowS #

NFData XPub Source # 
Instance details

Defined in Cardano.Crypto.Wallet.Pure

Methods

rnf :: XPub -> () #

Eq XPub Source # 
Instance details

Defined in Cardano.Crypto.Wallet.Pure

Methods

(==) :: XPub -> XPub -> Bool #

(/=) :: XPub -> XPub -> Bool #

Ord XPub Source # 
Instance details

Defined in Cardano.Crypto.Wallet.Pure

Methods

compare :: XPub -> XPub -> Ordering #

(<) :: XPub -> XPub -> Bool #

(<=) :: XPub -> XPub -> Bool #

(>) :: XPub -> XPub -> Bool #

(>=) :: XPub -> XPub -> Bool #

max :: XPub -> XPub -> XPub #

min :: XPub -> XPub -> XPub #

Hashable XPub Source # 
Instance details

Defined in Cardano.Crypto.Wallet.Pure

Methods

hashWithSalt :: Int -> XPub -> Int #

hash :: XPub -> Int #

type Rep XPub Source # 
Instance details

Defined in Cardano.Crypto.Wallet.Pure

type Rep XPub = D1 ('MetaData "XPub" "Cardano.Crypto.Wallet.Pure" "cardano-crypto-1.3.0-86AJXuhOxHIyvBNHGbU6a" 'False) (C1 ('MetaCons "XPub" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PointCompressed) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ChainCode)))

deriveXPub :: XPub -> Word32 -> XPub Source #

Derive a child public from an extended public key