Commit 70d5345
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 91c64f2 commit 70d5345
7 files changed
Lines changed: 568 additions & 126 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