go bindings for zerokit rln in x86_64 architectures
Go to file
Alvaro Revuelta f90cfc88a1
chore: bump zerokit v0.3.5 to include proof with witness (#3)
Co-authored-by: Richard Ramos <info@richardramos.me>
2024-01-24 09:11:23 +01:00
libs chore: bump zerokit v0.3.5 to include proof with witness (#3) 2024-01-24 09:11:23 +01:00
rln chore: bump zerokit v0.3.5 to include proof with witness (#3) 2024-01-24 09:11:23 +01:00
scripts chore: update zerokit to include atomic_operation 2023-05-17 15:06:29 -04:00
zerokit@6b86244b6b chore: bump zerokit v0.3.5 to include proof with witness (#3) 2024-01-24 09:11:23 +01: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