A collection of Whisper nodes with very specific logic forming Whisper bots.
Go to file
Jakub Sokołowski 0da56ebe56
use a subdir for data dirs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-23 22:54:23 +02:00
bin update README and fix Dockerfile 2018-09-06 15:02:10 +02:00
cmd use a subdir for data dirs 2020-07-23 22:54:23 +02:00
.gitignore Use messenger in x-check-mailserver (#13) 2020-03-05 20:02:13 +01:00
Dockerfile remove default topics and upgrade deps (#2) 2018-10-07 19:00:21 +02:00
Makefile Use messenger in x-check-mailserver (#13) 2020-03-05 20:02:13 +01:00
README.md update README 2018-11-29 12:52:58 +01:00
go.mod fix chats renamed to channels 2020-03-17 11:46:04 +01:00
go.sum Use messenger in x-check-mailserver (#13) 2020-03-05 20:02:13 +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")