I have:
- A geth account
- Access to web3 API
I want to:
- Invoke the function,
web3.eth.sign(coinbase, sha)
If I put this in a javascript file sign.js
, and I call node.js, will it sign my message? Or does my geth account have to be unlocked? Can I unlock it in bash and then call node.js?
Thanks!