Go wrapper for running nim-waku as a subprocess.
Go to file
Oskar Thoren b35b1fede2
Makefile; gitignore
2021-06-10 22:37:35 +08:00
examples/chat2 Add support for polling subscribed messages 2021-06-10 22:14:08 +08:00
go-waku Disable fleet checks 2021-06-10 20:35:00 +08:00
nwaku waku debug info error 2021-06-10 22:35:43 +08:00
.gitignore Makefile; gitignore 2021-06-10 22:37:35 +08:00
Makefile Makefile; gitignore 2021-06-10 22:37:35 +08:00
README.md Add API calls to README 2021-06-09 15:48:17 +08:00
go.mod go mod use local nwaku 2021-06-10 18:31:14 +08:00
go.sum go mod use local nwaku 2021-06-10 18:31:14 +08:00
nwaku.go waku debug info error 2021-06-10 22:35:43 +08:00

README.md

go-nwaku

Go wrapper for running nim-waku as a subprocess.

Rationale

  1. Provide a friendly interface to use Waku for Go environments.
  2. More wood behind fewer arrows; promote code reuse.

Direction

For similar projects, see: https://github.com/ethereum/py-geth

JSON RPC spec that nim-waku exposes: https://rfc.vac.dev/spec/16/

Running

  • (Temp) Ensure you have wakunode2 nim-waku in the bin directory

API calls used by chat2

  • DialPeer
  • AddStorePeer
  • Query
  • Subscribe
  • Publish
  • ListPeers