Skip to main content

Python library for Ethereum 9 3/4

Project description

Mimblewimble on Ethereum with zk SNARKs


  • circuits/: Circuits
  • test/: Test cases
  • Dockerfile: Docker file to test Zokrates circuits


Install docker and GNU Make


Circuit Test

This will run tests/circuits/unitTest.code

make test

Python library Test

This will run python -m unittest tests/test*.py

make pytest

Make verifier contract

# Specify the circuit path to compile and export the verifier contract
make verifier circuit=YOUR_CIRCUIT_PATH

# Specify the output path
make verifier circuit=YOUR_CIRCUIT_PATH output=MyVerifier.sol

Make proof

# Specify the circuit path and arguments
make proof circuit=YOUR_CIRCUIT_PATH args='0 0 0 .. 0'

# Specify the output path
make proof circuit=YOUR_CIRCUIT_PATH args='0 0 0 .. 0' output=myProof.json

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for py934, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size py934-0.0.1-py3-none-any.whl (12.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size py934-0.0.1.tar.gz (8.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page