Tutorials

Sign and Verify

RVNBOX enables you to cryptographically prove ownership of an address via signing messages. You can also verify that ownership of an address from another person.

If, for example, you lost access to an account you could prove you were the owner that had been sending payments to that account by signing a specific message from that address.

Or someone could potentially give you a loan or credit using a signature from a wallet holding a certain amount of funds as proof that you could repay them.

Sign a message

You can sign a message w/ any address in your RVNBOX. It doesn’t matter if it’s in legacy encoding. Just paste the address into the address field and type the message that you want to sign. Then click the ‘Sign’ button and if you have entered a valid address that has keys in your RVNBOX you’ll see a signature appear.

Converter

You can share this message, address and signature with anyone and they can verify that you are the owner of that address.

Verify a message

You can verify a message from any address on the Ravencoin network. Just paste in the message, address and signature provided and click the ‘Verify’ button. If the address and signature are both valid format and the signature matches the message and the address you’ll get a green ‘Valid message’ response.

Converter

If the address or signature are incorrectly formatted or the signature doesn’t match the message and address you’ll get an error message.

Converter

Using the command line

RVNBOX supports the entire Ravencoin RPC. rvnbox-sdk now supports, signmessagewithprivkey and verifymessage.

Sign

RVNBOX.RavenCoin.signMessageWithPrivKey(
  'KxtpRDUJDiutLaTV8Vuavhb6h7zq9YV9ZKA3dU79PCgYmNVmkkvS',
  'EARTH'
)
// IIYVhlo2Z6TWFjYX1+YM+7vQKz0m+zYdSe4eYpFLuAQDEZXqll7lZC8Au22VI2LLP5x+IerZckVk3QQPsA3e8/8=

Verify

RVNBOX.RavenCoin.verifyMessage(
  'qp2zvw3zpk5xx43w4tve7mtekd9kaxwj4uenq9eupv',
  'IIYVhlo2Z6TWFjYX1+YM+7vQKz0m+zYdSe4eYpFLuAQDEZXqll7lZC8Au22VI2LLP5x+IerZckVk3QQPsA3e8/8=',
  'EARTH'
)
true

Share on...