Python library for Ethereum 9 3/4
Project description
Mimblewimble on Ethereum with zk SNARKs
Structure
circuits/
: Circuitstest/
: Test casesDockerfile
: 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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
py934-0.0.1-py3-none-any.whl
(12.3 kB
view hashes)