-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: tx-builder now supports spending from plutus scripts
BREAKING CHANGE: Input selectors now return selected inputs in lexicographic order - new input selection parameter added 'mustSpendUtxo', which force such UTXOs to be part of the selection - txBuilder now takes a new optional dependency TxEvaluator - added to the txBuilder the following new methods 'addInput', 'addReferenceInput' and 'addDatum' - the txBuilder now supports spending from script inputs - the txBuilder now resolve unknown inputs from on-chain data - outputBuilder 'datum' function can now take PlutusData as inline datum - added to the OutputBuilder a new method 'scriptReference' - walletUtilContext now requires an additional property 'chainHistoryProvider' - initializeTx now takes the list of redeemerByType and the script versions of the plutus scripts in the transaction
- Loading branch information
1 parent
8b0731d
commit 936351e
Showing
45 changed files
with
2,270 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.