hydra-tx-0.19.0: Hydra transaction library
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Tx.Commit

Synopsis

Documentation

mkCommitDatum :: Party -> UTxO -> CurrencySymbol -> Datum Source #

commitTx Source #

Arguments

:: NetworkId 
-> ScriptRegistry

Published Hydra scripts to reference.

-> HeadId 
-> Party 
-> CommitBlueprintTx Tx 
-> (TxIn, TxOut CtxUTxO, Hash PaymentKey)

The initial output (sent to each party) which should contain the PT and is locked by initial script

-> Tx 

Craft a commit transaction which includes the "committed" utxo as a datum.