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

Moduleweb3-polkadot-1.1.0.1Haskell2010

Network.Polkadot.Crypto

Polkadot signing types and methods.

  • 2 types
  • 3 classes
classclass Pair a where
#

Class suitable for typical cryptographic PKI key pair type.

Associated types

  • type family PublicKey a

    The type which is used to encode a public key.

  • type family Signature a

    The type used to represent a signature. Can be created from a key pair and a message and verified with the message and a public key.

Methods

Instances2Pair
  • Pair EcdsaDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Crypto
  • Pair Ed25519Defined in web3-polkadot-1.1.0.1 · Network.Polkadot.Crypto
classclass Pair a => MultiPair a where
#

Multiple cryptographic type support.

Associated types

  • type family MultiAddress a

    Universal short representation of signer account.

  • type family MultiSigner a

    Universal signer account identifier.

  • type family MultiSignature a

    Universal signature representation.

Methods

Instances2MultiPair
  • MultiPair EcdsaDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Crypto
  • MultiPair Ed25519Defined in web3-polkadot-1.1.0.1 · Network.Polkadot.Crypto
datadata Ed25519
#

Ed25519 cryptographic pair.

Instances9Eq, Show, MultiPair, Pair, PublicKey, Signature, …
datadata Ecdsa
#

ECDSA cryptographic pair.

Instances9Eq, Show, MultiPair, Pair, PublicKey, Signature, …