You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
arnaucube 8b233031a6
add README.md (#39)
8 months ago
..
src add README.md (#39) 8 months ago
Cargo.toml Add CLI interface for verifier contract generation (#74) 9 months ago
README.md add README.md (#39) 8 months ago

README.md

Solidity Verifiers CLI

                                _____  ______  ______  ______  ______  ______  ______ 
                                | |__| || |__| || |__| || |__| || |__| || |__| || |__| |
                                |  ()  ||  ()  ||  ()  ||  ()  ||  ()  ||  ()  ||  ()  |
                                |______||______||______||______||______||______||______|
                                ______                                          ______ 
                                | |__| |   ____        _ _     _ _ _            | |__| |
                                |  ()  |  / ___|  ___ | (_) __| (_) |_ _   _    |  ()  |
                                |______|  \___ \ / _ \| | |/ _` | | __| | | |   |______|
                                ______    ___) | (_) | | | (_| | | |_| |_| |    ______ 
                                | |__| |  |____/ \___/|_|_|\__,_|_|\__|\__, |   | |__| |
                                |  ()  |  __     __        _  __ _     |___/    |  ()  |
                                |______|  \ \   / /__ _ __(_)/ _(_) ___ _ __    |______|
                                ______    \ \ / / _ \ '__| | |_| |/ _ \ '__|    ______ 
                                | |__| |    \ V /  __/ |  | |  _| |  __/ |      | |__| |
                                |  ()  |     \_/ \___|_|  |_|_| |_|\___|_|      |  ()  |
                                |______|                                        |______|
                                ______  ______  ______  ______  ______  ______  ______ 
                                | |__| || |__| || |__| || |__| || |__| || |__| || |__| |
                                |  ()  ||  ()  ||  ()  ||  ()  ||  ()  ||  ()  ||  ()  |
                                |______||______||______||______||______||______||______|

Welcome to Solidity Verifiers CLI, a Command-Line Interface (CLI) tool designed to simplify the generation of Solidity smart contracts that verify proofs of Zero Knowledge cryptographic protocols. This tool is developed by the collaborative efforts of the PSE (Privacy & Scaling Explorations) and 0XPARC teams.

Solidity Verifiers CLI is released under the MIT license, but notice that the Solidity template for the Groth16 verification has GPL-3.0 license, hence the generated Solidity verifiers that use the Groth16 template will have that license too.

Supported Protocols

Solidity Verifier currently supports the generation of Solidity smart contracts for the verification of proofs in the following Zero Knowledge protocols:

Usage

solidity-verifiers-cli [OPTIONS] -p <PROTOCOL> -d <PROTOCOL_DATA> -o <OUTPUT_PATH>

A real use case (which was used to test the tool itself): solidity-verifiers-cli -p groth16 -d ./solidity-verifiers/assets/G16_test_vk_data This would generate a Groth16 verifier contract for the given G16 data (which consists on the G16_Vkey only) and store this contract in $pwd.

Options:

-v, --verbose: Increase logging verbosity
-q, --quiet: Decrease logging verbosity
-p, --protocol <PROTOCOL>: Selects the protocol for which to generate the Decider circuit Solidity Verifier (possible values: groth16, kzg, nova-cyclefold)
-o, --out <OUT>: Sets the output path for all generated artifacts
-d, --protocol-data <PROTOCOL_DATA>: Sets the input path for the file containing all the data required by the chosen protocol for verification contract generation
--pragma <PRAGMA>: Selects the Solidity compiler version to be set in the Solidity Verifier contract artifact
-h, --help: Print help (see a summary with '-h')
-V, --version: Print version

License

Solidity Verifier CLI is released under the MIT license, but notice that the Solidity template for the Groth16 verification has GPL-3.0 license, hence the generated Solidity verifiers will have that license too.

Contributing

Feel free to explore, use, and contribute to Solidity Verifiers CLI as we strive to enhance privacy and scalability in the blockchain space! We welcome contributions to Solidity Verifiers CLI! If you encounter any issues, have feature requests, or want to contribute to the codebase, please check out the GitHub repository and follow the guidelines outlined in the contributing documentation.