A collection of Whisper nodes with very specific logic forming Whisper bots.
Go to file
Adam Babik fbaa14d2b9
use :0 port
2018-12-07 17:13:59 +01:00
bin update README and fix Dockerfile 2018-09-06 15:02:10 +02:00
cmd use :0 port 2018-12-07 17:13:59 +01:00
protocol bench-mailserver: add initial code (#5) 2018-11-14 18:43:15 +01:00
vendor fix dependencies 2018-11-29 16:59:44 +01:00
.gitignore update README and fix Dockerfile 2018-09-06 15:02:10 +02:00
Dockerfile remove default topics and upgrade deps (#2) 2018-10-07 19:00:21 +02:00
Gopkg.lock fix dependencies 2018-11-29 16:59:44 +01:00
Gopkg.toml fix dependencies 2018-11-29 16:59:44 +01:00
Makefile improve timeouts for x-check-mailserver 2018-12-07 10:49:23 +01:00
README.md update README 2018-11-29 12:52:58 +01:00

README.md

statusd-bots

This is an alternative project to status-im/status-go-bots. The goal is to explore another possibility of creating bots that are self-contained Whisper nodes and do not require a Whisper node running aside.

Setup

Project dependencies are managed with dep. Please install it first.

In order to install all dependencies, execute:

$ make dependencies

This project uses github.com/ethereum/go-ethereum as a dependency but its source is changed to Status' fork status-im/go-ethereum which include patches required by another dependency github.com/status-im/status-go.

Cross-compilation

Cross-compilation is not provided, unforunately. Although, go-ethereum provides non-CGO support, it's not recommended.

Bots

pubchats

It follows Status (Whisper) public chats and provide logs and Prometheus metrics. Public chats can be read and write by any node and the mechanism to encrypt and find such messages is known.

$ ./bin/pubchats -h
Usage of ./bin/pubchats:
  -a, --addr string           listener IP address (default "127.0.0.1:30303")
  -c, --channel strings       public channels to track
  -d, --datadir string        directory for data
  -f, --fleet string          cluster fleet (default "eth.beta")
  -m, --metrics-addr string   metrics server listening address (default ":8080")
  -v, --verbosity string      verbosity level of status-go, options: crit, error, warning, info, debug (default "INFO")