unisat-wallet / wallet-sdk

ISC License
43 stars 26 forks source link

can ignMessage add support for schnorr signature? #6

Closed xcshuan closed 6 months ago

xcshuan commented 6 months ago

p2tr is bound to a schnorr public key, but when connecting to the p2tr address and call signMessage, we still get the ecdsa signature, which is inconsistent. The sdk caller cannot verify the signature of the signMessage using the Schnorr public key parsed in p2tr. Can signMessage add the schnorr option?