Go implementation of Waku v2 protocol
Go to file
Richard Ramos 5e0d8706cf chore: rename rln flags and update urfave/cli dep 2022-10-19 15:40:15 -04:00
.github/workflows misc: add new issues and prs to Waku Product project board 2022-09-03 13:35:17 -04:00
build chore: release (#255) 2022-06-19 17:50:37 -04:00
ci ci: separate discord notification into a function 2022-10-19 09:50:27 +02:00
coverage fix: jenkinscript (#304) 2022-09-12 10:13:38 -04:00
dbutils refactor: use db for serving history queries (#243) 2022-05-30 14:48:22 -04:00
docs chore: rename rln flags and update urfave/cli dep 2022-10-19 15:40:15 -04:00
examples chore: rename rln flags and update urfave/cli dep 2022-10-19 15:40:15 -04:00
hooks feat: add git hook 2021-10-18 14:43:48 +02:00
library refactor(rln): credentials management 2022-10-10 17:41:28 -05:00
logging fix: logging.From panic (#268) 2022-07-23 08:12:56 -04:00
mobile fix(library): signature and pubkey empty string 2022-10-14 10:46:13 -05:00
pkg chore: release (#255) 2022-06-19 17:50:37 -04:00
scripts/linux chore: release (#255) 2022-06-19 17:50:37 -04:00
tests chore: improve docs 2022-07-25 11:28:17 -04:00
waku refactor(rln): credentials management 2022-10-10 17:41:28 -05:00
.dockerignore Dockerfile: add commit, log format, and make target (#83) 2021-10-15 12:47:23 +02:00
.gitignore feat: store credentials in a file 2022-08-15 14:40:10 -04:00
.gitmodules chore: use static rln lib and fix lint 2022-08-15 14:40:10 -04:00
.golangci.yaml feat: use generic flags and convert values to specific data types 2022-08-15 15:22:13 -04:00
CHANGELOG.md Initial commit 2021-03-11 16:27:12 -04:00
Dockerfile fix: dockerfile 2022-05-06 15:34:13 -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
Makefile chore: install go-bindata and add indexes to message table (#317) 2022-09-21 09:22:22 -04:00
README.md Update README.md 2022-09-06 18:18:19 -04:00
VERSION v0.2.2 2022-09-15 15:16:52 -04:00
go.mod chore: rename rln flags and update urfave/cli dep 2022-10-19 15:40:15 -04:00
go.sum chore: rename rln flags and update urfave/cli dep 2022-10-19 15:40:15 -04:00
waku.go feat: support multiple DNS discovery URLs (#309) 2022-09-14 15:19:11 -04:00
waku_no_rln.go feat: make rln optional 2022-08-15 14:41:58 -04:00
waku_rln.go chore: rename rln flags and update urfave/cli dep 2022-10-19 15:40:15 -04:00

README.md

go-waku

A Go implementation of the Waku v2 protocol.

Total alerts

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

Building on windows

Windows requires the following tools to be installed

Library

go get github.com/status-im/go-waku

C Bindings

make static-library
make dynamic-library

Mobile libraries

Requires gomobile

make mobile-android
make mobile-ios

Tutorials and documentation

Examples

Examples of usage of go-waku as a library can be found in the examples/ folder:

  • basic2 - demonstrates how to send and receive messages
  • chat2 - simple chat client using waku relay / lightpush + filter / store protocol to send/receive messages and retrieve message history
  • filter2 - demonstrates how to use filter protocol
  • c-bindings - simple program to demonstrate how to consume the go-waku library via C FFI
  • waku-csharp - C# console application that uses the go-waku library via FFI
  • android-kotlin - android app that uses a .jar generated by gomobile using kotlin

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:

To enable the git hooks:

git config core.hooksPath hooks

Bugs, Questions & Features

If you encounter any bug or would like to propose new features, feel free to open an issue.

For more general discussion, help and latest news, join #go-waku on Vac Discord or Telegram.

License

Licensed and distributed under either of

or

at your option. These files may not be copied, modified, or distributed except according to those terms.