Commit 26aaf4a
committed
Add plutus script support to the compatible transaction API
createCompatibleTx now takes a CompatibleTxBodyContent record with
per-input AnyWitness values, and computes spending redeemer pointers,
witness datums, the script integrity hash, collateral inputs,
transaction metadata and the validity upper bound. Witness indexing is
shared with the experimental transaction builder. Also export the
mkSpendingScriptDatum smart constructor from Cardano.Api.Experimental.1 parent 38fa4b2 commit 26aaf4a
7 files changed
Lines changed: 568 additions & 125 deletions
File tree
- .changes
- cardano-api
- src/Cardano/Api
- Compatible
- Experimental
- Plutus/Internal
- Internal/Orphans
- test/cardano-api-test/Test/Cardano/Api/Experimental
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments