-
Notifications
You must be signed in to change notification settings - Fork 810
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
Allow optional signing in createTX http endpoint #444
Conversation
This will also allow for creating unsigned transactions from watchOnly wallets. |
Instead of this breaking change, why not add another end point? |
Another endpoint is fine by me, although another solution would be to not attempt to sign the transaction if it is a watchOnly wallet - instead just return the unsigned transaction. |
We could also add |
Yup, that sounds good. |
While we're here, we should accomodate the offline signing use case, for which we need derivation paths for inputs: see #485 We can add support for this by simply returning |
|
Since most of the time when we create a raw transaction, we also need the input paths for offline signing, I propose we leave this call as it is and create a new endpoint (maybe |
What about |
c2c107d
to
eb6dd4e
Compare
eb6dd4e
to
1b92e7b
Compare
@tuxcanfly That would make sense, but that belongs to new Pull request that can update all the API methods with necessary changes. Probably create an issue and move discussion there. I will keep this simple and just update |
This comment has been minimized.
This comment has been minimized.
Can we get this merged? Feature is highly desired. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Let's create a new issue to follow up on offline signing.
HTTP Endpoint for creating transaction is also signing the transaction.
We have another endpoint /sign which can be used for signing.