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?
Asked
Active
Viewed 511 times
2 Answers
3
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.
xtraelv
- 46
- 2
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.
Pieter Wuille
- 98,249
- 9
- 183
- 287