-
-
Save qbig/e882d7908882e7d8da7c0acd86c181b2 to your computer and use it in GitHub Desktop.
Ethereum Web3 Signing
This file contains 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
const message = web3.sha3('Hello World'); | |
const signature = await web3.eth.sign(account, message); | |
const { v, r, s } = ethUtil.fromRpcSig(signature); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment