Is there a library to verify a signed message with a provided monero address in Javascript only? I'm trying to build an app in javascript that takes a signed message and verifies that a particular address owns that message.

If there is no javascript library that can do this. Where can I start to figuring out how to go about this?

1 Answer 1


Check out Lugi's repo. There's a page sign.html which will have the code you need.

generates and verifies signatures on arbitrary data using one of your account private keys (spend key or view key)

The same tools are hosted here for experimenting: https://xmr.llcoins.net/sign.html

  • so i cannot verify a message with just the address alone? Oct 30, 2017 at 19:54
  • Did you even check out the site?
    – JollyMort
    Oct 30, 2017 at 19:59
  • i did what i meant was just using the public monero address only to do the verification. your answer says "using one of your account private keys". I'm not going to have the private keys of these public addresses. all I'm going to have is the monero public address and just the signed message. Oct 30, 2017 at 21:15
  • If you opened the link you'd see the address is made part of the signature and the signature is produced by either of the private keys.
    – JollyMort
    Oct 31, 2017 at 5:28
  • 1
    I'm guessing the private key is for generation, not for verification.
    – user36303
    Oct 31, 2017 at 16:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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