Skip to content
altbn128 twisted ewards curve point addion, point multiplicaion, eddsa signature verificaion and pedersen commiments
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
baby_jubjub_ecc fixed Sep 5, 2018
depends init Aug 13, 2018
tests Merge pull request #7 from barryWhiteHat/testfix Oct 18, 2018
.gitmodules init Aug 13, 2018
AUTHORS init Aug 13, 2018
CMakeLists.txt eddsa fix Sep 5, 2018
LICENSE init Aug 13, 2018 Update Aug 14, 2018


This repository contains zksnark constarint systems for twisted edwards curve point addition, point multiplication, eddsa signature verification and pedersen commitments. As well as python scripts for test case generation.

This is a naive implmentaion and considerable optimizations are possible.

build instructions:

build libsnark gadget and getting the proving key

get dependencies git submodule update --init --recursive mkdir build cd build cmake .. && make

Running the tests

Start your preferred ethereum node, cd tests and run python3 test* will generate all the test variables that you can confirm in src/main.cpp

You can run the test after building by

cd build


Lecture 16 and [Lecture 17] ( of this course should help you get a good understanding of the basics of what we are doing here.

You can’t perform that action at this time.