Skip to content

Instantly share code, notes, and snippets.

@davidp94
Created August 14, 2018 14:20
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save davidp94/e9757e4990a6cc7022b7d0b61fbecb03 to your computer and use it in GitHub Desktop.
Call Metamask to sign random data from web developers console
web3.eth.sign(web3.toChecksumAddress(web3.eth.accounts[0]), web3.sha3("hello this is a message to be signed"), console.log)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment