ZoKrates is a toolbox for zkSNARKs on Ethereum.
This is a proof-of-concept implementation. It has not been tested for production.
Load the ZoKrates Plugin on Remix to write your first SNARK program!
Alternatively, you can install the ZoKrates CLI:
curl -LSfs get.zokrat.es | sh
Have a look at the documentation for more information about using ZoKrates. Get started, then try a tutorial!
If you run into problems, ZoKrates has a Gitter room.
ZoKrates is released under the GNU Lesser General Public License v3.
We happily welcome contributions. You can either pick an existing issue or reach out on Gitter.
Unless you explicitly state otherwise, any contribution you intentionally submit for inclusion in the work shall be licensed as above, without any additional terms or conditions.
You can enable zokrates git hooks locally by running:
git config core.hooksPath .githooks
We enforce strict formatting of .{js,json,ts}
files in CI. This check is not included in the git hooks. If you modify such a file, you can ensure its formatting is correct by running:
npm i -g prettier
prettier --write "./**/*.{js,ts,json}" --ignore-path .gitignore