Questions tagged [whisper]

Whisper is an upcoming P2P messaging protocol that will be integrated into the EtherBrowser

Filter by
Sorted by
Tagged with
1
vote
1answer
144 views

How to run a simple Whisper (SHH) example

I am struggling to get a simple whisper (shh) example running. I am using the following versions: geth 1.9.24-stable-cc05b050 web3 6.14.5 I am running geth with the following command: geth --shh --rpc ...
1
vote
1answer
106 views

Topics in messages are ignored in filters from shh console

I have setup a private network for testing Whisper. I cannot make filters based on topics to be of any use, because regardless of how I set them, all messages are received. I already have found some ...
23
votes
5answers
25k views

How do I send an arbitary message to an Ethereum address?

How can I send a message to another Ethereum address? And how would that user receiving know that its a message? Is there an Ethereum wallet that will show that I sent a message to that address? And ...
2
votes
1answer
115 views

Exchange messages between two clients of Dapp without spending gas?

Let's say that I want to build a Dapp such that users can exchange messages between each other. I guess you can consider it a chat Dapp. Is there any way for the two users to find the "address" of ...
2
votes
1answer
53 views

Does geth removed whisper(--shh)?

Here (https://geth.ethereum.org/docs/interface/command-line-options) I can see that --shh flag exists, under geth v1.9.19-stable-3e064192 WHISPER (EXPERIMENTAL) OPTIONS: --shh ...
0
votes
0answers
30 views

What is a better way to use whisper to implement a chat room?

I want to use whisper to implement a chat room in my dapp. I learned about whisper, if you want to realize the function of private chat, you need to know the public key of other people. For a user who ...
1
vote
1answer
47 views

Messaging platform with public-private key pairs as identifier [closed]

Is there any platform available for Ethereum address 0x1d53.. to message 0xcc23..., and so on? It seems like there would be a lot of demand for something like that, which suggests it exists. Off-chain,...
4
votes
0answers
83 views

Does go-ethereum/whisper provides any kind of Public Key Server to obtain other nodes' public key

For example GnuPG has a Public Key Server, where users able to obtain other users public-keys by using a key ID. https://security.stackexchange.com/a/110146/179928: OpenPGP User IDs User IDs in ...
4
votes
2answers
677 views

How to send 1-N signalling or broadcast messages on Whisper?

From Whisper wiki: Low-latency, 1-1 or 1-N signalling messages. Shh.post(self, message:) and Whisper Usage / shh.post Creates a whisper message and injects it into the network for ...
1
vote
2answers
1k views

Do nodes need to have static IP addresses to connect to a private blockchain?

A private blockchain on Ethereum: When we want to add more than one nodes, e.g. two nodes A and B, to a private blockchain, we let node A add the other node: admin.addPeer() and node B call A. Both ...
1
vote
0answers
76 views

Are there any web3 libraries for react-native or for android light-client?

I want to create a chat application using the whisper protocol for android platform , But I'm trying to use the current web3 package with react-native but I'm unable to use it as web3 package has ...
7
votes
1answer
3k views

Current methods to send encrypted messages from contracts

I am trying to understand if there currently exists a method to send a message from a contract to another contract or a private address? What would the Solidity code for this look like? Perhaps events ...
3
votes
1answer
168 views

Does mainnet support Whisper protocol?

I am interested in Whisper. I read that Whisper is based on Ethereum p2p protocol on github. Then does ethereum mainnet support Whisper on itself too ? Anyway, what I wonder is ... 1. Is Whisper only ...
0
votes
1answer
152 views

How to use shh.subscribe

I want to use the web3-shh functionality. I used the example from readthedocs(web3-shh). Everything works except for the subscribe operation. It raises following error: ...
8
votes
1answer
508 views

How to start geth for whisper only without blockchain stuff?

I'm writing a chat app on top of Whisper; the app is supposed to manage the lifecycle of the Ethereum node. One way to build to is to use wnode in the background & communicate with it using ...
1
vote
1answer
162 views

How to connect REACT-NATIVE with whisper ethereum protocol using GETH or any light Client or API

is there any thing connect to whisper(web3.shh) protocol in react-native. How to connect REACT-NATIVE with whisper ethereum protocol using GETH or any light Client or API
2
votes
2answers
239 views

What is the current state of Swarm and Whisper?

What is the current state of Swarm ? Are they decentralized as they claim they are or they are still in development ? I am asking this because I've seen that there is no incentive for the nodes to ...
0
votes
1answer
55 views

Relationship between Ethereum block and Whisper

When a message is sent to another node with a whisper, it is immediately visible regardless of the block. If so, does the block have a record of using whisper?
0
votes
0answers
108 views

Is there any Ropsten (or any other testnet) node with whisper enabled?

I am trying the embark framework which has whisper integration. I wanted to deploy the dapp and test it live. If there is one could you let me know the endpoint and port. Thanks :)
3
votes
2answers
570 views

