Created
August 14, 2018 14:20
-
-
Save davidp94/e9757e4990a6cc7022b7d0b61fbecb03 to your computer and use it in GitHub Desktop.
Call Metamask to sign random data from web developers console
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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