Skip to content

Commit 4230761

Browse files
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 7725575 commit 4230761

7 files changed

Lines changed: 567 additions & 129 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
project: cardano-api
2+
pr: 1282
3+
kind:
4+
- feature
5+
- breaking
6+
- bugfix
7+
description: |
8+
Add plutus spending script support to createCompatibleTx. Breaking: it now takes all transaction content as a single CompatibleTxBodyContent record and fails with the new CompatibleTxError. Export mkSpendingScriptDatum. Fix certificate and proposal script witnesses missing from the witness set, and proposal reference inputs being overwritten. Remove the redundant StakeCredential field from WitTxCert.

0 commit comments

Comments
 (0)