go bindings for zerokit rln in x86_64 architectures
Go to file
Alvaro Revuelta f5fb416605
chore: bump zerokit to v0.5.1 (rlnv2 custom witness) (#5)
Co-authored-by: Richard Ramos <info@richardramos.me>
2024-05-29 17:34:42 +02:00
libs chore: bump zerokit to v0.5.1 (rlnv2 custom witness) (#5) 2024-05-29 17:34:42 +02:00
rln chore: bump zerokit to v0.5.1 (rlnv2 custom witness) (#5) 2024-05-29 17:34:42 +02:00
scripts chore: update zerokit to include atomic_operation 2023-05-17 15:06:29 -04:00
zerokit@85d71a5427 chore: bump zerokit to v0.5.1 (rlnv2 custom witness) (#5) 2024-05-29 17:34:42 +02:00
.gitmodules initial commit 2023-03-31 14:18:47 -04:00
LICENSE initial commit 2023-03-31 14:18:47 -04:00
Makefile initial commit 2023-03-31 14:18:47 -04:00
README.md chore: update README.md 2023-12-15 08:42:52 -04:00
cbindgen.toml initial commit 2023-03-31 14:18:47 -04:00
go.mod initial commit 2023-03-31 14:18:47 -04:00

README.md

This project is used in https://github.com/waku-org/go-zerokit-rln to bypass the 500mb limit for go modules

git clone https://github.com/waku-org/go-zerokit-rln_x86_64
cd go-zerokit-rln_x86_64
git submodule init
git submodule update --recursive
make

Updating zerokit

export ZEROKIT_COMMIT=master    # Use a commit, branch or tag
cd zerokit
git pull
git checkout ${ZEROKIT_COMMIT}
cd ..
make
git add zerokit
git add libs/*/librln.a
git commit -m "chore: bump zerokit"
git push

Adding a new architecture

  1. Edit ./scripts/build.sh to add the new architecture. Refer to this list of supported targets
  2. Edit ./rln/link.go to add a cgo build tag for the new architecture