0

I created a signature from a message using my private key. But how do I verify this signed message using my segwit addresses of 3... or bc1...? How do I verify this using the BitcoinJS library?

2

A Trezor signed message with a 3 address can be verified here:

https://jhoenicke.github.io/brainwallet.github.io/#verify

Or your can verify it with another Trezor wallet.

1

There is no established standard (yet) for signatures with addresses other than P2PKH (1...) addresses.

So whatever signature you created, it will only verify against the corresponding P2PKH address.

There is some ongoing discussion about new message signatures for this purpose, but nothing concrete.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.