Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Wallet] Wallet as fee payer / collateral payer in ScriptTx #490

Open
satran004 opened this issue Feb 15, 2025 · 0 comments
Open

[Wallet] Wallet as fee payer / collateral payer in ScriptTx #490

satran004 opened this issue Feb 15, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@satran004
Copy link
Member

Currently, the Wallet interface works with all non-script transactions and UtxoSelectionStrategy implementations have been changed accordingly.
For ScriptTx, a few additional changes are required to handle cases when the wallet is used as a fee payer or collateral payer wallet.

Details about this limitation can be found in this PR #487

@satran004 satran004 added the enhancement New feature or request label Feb 15, 2025
satran004 added a commit that referenced this issue Feb 17, 2025
satran004 added a commit that referenced this issue Feb 17, 2025
satran004 added a commit that referenced this issue Mar 10, 2025
…ategy interface change to handle multiple addresses (#491)

* feat: #490 Add new methods getFirst(), clone() to AddressIterator

* feat: #490 Add AddressIterator support in balance, change outputs adjustment and collateral builder

* Add getFirst and clone methods to HDWalletAddressIterator

* Add flexible amount verification using predicates

* Add resetNetwork method to reset local devnet cluster

* #490 Cache collateral utxos

* Add a default `selectUtxos` method to UtxoSelectionStrategy

Introduce a new default method for UTXO selection with additional flexibility to exclude specific UTXOs.

* Add overloaded method for output amount verification with predicate

* Update method to retrieve all UTXOs including collateral utxos in signerFrom function

* Add ScriptTx integration tests for PlutusV3 scripts

* Fix fee payer check

* Fix collateral payer check

* #490 Extract Wallet interface and related changes

* Add option to search utxos by address vkh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant