IntersectMBO / IntersectMBO/cardano-ledger

cardano-ledger-api documentation on adding Data to TxOut

Open
#3,258 0 comments 0 reactions 0 assignees View on GitHub
api-v1
Dominant language
Haskell
Stars
295
Forks
179
Avg merge
4d 7h
Merged PRs (30d)
29

Description

Add documentation with Haddock examples using doctests in `Cardano.Ledger.Api.Tx.Out` on how to create a `TxOut` with `DatumHash` and inline datum. We should also show how to add a supplemental datum hash (a datum added in the transaction body which is not needed for script execution, but must refer to a datum hash in one of the transaction outputs) and what happens if no transaction output refers to that supplemental datum hash.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.