I'm trying out whispers with web3
and geth
on a private testnet. I'm just running the following code taken from Ethereum Whisper wiki.
function sendWhisper() {
var shh = web3.shh;
var appName = "My silly app!";
var myName = "Gav Would";
var myIdentity = shh.newIdentity();
}
However, I'm getting this problem:
app.js:5318 Uncaught Error: The method shh_newIdentity does not exist/is not available
I'm having a wild guess that there is something wrong with geth
. According to this issue the JSON RPC shh_newIdentity
, should have been implemented already. Any ideas?