Go implementation of Waku v2 protocol
Go to file
Richard Ramos ff8d4ef8a4
change ContentTopic from uint32 to string
2021-04-08 18:07:31 -04:00
cmd change ContentTopic from uint32 to string 2021-04-08 18:07:31 -04:00
examples fix: update go-waku version 2021-04-07 17:19:39 -04:00
tests Initial commit 2021-03-11 16:27:12 -04:00
waku change ContentTopic from uint32 to string 2021-04-08 18:07:31 -04:00
.gitignore Initial commit 2021-03-11 16:13:36 -04:00
CHANGELOG.md Initial commit 2021-03-11 16:27:12 -04:00
LICENSE-APACHEv2 Initial commit 2021-03-11 16:27:12 -04:00
LICENSE-MIT Initial commit 2021-03-11 16:27:12 -04:00
README.md example node used to emit/listen/retrieve messages 2021-04-04 13:07:50 -04:00
go.mod fix: nim-waku interop for store 2021-04-07 17:16:29 -04:00
go.sum use go-wakurelay-pubsub instead of go-libp2p-pubsub 2021-04-04 13:08:22 -04:00
waku.go add logs 2021-04-04 13:07:55 -04:00

README.md

go-waku

Examples

  1. Start a node that will continously send a "Hey" message to the default waku topic
go run waku.go --port 33331 --hey --nodekey 112233445566778899001122334455667788990011223344556677889900AAAA
  1. Node that will connect to the "Hey" node and store messages
go run waku.go --port 44441 --store --start-store --nodekey 112233445566778899001122334455667788990011223344556677889900BBBB --staticnodes /ip4/127.0.0.1/tcp/33331/p2p/16Uiu2HAmK4LBcnRWJctkhkbSFYBbNApYYbSeo8fkC496weKU1R5B
  1. Node that will connect to the Store node and use it to retrieve messages retrieve messages
go run waku.go --port 0 --store --nodekey 112233445566778899001122334455667788990011223344556677889900CCCC --staticnodes /ip4/127.0.0.1/tcp/44441/p2p/16Uiu2HAmVGaeLcyYoGjEKe8uPg5WVMVXyLDegbfyABKn95tH7jsU --storenode /ip4/127.0.0.1/tcp/44441/p2p/16Uiu2HAmVGaeLcyYoGjEKe8uPg5WVMVXyLDegbfyABKn95tH7jsU --query

  1. Node that will listen to the default topic by connecting to a node
go run waku.go --port 0 --store --nodekey 112233445566778899001122334455667788990011223344556677889900DDDD --staticnodes /ip4/127.0.0.1/tcp/44441/p2p/16Uiu2HAmVGaeLcyYoGjEKe8uPg5WVMVXyLDegbfyABKn95tH7jsU --listen