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.
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.
You can share this message, address and signature with anyone and they can verify that you are the owner of that address.
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.
If the address or signature are incorrectly formatted or the signature doesn’t match the message and address you’ll get an error message.
RVNBOX supports the entire Ravencoin RPC. rvnbox-sdk now supports, signmessagewithprivkey and verifymessage.
RVNBOX.RavenCoin.signMessageWithPrivKey(
'KxtpRDUJDiutLaTV8Vuavhb6h7zq9YV9ZKA3dU79PCgYmNVmkkvS',
'EARTH'
)
// IIYVhlo2Z6TWFjYX1+YM+7vQKz0m+zYdSe4eYpFLuAQDEZXqll7lZC8Au22VI2LLP5x+IerZckVk3QQPsA3e8/8=
RVNBOX.RavenCoin.verifyMessage(
'qp2zvw3zpk5xx43w4tve7mtekd9kaxwj4uenq9eupv',
'IIYVhlo2Z6TWFjYX1+YM+7vQKz0m+zYdSe4eYpFLuAQDEZXqll7lZC8Au22VI2LLP5x+IerZckVk3QQPsA3e8/8=',
'EARTH'
)
true