Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [whisper]

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

5
votes
1answer
235 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/...
0
votes
0answers
51 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 :)
4
votes
2answers
247 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
0answers
26 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
108 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
1answer
118 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
137 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 ...
3
votes
1answer
160 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
94 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 ...
0
votes
0answers
65 views

Can't get web3.shh (whisper) to post a message

I've started 2 wnodes on topic 8a2f110d with symmetric encryption's password=abc: wnode -topic=8a2f110d -boot=enode://fa63a6cc... The 2 wnodes can send & receive messages successfully. I start ...
5
votes
0answers
107 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 ...
3
votes
1answer
128 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 ...
0
votes
0answers
76 views

JSON RPC Curl query shh_getmessages method doesnt exist

Getting this error through curl query on shh_getMessages method. Any reason?? Other methods I'm using are working correctly. curl -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method"...
0
votes
0answers
96 views

How to send whisper messages to an ethereum address

I want to establish a communication channel between two ethereum addresses. I want to use whisper, however whisper requires the public key of the parties not the public address which is all I have, ...
1
vote
1answer
137 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
177 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
205 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 ...
0
votes
0answers
52 views

I cannot send asymmetrically encrypted message with Whisper

I have been able to deploy a private Ethereum blockchain and to sync 5 peers. I have also been able to send whisper messages using a symmetric key following the usage section given here . Now I am ...
0
votes
0answers
41 views

Question about PoW, cost and encryption of Whisper (the P2P message protocol)

I am learning Whisper now. I find a good overview explanation in geth, but I think it does not explain the detail clearly. I still have some problems: It said Whisper will user PoW. Are Whisper ...
1
vote
0answers
92 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 ...
2
votes
1answer
70 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 ...
1
vote
1answer
66 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 ...
1
vote
1answer
68 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
82 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
344 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 ...
3
votes
2answers
552 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 ...
10
votes
1answer
436 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 ...
1
vote
2answers
332 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 ...
6
votes
1answer
223 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 ...
0
votes
1answer
163 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 = ...
1
vote
1answer
416 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 ...
2
votes
1answer
199 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 ...
12
votes
1answer
1k 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....
2
votes
0answers
360 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 ...
4
votes
1answer
215 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?
2
votes
1answer
483 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 ...
1
vote
0answers
114 views

On-chain text encryption using Whisper protocol

Could one send a 10-character encrypted message within an ERC-20 transaction using the whisper protocol ON-CHAIN? Or could that only be achieved by running private nodes and setting up a p2p server? ...
1
vote
0answers
76 views

Alternate messaging infrastructure [closed]

How can organizations with existing messaging infrastructures integrate with Ethereum? For example, an organization with a large investment in Solace Messaging asked us how to integrate Ethereum ...
1
vote
1answer
83 views

Guard access to digital assets

In the datamarket project http://datamarket.at/ we would like to guard access to digital assets (data, services) which will not be stored on the Ethereum ledger. We will guard access to these ...
1
vote
0answers
244 views

Can I use web3.shh with Parity client?

I'm trying to whisper a message using web3.shh following the example here: https://github.com/paritytech/parity/wiki/Whisper-Overview web3.shh.post({ "topic": 't', "payload": 'p'}); And it throws an ...
2
votes
1answer
560 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 ...
3
votes
1answer
220 views

Whisper shh_getMessages not receiving posted messages with shh_post

I am using Whisper shh_post and posting some messages (multicast with no "to") and that seems to be working. I.e.: the response's error count is zero. And then I have another small console app that I ...
6
votes
1answer
1k views

Why is my Whisper message not relayed in Status.IM

I've installed the test version of Status.IM and tried to message other fellow users who were willing to share their contact with me. However, the messages are always stuck in sending status: Why is ...
6
votes
1answer
273 views

How does the private key generated in Whisper to decrypt the message

I am using Whisper private network to post the message and get the message. It is working fine. I analysed the process and found that there is no private key is generated. I have seen that the ...
1
vote
1answer
177 views

shh.filter() function in go-ethereum

I am using go-ethereum private network. I am using the web3.shh.filter() and it is working fine. I am not able to locate the filter() function in the code. In complete go-ethereum folder, I am ...
3
votes
0answers
64 views

getMessages() throwing error

I tried the following in the console: web3.shh.post({topics: ["a"], payload: "0x847a786376", ttl: "0x1E", workToProve: "0x9" }) var f = web3.shh.filter({topics: ["a"]}) f.get() [{ expiry: 0, ...
6
votes
1answer
752 views

How does one enable and use SWARM demon & Whisper messaging functionality provided by Geth 1.5?

The release notes for Geth 1.5 states that: The Swarm daemon (bzzd) and associated helper tools are included and somewhat functional. Whisper v5 PoC code is included in the repository, but not ...
4
votes
0answers
171 views

Whisper protocol: Version conflict between geth and ethereumj

I am trying to use whisper in a permissioned network with both geth and ethereumj nodes. The Java nodes detect the capability shh version 2 of their geth peers, but only check for nodes with ...
4
votes
1answer
402 views

Is possible to transfer data between nodes using cpp-ethereum's whisper protocol?

Right now I am working on developing a standalone application in C++ using libraries of cpp-ethereum, I was looking at the source code for cpp-ethereum and an idea stuck into my mind that wouldn't it ...
4
votes
1answer
484 views

How do the protocols used in Ethereum (e.g. Whisper, P2P protocol suite) map onto the OSI model?

It would be useful to have a mapping of all of the protocols involved with the Ethereum implementations on to the OSI model (or equivalent). The protocols might include: Whisper, devP2P, IPC, RPC, ...