What are some good alternatives to Whisper for blockchain messaging?

I have been experimenting with Ethereum and I achieved good results with Whisper in a private network. The main problem though is that it is pretty slow even when nodes are running in the same ...
1
vote
0answers
47 views

Whisper shh subscribe VS newMessageFilter

Can anyone explain the difference between shh_subscribe and shh_newMessageFilter functions? Their getters (shh_subscription and shh_getFilterMessages) return almost identical results.
1
vote
0answers
88 views

How to enable mail server (mailserver) when starting a whisper node by using "geth"?

As title, I can't find any flag about enabling the "mailserver" when starting whisper node. However, I found a Diagnostic Tool called "wnode":https://github.com/ethereum/go-ethereum/wiki/Diagnostic-...
5
votes
0answers
214 views

What is the position of Whisper and Swarm in the Ethereum 2.0 Roadmap

Back in 2015, Ethereum vision was to be a "World Computer" relying on three main complementary technologies: Ethereum for decentralized Logic Swarm for decentralized Storage Whisper for decentralized ...
1
vote
0answers
12 views

Can I expose a dapp via whisper ?

I have a question regarding the possibility and probably the steps to do in order to be able to export my App via the whisper protocol. how to do it and in which case it can be better than other ...
6
votes
1answer
1k views

Whisper: How to send a message from one node to another that is located on different host?

geth version: 1.8.15-unstable Python: 3.5 OS: osx/linux I have followed this answer. On the answer's approach, I observe that each node can only send message to itself and other nodes don't filter/...
2
votes
0answers
428 views

A decentralized marketplace with Swarm/Whisper and Ethereum Smart Contract

I was thinking about a workflow where we could use Swarm, Whisper and Ethereum in order to sell any kind of digital data. I drew a sequence chart and I wanted to have some feedbacks: Is there ...
3
votes
1answer
331 views

Whisper: How could we print received messages that are actually stored in the memory when geth was closed or shh.newMessageFilter() is not activated?

Whisper Protocol is not well documented related to its usage. I believe this issue will help other users who might face with similar problem. Each sent message has time-to-live in seconds (ttl), that ...
1
vote
0answers
88 views

Whisper: Error: failed to reach the PoW target, specified pow time (5 seconds) was insufficient

From web3.py docs/SHH_API: ttl: Time-to-live in seconds. powTime: Maximal time in seconds to be spent on proof of work. powTarget: Minimal PoW target required for this message. On the ...
3
votes
1answer
768 views

web3.js: Error: The method shh_newSymKey does not exist/is not available on Web3.js

My main goal is to call web3.shh functions using RPC API , Web3.py or Web3.js. I can call web3.shh functions when I use geth attach; which is my last option to do. I am following this answer. geth ...
1
vote
1answer
265 views

Whisper Protocol: How could I use already generated keyPair or symKey after geth is restarted? Key pair cannot be stored //Error: non-existent key ID

My goal is to send a message from one ethereum node to another one by using same public key of the receiver. In order to accomplish it, I have followed this guide that uses Whisper Protocol. But after ...
3
votes
1answer
487 views

Whisper Protocol: How to decode the received message on the receiver node?

My goal is to send a message from one ethereum node to another one. In order to accomplish it, I have followed this answer that uses Whisper Protocol. In summary approach I followed from the linked ...
12
votes
1answer
2k views

Looking for a working Whisper example

