hydra-cardano-api-0.20.0: A Haskell API for Cardano, tailored to the Hydra project.
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Cardano.Api.PolicyId

Synopsis

Orphans

Type conversions

toLedgerPolicyID :: PolicyId -> PolicyID StandardCrypto Source #

Convert Cardano api PolicyId to Cardano ledger PolicyID.

toPlutusCurrencySymbol :: PolicyId -> CurrencySymbol Source #

Convert Cardano api PolicyId to Plutus CurrencySymbol.

fromPlutusCurrencySymbol :: MonadFail m => CurrencySymbol -> m PolicyId Source #

Convert a plutus CurrencySymbol into a cardano-api PolicyId.

Orphan instances

Arbitrary PolicyId Source # 
Instance details