e8c08ac18b | ||
---|---|---|
build | ||
ci | ||
coverage | ||
examples | ||
hooks | ||
tests | ||
waku | ||
.dockerignore | ||
.gitignore | ||
CHANGELOG.md | ||
Dockerfile | ||
LICENSE-APACHEv2 | ||
LICENSE-MIT | ||
Makefile | ||
README.md | ||
go.mod | ||
go.sum | ||
waku.go |
README.md
go-waku
A Go implementation of the Waku v2 protocol.
Install
Building from source
git clone https://github.com/status-im/go-waku
cd go-waku
make
# See the available command line options with
./build/waku --help
Docker
docker build -t go-waku:latest .
docker run go-waku:latest --help
Library
go get github.com/status-im/go-waku
Examples
Examples of usage of go-waku as a library can be found in the examples folder. There is a fully featured chat example.
Waku Protocol Support
- ✔: Supported
- 🚧: Implementation in progress
- ⛔: Support is not planned
Spec | Implementation Status |
---|---|
7/WAKU2 | ✔ |
10/WAKU2 | 🚧 |
11/WAKU2-RELAY | ✔ |
12/WAKU2-FILTER | ✔ |
13/WAKU2-STORE | ✔ |
14/WAKU2-MESSAGE | ✔ |
15/WAKU2-BRIDGE | ⛔ |
16/WAKU2-RPC | 🚧 |
17/WAKU2-RLNRELAY | |
18/WAKU2-SWAP | |
21/WAKU2-FTSTORE | ✔ |
22/TOY-CHAT | ✔ |
23/TOPICS | ✔ |
25/LIBP2P-DNS-DISCOVERY | 🚧 |
26/WAKU2-PAYLOAD | ✔ |
27/WAKU2-PEERS | ✔ |
29/WAKU2-CONFIG | 🚧 |
Contribution
Thank you for considering to help out with the source code! We welcome contributions from anyone on the internet, and are grateful for even the smallest of fixes!
If you'd like to contribute to go-waku, please fork, fix, commit and send a pull request. If you wish to submit more complex changes though, please check up with the core devs first to ensure those changes are in line with the general philosophy of the project and/or get some early feedback which can make both your efforts much lighter as well as our review and merge procedures quick and simple.
To build and test this repository, you need:
- Go (version 1.15 or later)
- protoc
- Protocol Buffers for Go with Gadgets
To enable the git hooks:
git config core.hooksPath hooks
License
Licensed and distributed under either of
- MIT license: LICENSE-MIT or http://opensource.org/licenses/MIT
or
- Apache License, Version 2.0, (LICENSE-APACHEv2 or http://www.apache.org/licenses/LICENSE-2.0)
at your option. These files may not be copied, modified, or distributed except according to those terms.