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
Metadata
Release files for py934 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py934-0.0.1.tar.gz | 8.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py934-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.0 kB
Release files / py934-0.0.1.tar.gz
| Download URL | py934-0.0.1.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3778a95a5952a020fee5378dde40db9f78586ce2ae4aab15b870bfb7232e90b8
|
|
BLAKE2b-256 checksum How to use checksums |
71a4975e89e748ed310fd9e0445e8c8037109fac85dcfd5f5ac12d21cca5de7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / py934-0.0.1-py3-none-any.whl
| Download URL | py934-0.0.1-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c139a3dd79046d262a9a8f70e73bf27069d634f78e2f33beb770076b5eb188b1
|
|
BLAKE2b-256 checksum How to use checksums |
e821491a880dc7902649c730f464f14afd18d649bb4d96c4a88fad3d5c153808
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|