Skip to content

waku-org/waku-go-bindings

Repository files navigation

Waku Go Bindings

This repository provides Go bindings for the Waku library, enabling seamless integration with Go projects.

Installation

To build the required dependencies for this module, the make command needs to be executed. If you are integrating this module into another project via go get, ensure that you navigate to the waku-go-bindings module directory and run make.

Steps to Install

Follow these steps to install and set up the module:

  1. Make sure your system has the prerequisites to run a local nwaku node

  2. Retrieve the module using go get:

    go get -u github.com/waku-org/waku-go-bindings
    
  3. Navigate to the module's directory:

    cd $(go list -m -f '{{.Dir}}' github.com/waku-org/waku-go-bindings)
    
  4. Prepare third_party directory and clone nwaku

    sudo mkdir third_party
    sudo chown $USER third_party
    
  5. Build the dependencies:

    make -C waku
    

Now the module is ready for use in your project.

Note

In order to easily build the libwaku library on demand, it is recommended to add the following target in your project's Makefile:

LIBWAKU_DEP_PATH=$(shell go list -m -f '{{.Dir}}' github.com/waku-org/waku-go-bindings)

buildlib:
   cd $(LIBWAKU_DEP_PATH) &&\
   sudo mkdir -p third_party &&\
   sudo chown $(USER) third_party &&\
   make -C waku

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published