mirror of https://github.com/status-im/go-waku.git
1991a54d64
Uses libp2p network notifier to determine when a peer connects or disconnects, as well as using the host network peerstore instead of managing out own separate peer map |
||
---|---|---|
.. | ||
build | ||
Makefile | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go |
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