1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
A toolbox for zkSNARKs on Ethereum
Find a file
Thibaut Schaeffer 3e40945778
Use foundry for integration tests (#1266)
* remove zokrates_solidity_test, use foundry for integration tests

* fix foundry install

* fix foundry install

* use full path for forge

* wip

* wip

* wip

* test

* test

* test

* test

* test

* add message if foundry is missing, add changelog

* move install script to ci config

* Apply suggestions from code review

---------

Co-authored-by: Thibaut <thibaut@Thibauts-MacBook-Pro.local>
2023-01-30 17:50:20 +01:00
.circleci Use foundry for integration tests (#1266) 2023-01-30 17:50:20 +01:00
.githooks
.github try with prettier_options 2022-08-29 13:00:28 +02:00
changelogs Use foundry for integration tests (#1266) 2023-01-30 17:50:20 +01:00
scripts Use foundry for integration tests (#1266) 2023-01-30 17:50:20 +01:00
zokrates_abi bump nightly, fix clippy errors 2022-07-06 15:51:45 +02:00
zokrates_analysis Fix typos 2023-01-11 03:14:28 +02:00
zokrates_ark update book, merge develop and merge conflicts 2023-01-30 15:27:17 +01:00
zokrates_ast add test, fix propagation 2023-01-30 15:22:41 +01:00
zokrates_bellman update book, merge develop and merge conflicts 2023-01-30 15:27:17 +01:00
zokrates_book fix wording 2023-01-30 15:30:23 +01:00
zokrates_circom make tests pass, introduce ir blocks, try optimising directive outputs 2022-11-30 22:41:28 +01:00
zokrates_cli Use foundry for integration tests (#1266) 2023-01-30 17:50:20 +01:00
zokrates_codegen Fix typos 2023-01-11 03:14:28 +02:00
zokrates_common wip 2022-10-11 09:24:28 -05:00
zokrates_core Fix typos 2023-01-11 03:14:28 +02:00
zokrates_core_test fmt 2023-01-30 15:59:42 +01:00
zokrates_embed bump versions, generate changelog, generate js lock 2022-07-06 16:31:24 +02:00
zokrates_field implement better check, add test 2022-09-19 18:37:25 +02:00
zokrates_fs_resolver
zokrates_interpreter update book, merge develop and merge conflicts 2023-01-30 15:27:17 +01:00
zokrates_js fix fmt 2023-01-30 15:32:49 +01:00
zokrates_parser improvements 2 2022-11-28 20:25:05 +01:00
zokrates_pest_ast fix formatting 2022-11-30 14:57:46 +01:00
zokrates_proof_systems merge develop, fix conflicts 2023-01-02 14:26:22 +01:00
zokrates_stdlib update changelog, bump versions 2022-10-10 18:00:35 +02:00
zokrates_test update book, merge develop and merge conflicts 2023-01-30 15:27:17 +01:00
zokrates_test_derive
.codecov.yml
.dockerignore
.gitignore fix conflicts 2022-07-04 19:50:12 +02:00
build.sh
build_release.sh
Cargo.lock Use foundry for integration tests (#1266) 2023-01-30 17:50:20 +01:00
Cargo.toml Use foundry for integration tests (#1266) 2023-01-30 17:50:20 +01:00
CHANGELOG.md bump zokrates_core_test 2022-10-11 01:53:33 +02:00
clippy.toml
dev.Dockerfile Use foundry for integration tests (#1266) 2023-01-30 17:50:20 +01:00
Dockerfile remove leftover cpp support 2022-08-01 19:44:58 +01:00
Dockerfile.env remove leftover cpp support 2022-08-01 19:44:58 +01:00
integration_test.sh Use foundry for integration tests (#1266) 2023-01-30 17:50:20 +01:00
LICENSE
README.md prettier 2022-09-02 11:50:52 +02:00
rust-toolchain.toml bump nightly, fix clippy errors 2022-07-06 15:51:45 +02:00
test.sh
zokrates_logo.svg

ZoKrates

Join the chat at https://gitter.im/ZoKrates/Lobby CircleCI develop

ZoKrates is a toolbox for zkSNARKs on Ethereum.

This is a proof-of-concept implementation. It has not been tested for production.

Getting Started

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!

Getting Help

If you run into problems, ZoKrates has a Gitter room.

License

ZoKrates is released under the GNU Lesser General Public License v3.

Contributing

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.

Git Hooks

You can enable zokrates git hooks locally by running:

git config core.hooksPath .githooks

{js,json,ts} formatting

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