I managed to setup a private blockchain and send whisper messages between my clients. Now, i want to accomplish the very same thing over either the mainnet or one of the testnets.

But it seems that no node i ever connect to in any of the networks has ssh enabled. My messages are not coming through.

Does anyone know of a working example of whisper messages delivered through the main- or one of the testnets?

I'm using geth for my experiment, if thats of any value

  • Can you tell me how you got your private blockchain with whisper working.. got a simple demo for me? Really want to try it out but can't figure. – rayray Apr 26 at 12:46
  • @rayray For the setup of the private blockchain, i used 2 VM who shared the same network. I followed this tutorial for setting up the private blockchain: hackernoon.com/… After that, i connected the nodes by executing "geth attach" and used "admin.addPeer(<enodeUrl>). You can see your enodeUrl by executing admin.nodeInfo. Then, i started geth with the arguments "geth --ws --wsapi 'web3,eth,shh' --wsorigins "*" -shh" and opened up the node console. web3js.readthedocs.io/en/1.0/web3-shh.html#post – user2762996 May 1 at 13:02

Currently, there is no incentive to route whisper messages through the main network, hence the majority of nodes will not have it enabled.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.