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

Transaction Composition API v2 #2245

Open
adamkrellenstein opened this issue Sep 18, 2024 · 0 comments
Open

Transaction Composition API v2 #2245

adamkrellenstein opened this issue Sep 18, 2024 · 0 comments

Comments

@adamkrellenstein
Copy link
Member

adamkrellenstein commented Sep 18, 2024

The minimal responsability of the server is just to construct the data/outputs, and to order the inputs if necessary. We want to remove utxo_locks, etc. And we'll need to continue supporting the current code as v1 ofc.

We should support having the node fetch the pubkey and unspent_set from an electrs service determined by --electrs-url (defaulting to api.counterparty.io:3000); if the user passes those params in during tx construction, then no connection is made; if a user sets --electrs-url='', then those params are required for tx construction. (We could also allow fetching from a local bitcoind instance for cases where the source are in bitcoind's wallet and that service is tracking the necessary UTXOs.

@adamkrellenstein adamkrellenstein changed the title Refactor Transaction Composition Refactor Transaction Composition; Allow for Client-Side UTXO Selection Sep 19, 2024
@adamkrellenstein adamkrellenstein changed the title Refactor Transaction Composition; Allow for Client-Side UTXO Selection Transaction Composition API v2 Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant