How do I verify that a signature is signed by the address?
Closed this issue · 2 comments
markibanez commented
Hi,
Using your @gemwallet/api package, I am able to sign string messages. I'm not sure how I would validate this in my backend though? The same way I would with ethersjs on the ethereum side of things. I had a look at this repo https://github.com/XRPL-Labs/verify-xrpl-signature but it looks like it is not applicable here.
Appreciate any help. Thank you.
markibanez commented
Nevermind, I found the solution
FlorianBouron commented
Hi @markibanez,
I've just seen your issue.
Yes you can do it like this: https://github.com/GemWallet/web3-auth-starter/blob/master/index.js#L40