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.

Source Distribution

py934-0.0.1.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py934-0.0.1-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file py934-0.0.1.tar.gz.

File metadata

  • Download URL: py934-0.0.1.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.3

File hashes

Hashes for py934-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3778a95a5952a020fee5378dde40db9f78586ce2ae4aab15b870bfb7232e90b8
MD5 a4a65892a1d7929dabf1f011f870bcaa
BLAKE2b-256 71a4975e89e748ed310fd9e0445e8c8037109fac85dcfd5f5ac12d21cca5de7d

See more details on using hashes here.

File details

Details for the file py934-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: py934-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.3

File hashes

Hashes for py934-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c139a3dd79046d262a9a8f70e73bf27069d634f78e2f33beb770076b5eb188b1
MD5 46c05942e5834606288df21c61f35c95
BLAKE2b-256 e821491a880dc7902649c730f464f14afd18d649bb4d96c4a88fad3d5c153808

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page