{"repo":"SkymanOne/zink","free":true,"listed":false,"github":"https://github.com/SkymanOne/zink","clone":"git clone https://github.com/SkymanOne/zink.git","description":"An attempt to use risc0 with ink!","language":"Rust","stars":14,"topics":["rust-lang","smart-contracts","substrate","zero-knowledge"],"license":"MIT-0","category":"blockchain-web3","readme_excerpt":"zink! - risc0 + ink! A demo project prepared for the ParisDot talk (\"Zero-Knowledge Proofs using ink!\") - recording. The repo contains Substrate node configured with the pallet-contracts and chain extension with the risc0 verifier. risc0 prover ink! smart contract Instructions 1. Compile the node and run it in the background (or separate shell session) 2. Go to the prover and run the proving locally 3. Copy paste the image ID outputted 4. Go to the ink! project and compile it (make sure you have cargo-contract installed, instructions) 5. Instantiate the contract with the IMAGE ID, generated earlier 5. Go back to to the prover and run the it again with the contract address as an arg to generate the proof and submit it a transaction to the node with it 6. (Optional) if you want to verify the result. Go to the ink! project The rest of the substrate docs Getting Started Depending on your operating system and Rust version, there might be additional packages required to compile this template. Check the installation instructions for your platform for the most common dependencies. Alternatively, you can use one of the alternative installation options. Build Use the following command to build the node without launching it: Embedded Docs After you build the project, you can use the following command to explore its parameters and subcommands: You can generate and view the Rust Docs for this template with this command: Single-Node Development Chain The following command starts a single-n","default_branch":null,"files":null,"tree":[],"storefront":"/r/SkymanOne","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SkymanOne/zink/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}