Go wrapper for running nim-waku as a subprocess.
Go to file
Oskar Thoren 81422a4536
Fix up nwaku module interface
2021-06-10 18:30:51 +08:00
examples/chat2 fix chat2 go mod vendor 2021-06-10 17:26:04 +08:00
go-waku Move go-waku to subdir 2021-06-09 14:49:22 +08:00
nwaku Fix up nwaku module interface 2021-06-10 18:30:51 +08:00
.gitignore Update go mod path and gitignore 2021-06-09 15:34:29 +08:00
README.md Add API calls to README 2021-06-09 15:48:17 +08:00
go.mod nwaku gomod move to top level 2021-06-10 17:14:15 +08:00
go.sum nwaku gomod move to top level 2021-06-10 17:14:15 +08:00
nwaku.go Fix up nwaku module interface 2021-06-10 18:30:51 +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