This repo aims to provide the CGO bindings for the modules listed below of the native secp256k1-zkp C library (Elements version):
This project gets inspiration from olegabu/secp256k1-zkp but uses the native lib ElementsProject/secp256k1-zkp instead of mimblewimble/secp256k1-zkp
-
secp256k1
-
secp256k1_ecdh
-
secp256k1_generator
-
secp256k1_rangeproof
-
secp256k1_surjectionproof
$ go get -u github.com/vulpemventures/go-secp256k1-zkp
- Clone the repository:
$ git clone [email protected]:vulpemventures/go-secp256k1-zkp.git
- Enter into the project folder and install depenedencies (optional if using go mod):
$ cd go-secp256k1-zkp
$ go get -t -v ./...
- Run tests:
$ go test ./... -v -race -count=1