{"repo":"nikoumba/zk_whitelist","free":true,"listed":false,"github":"https://github.com/nikoumba/zk_whitelist","clone":"git clone https://github.com/nikoumba/zk_whitelist.git","description":"The Zero Knowledge Whitelist Tool is a powerful utility for managing an address whitelist using Zero-Knowledge (ZK) proofs.","language":"Rust","stars":11,"topics":["blockchain","circom","cli","ethereum","lib","rust","snarkjs","solidity","zero-knowledge"],"license":null,"category":"blockchain-web3","readme_excerpt":"zk whitelist: A Zero Knowledge Whitelist Tool The Zero Knowledge Whitelist Tool is a powerful utility for managing an address whitelist using Zero-Knowledge (ZK) proofs. With this tool, you can effortlessly generate the necessary Solidity code for maintaining a secure and effective whitelist for your decentralized application. DISCLAIMER : This code and presentation is preliminary, unaudited and subject to revision. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND. Benefits No On-chain Updates Required : Whitelisting new addresses does not require any on-chain updates. Just run the proofs command with the new addresses file. Constant Proof Size : The proof size remains constant regardless of the number of addresses, ensuring efficiency and scalability. Requirements To utilize this tool, ensure that the following are installed on your system: Node.js Rust circom snarkjs Recommended Usage 1) Download, extract and set as executable the binary for your OS from release page: https://github.com/SpiralOutDotEu/zk whitelist/releases 2) Create a text file named addresses.txt and list the addresses you want to whitelist, one address per line. 3) Run the command zk whitelist all . This will generate two Solidity files verifier.sol and zkToken.sol , alongside a addresses.txt.proof.json file. 4) Deploy your contracts and use the proofs file from your frontend to call the contract. 5) Whenever you need to whitelist additional addresses in the future, simply add them to a new ","default_branch":null,"files":null,"tree":[],"storefront":"/r/nikoumba","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nikoumba/zk_whitelist/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."}