I was looking to develop an application using Whisper & NodeJS and I'm having trouble finding an example that works and is updated. I've encountered this doc web3js.readthedocs.io/en/1.0/web3-shh....
3
votes
1answer
394 views

How do the ethereum components work together

hy i have been reading about the ethereum project and its components, i understand that there are 3 major components (EVM, swarm, whisper) Swarm is a peer to peer data sharing network in which files ...
1
vote
1answer
235 views

How can I receive message by golang - whisper

In geth --shh --rpc console, for example I type f = shh.newMessageFilter({privateKeyId: id}, function(error, messages){console.log(JSON.stringify(messages))}) to receive a posted message by ...
1
vote
1answer
1k views

Smart Contract events

I am developing a Dapp that contains a notification between two Users. for example : User 1 (Student): send a transaction that contains data to be confirmed. User 2 (Professor): receive a ...
2
votes
1answer
526 views

When should I use Whisper or PSS over Traditional Message Channel like AWS SQS?

What are the benefits using Whisper or swarm/PSS over using a centralized service like Amazon SQS? My use-case is: deliver information (to say to another party that they should do an action in a ...
3
votes
1answer
382 views

Sending whisper messages over testnet?

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 ...
6
votes
1answer
319 views

How much Whisper is reliable?

I'm thinking on how to implement a P2P messaging platform using Whisper (https://github.com/ethereum/wiki/wiki/Whisper), but before of starting designing a protocol on top of it and work on its ...
4
votes
1answer
267 views

How whisper messages being routed in Ethereum Network?

Does the Whisper messages are broadcasted to all Ethereum nodes? or is there any internal routing, if yes how?
3
votes
2answers
1k views

Using Whisper with web3.js

I have been trying to figure out how to interact with whisper using web3. I have been able to successfully send (and receive) a message using geth console, but have been unable to do the same using ...
1
vote
0answers
138 views

How does whisper work in Ethereum?

I am trying to build a Dapp and I need to send messages between any two users. The messages would be used to reach a sort of private agreement between them. The agreement then could be published on ...
1
vote
1answer
101 views

Disable proof of work in Whisper

I have a private network and am looking to disable Whisper's required Proof of Work when sending a message. This issue talks about how the source prevents this, but I'm wondering if there's another ...
2
votes
2answers
108 views

Where does Whisper store encryption keys?

I've noticed that whisper persists symmetric and asymmetric keys created in the geth console by referencing their id, but where does it save these keys, and can the directory be configured? Geth's --...
0
votes
3answers
614 views

Sending messages without fees

Are there any ways to send simple messages on the Ethereum blockchain without incurring any gas fees at all for the end user? If this can't be done with Ethereum in solidity or newly created ERC20 ...
1
vote
1answer
568 views

How to use Whisper protocol in solidity smart contract (Documentation)

I am developing a smart contract and it will need to communicate with ethereum user addresses (openly or privately). I need to make use of a encrypted messaging protocol. After some searching, I found ...
10
votes
1answer
540 views

Whisper V6 vs Whisper V5

Could some one please summarize the differences between V5 and V6 tell us where to find documentation - I could not find any although I understand this is in EIP 627 is it "production ready" ? say ...
2
votes
1answer
613 views

Can I send a whisper (shh) message to an Ethereum address?

It seems that we can only send a message by creating new symmetric keys and key pairs ( shh.newSymKey() and shh.newKeyPair() Then post shh.post() a message using the parameters: symKeyId which ...
0
votes
1answer
228 views

Geth and whisper default

I was playing with dumpconfig and after that added --shh and dumped configuration again to see the differences but there weren't any. My section of the Whisper config is: [Shh] MaxMessageSize = ...
2
votes
1answer
267 views

Does Swarm architecture supports streaming video files

Though the prototypes are less in number, swarm architecture is able to upload picture files (alpha tested in LETH android app).Is Swarm presently equipped to support streaming videos or pre-recorded ...
2
votes
1answer
882 views

Is there a layered architecture diagram for Ethereum?

I wonder if there is a layered architecture diagram for Ethereum that shows from the lowest level to the highest level like the one of Java (http://docs.oracle.com/javase/8/docs/index.html)? It could ...