Skip to main content

One post tagged with "sign"

View All Tags

Sign and verify messages using xx Network wallet

· 2 min read

Sign

Go to Developer > Sign and Verify > Sign message

Pick an address ("wallet") to use and enter a message or other data you wish to sign with your wallet key to sign the following data.

This may be any text such as your Speakeasy codename, email address, etc.

Sign message from xx Network wallet

Click on the copy icon to copy the signature (signature of supplied data) to clipboard.

Verify

To verify, go to Verify signature rather than Sign and Verify.

Verify using address means the signer's wallet address (so, usually not your own).

You need to provide the same wallet and message that you got, and if everything checks out, the icon next to the supplied signature will become a green check mark.

Bad signatures will fail to verify.

Bad signature fails to verify

Bad data will also fail to verify against a correct signature.

Correct signature and content verify

To be successful, verification requires the same wallet, message data and signature that were used to generate the signature.

Correct verification

Non-deterministic signatures

xx Network uses Schnorrkel (sr25519) which doesn't create deterministic signatures.

For example, I created two additional signatures. Each time I got a valid, but different, signature to what I got in the first attempt.

  • 0x2a40ed0.......3187
  • 0xdec0ed9.......b78f