Richard Ramos 8cf5f80529
fix: dial wss nodes and add ws to list of default transports (#274)
Also updates libp2p to latest version
2022-07-25 11:49:10 -04:00
..
2021-04-04 15:33:21 -04:00
2022-02-23 11:01:53 -04:00
2021-04-04 15:33:21 -04:00
2021-04-04 15:33:21 -04:00

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