Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Hydra.Tx.OnChainId
Description
Identifier or Head participants on-chain. That is, a participant in the Hydra Head protocol which authorizes protocol transitions on-chain.
Synopsis
- newtype OnChainId = UnsafeOnChainId ByteString
- genOnChainId :: Gen OnChainId
Documentation
Identifier for a Hydra Head participant on-chain.
Constructors
UnsafeOnChainId ByteString |
Instances
genOnChainId :: Gen OnChainId Source #
Generate an arbitrary OnChainId
of 28 bytes length.