Skip to main content

Python library for Ethereum 9 3/4

Project description

Mimblewimble on Ethereum with zk SNARKs

Structure

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

Pre-requisite

Install docker and GNU Make

Command

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


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
Filename, size py934-0.0.1.tar.gz (8.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page