Created
February 28, 2019 18:36
-
-
Save sparrowDom/9346c7384a245d1dfbc584c648d182ec to your computer and use it in GitHub Desktop.
Message signature
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
import contracts from '../../contracts' | |
export default async (_, { address, message }) => { | |
console.log("Signing ", message, "with account", address) | |
return await contracts.web3.eth.sign(message, address) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment