Commit 75f0875
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 75f0875
7 files changed
Lines changed: 570 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