Skip to content
This repository was archived by the owner on Aug 19, 2020. It is now read-only.

Commit f001037

Browse files
committed
Updated readme with information about how to enable peer-to-peer messaging.
1 parent a5b58d4 commit f001037

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

Readme.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,19 @@ Shhwift
33

44
A client for the [Ethereum Whisper][1] communication protocol, written in Swift.
55

6-
Currently requires a running Ethereum node with Whisper enabled on the JSON-RPC interface. For instance, by running [Ethereum Go][2] with the following parameters:
6+
### Running an ethereum node
7+
8+
Shhwift currently requires a running Ethereum node with Whisper enabled on the JSON-RPC interface. For instance, by running [Ethereum Go][2] with the following parameters:
79

810
geth --shh --rpc --rpcapi "shh"
911

12+
### Enabling Peer-to-peer messaging
13+
14+
The default Ethereum boot nodes currently do not run Whisper. This means that you won't be able to participate in the Whisper peer-to-peer network, unless you explicitly use a Whisper node as bootnode.
15+
16+
You can run such a bootnode yourself by running ``geth --shh`` and use the enode url that it prints upon startup as the bootnode argument for the other nodes:
17+
18+
geth --shh --rpc --rpcapi "shh" --bootnodes enode://<public key>@<ip address>:30303
19+
1020
[1]: https://github.com/ethereum/wiki/wiki/Whisper
11-
[2]: https://github.com/ethereum/go-ethereum
21+
[2]: https://github.com/ethereum/go-ethereum

0 commit comments

Comments
 (0)