go-waku/waku/v2/protocol/rln/contracts
Richard Ramos ab3f21f209 chore: compile smart contracts and generate types 2023-09-04 10:02:14 -04:00
..
waku-rln-contract@63a7856eb2 chore: compile smart contracts and generate types 2023-09-04 10:02:14 -04:00
README.md chore: compile smart contracts and generate types 2023-09-04 10:02:14 -04:00
compile_contracts.sh chore: compile smart contracts and generate types 2023-09-04 10:02:14 -04:00
generate.go chore: compile smart contracts and generate types 2023-09-04 10:02:14 -04:00
import.json chore: compile smart contracts and generate types 2023-09-04 10:02:14 -04:00
poseidon.go chore: compile smart contracts and generate types 2023-09-04 10:02:14 -04:00
registry.go chore: compile smart contracts and generate types 2023-09-04 10:02:14 -04:00
rln.go chore: compile smart contracts and generate types 2023-09-04 10:02:14 -04:00

README.md

RLN Contracts

Requirements:

Build

  1. Install solcjs with npm install -g solc@0.8.15
  2. Clone go-ethereum and install abigen
cd $GOPATH/src/github.com/ethereum/go-ethereum
$ go install ./cmd/abigen
  1. Execute go generate to create go bindings for the RLN smart contracts
go generate

Notes

Follow https://github.com/vacp2p/rln-contract for updates on solc versions