-
Notifications
You must be signed in to change notification settings - Fork 18
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
verify signature against public key sighash #54
Comments
Hi Peswani, I'm quite surprised because it's our first time to see people using Electrum as a Python library. Could you give us more information like how you run the code, so that we can easily reproduce and help figure it out? Btw, though we do support Electrum in long term, we have another library bgoldjs-lib which is much more developer friendly. It's based on javascript, though. I'm also very happy to help if you want to know how it could be done with bgoldjs-lib. |
@h4x3rotab Thanks for the information. I am working on trezor support. elecrtumg does not support it as of now .Because trezor library is in python so I've choose electrumg for referencing. I've created my own UI as well for the wallet. my issue is how can I know that the signature belong to a particular public key in case of multisig. for this I have referenced electrumg code.
The above code take reference from Transaction class in |
I am working on trezor multisig support
I've a raw transaction 2of3 multisig signed by 1 cosigner
Signed hex
public keys involved
transaction details
I want to verify from which public key signed the transaction out of 3 public key
I tried with the below code in electrumg
The output of this comes
As you can see no public key match with original public keys. they all start with 02 and my public keys start with 03
Please help me.
The text was updated successfully, but these errors were encountered: