cardano-ledger-test-9.9.9.9: Testing harness, tests and benchmarks for Shelley style cardano ledgers
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Cardano.Ledger.Generic.Indexed

Description

Tools for building unique Key (and related types) by just supplying an Int Each Int returns a different Key (or related type) Useful when writing unit tests

Synopsis

Documentation

newtype SKey (kr ∷ KeyRole) c Source #

A signing key

Constructors

SKey (SignKeyDSIGN c) 

theKeyPairCrypto c ⇒ IntKeyPair kr c Source #

theVKeyCrypto c ⇒ IntVKey kr c Source #

theSKey ∷ ∀ c kr. Crypto c ⇒ IntSKey kr c Source #

theKeyHashCrypto c ⇒ IntKeyHash kr c Source #

aScriptHashObj ∷ ∀ era kr. EraScript era ⇒ Proof era → Script era → Credential kr (EraCrypto era) Source #