34 lines
1.0 KiB
Markdown
Raw Normal View History

2024-11-27 12:08:50 +02:00
# 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:
2025-01-22 18:58:40 +01:00
1. Make sure your system has the [prerequisites](https://docs.waku.org/guides/nwaku/build-source#prerequisites) to run a local nwaku node
2. Retrieve the module using `go get`:
2024-11-27 12:08:50 +02:00
```
go get -u github.com/waku-org/waku-go-bindings
```
2025-01-22 18:58:40 +01:00
3. Navigate to the module's directory:
2024-11-27 12:08:50 +02:00
```
cd $(go list -m -f '{{.Dir}}' github.com/waku-org/waku-go-bindings)
```
2025-03-11 10:57:48 +01:00
4. Prepare third_party directory and clone nwaku
2024-11-27 12:08:50 +02:00
```
2025-03-11 10:57:48 +01:00
sudo mkdir third_party
sudo chown $USER third_party
```
5. Build the dependencies:
```
make -C waku
2024-11-27 12:08:50 +02:00
```
Now the module is ready for use in your project.