Skip to content

Instantly share code, notes, and snippets.

@ajb413
Created July 7, 2020 21:40
Show Gist options
  • Save ajb413/e43cf9f245d712b549ac08a1a5911791 to your computer and use it in GitHub Desktop.
Save ajb413/e43cf9f245d712b549ac08a1a5911791 to your computer and use it in GitHub Desktop.
const sig = signature.value;
const r = '0x' + sig.substring(2).substring(0, 64);
const s = '0x' + sig.substring(2).substring(64, 128);
const v = '0x' + sig.substring(2).substring(128, 130);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment