go-waku/examples/basic2
Richard Ramos a3c67e0d42
feat: separate waku2 network (#179)
* chore: use go-discover instead of go-ethereum/p2p/discover
* feat: use validator function for discV5
2021-12-10 11:29:50 -04:00
..
build basic2 example 2021-04-04 15:33:21 -04:00
Makefile basic2 example 2021-04-04 15:33:21 -04:00
README.md basic2 example 2021-04-04 15:33:21 -04:00
go.mod feat: separate waku2 network (#179) 2021-12-10 11:29:50 -04:00
go.sum feat: separate waku2 network (#179) 2021-12-10 11:29:50 -04:00
main.go refactor: create separate functions for subscriptions and publishing 2021-11-19 20:04:38 -04:00

README.md

Using the basic2 application

Background

The basic2 application is a basic example app that demonstrates how to subscribe to and publish messages

Preparation

make

Basic application usage

To start the basic2 application run the following from the project directory

./build/basic2

The app will send a "Hello world!" through the wakurelay protocol every 2 seconds and display it on the terminal as soon as it receives the message