1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00
Commit graph

324 commits

Author SHA1 Message Date
schaeff
498a866521 update docs 2020-07-17 12:25:05 +02:00
schaeff
d7ce5d2f58 Merge branch 'add_operator_docs' of github.com:petscheit/ZoKrates into develop 2020-07-16 22:19:33 +02:00
Thibaut Schaeffer
57ca8f8782
Merge pull request #628 from ErikP0/fix-link
Fixed broken link in documentation
2020-07-16 21:18:16 +02:00
dark64
1f04580cff update zokrates.js docs 2020-07-15 19:07:23 +02:00
ErikP0
83958f407e Fixed broken link in documentation 2020-07-03 16:25:54 +02:00
dark64
4c2a1fc74b Update docs, set stdlib-path as optional parameter 2020-06-30 13:57:02 +02:00
schaeff
a83e897ad7 fix broken links, correct declaration docs 2020-06-15 15:09:14 +02:00
JacobEberhardt
e6de36c9c9
Merge pull request #612 from Zokrates/boolean-stdlib
Use booleans when possible in stdlib
2020-06-09 10:54:11 +02:00
schaeff
9a2e61aa1f update docs, make tests pass 2020-06-08 18:43:10 +02:00
Thibaut Schaeffer
ed555b3259
Merge pull request #602 from Zokrates/add-struct-names
Add struct names to typed_absy types
2020-06-05 11:26:40 +02:00
Thibaut Schaeffer
5bfa9c680f
Merge pull request #597 from Zokrates/solidity-view
Make solidity verifier view
2020-05-28 15:52:22 +02:00
dark64
ce6915bc60 Merge branch 'develop' into update-docs 2020-05-25 16:08:56 +02:00
schaeff
78a5b03f70 merge dev 2020-05-25 15:41:56 +02:00
schaeff
2b9436c462 update sha256 example 2020-05-25 13:17:28 +02:00
schaeff
1dc34e2b7f update docs 2020-05-19 19:27:21 +02:00
dark64
6c715ca873 update docs 2020-05-18 17:46:41 +02:00
dark64
aa84446b4d update generate-proof docs in book 2020-05-18 14:43:11 +02:00
dark64
595b4999e5 update comments section 2020-05-15 17:07:06 +02:00
Paul E
00826f7752 adds operator documentation + examples for each 2020-05-15 12:41:16 +02:00
dark64
52c2c53b20 add verify command to cli docs, minor changes 2020-05-14 19:10:39 +02:00
schaeff
eda36ac379 add docs 2020-05-14 15:52:47 +02:00
Thibaut Schaeffer
dac688ee77
Update cli.md 2020-04-24 20:42:57 +02:00
Thibaut Schaeffer
3e0ca9f7a0
Update zokrates_book/src/reference/proving_schemes.md
Co-Authored-By: JacobEberhardt <jacob.eberhardt@tu-berlin.de>
2020-04-24 20:38:16 +02:00
schaeff
c802077b74 add macro to restrict compilation to a given curve 2020-04-22 19:53:10 +02:00
schaeff
ddc4c196bf merge dev 2020-04-21 13:19:18 +02:00
schaeff
d7302d8dd0 typos 2020-02-25 11:24:03 +01:00
schaeff
aea3da0023 remove old osx, fix hyperlink 2020-02-20 17:02:59 +01:00
schaeff
9acf7c545b add api doc, remove relative path to binary, add link to remix 2020-02-20 14:22:16 +01:00
schaeff
5509330ab6 fix conflicts 2020-01-20 18:04:21 +01:00
William Entriken
be09f6db07 Fix witness is a valid assignment of the variables 2020-01-07 20:42:44 -05:00
William Entriken
f32444e921 Fix if-expression 2020-01-07 20:42:04 -05:00
dark64
7df8f84b31 merge develop with wasm-friendly 2020-01-07 20:51:52 +01:00
dark64
dd10a7a015 remove dockerfile, update book 2020-01-07 17:30:10 +01:00
William Entriken
27e9385a18 Whitespace and spelling fixes 2020-01-06 14:07:40 -05:00
Leonardo Alt
616b05a58a Fix typos in documentation 2019-12-28 10:28:33 +01:00
Darko Macesic
1ae887edfc
Update zokrates_book/src/zokrates_js.md
Co-Authored-By: Thibaut Schaeffer <thibaut@schaeff.fr>
2019-11-25 18:08:27 +01:00
Darko Macesic
05937de632
Update zokrates_book/src/zokrates_js.md
Co-Authored-By: Thibaut Schaeffer <thibaut@schaeff.fr>
2019-11-25 18:08:19 +01:00
Darko Macesic
8bd2cd9462
Update zokrates_book/src/SUMMARY.md
Co-Authored-By: Thibaut Schaeffer <thibaut@schaeff.fr>
2019-11-25 18:08:10 +01:00
dark64
97c9abc95b move readme to zokrates_book, remove custom serializer on SetupKeypair, remove docker files 2019-11-22 14:53:16 +01:00
schaeff
802cbbafa0 merge dev 2019-11-11 20:26:29 +01:00
schaeff
27404c3b94 address review comments, fix helpers to be generic 2019-11-11 19:59:56 +01:00
schaeff
778ffdbbe7 add serialisation format to book 2019-10-28 17:14:00 +01:00
charlesgdalton
e1dd5bc329
Update types.md
Fix typo
2019-10-23 09:42:55 -07:00
Thibaut Schaeffer
5a5dba7e72
Apply suggestions from code review
Co-Authored-By: Stefan <stefandeml@gmail.com>
2019-10-07 11:49:03 +09:00
Thibaut
5ea2fe92ea add import docs 2019-10-02 19:39:51 +02:00
Thibaut
0a7139f98e merge dev 2019-09-30 14:08:46 +02:00
JacobEberhardt
aa5b306286 remove compilation result 2019-09-30 12:01:45 +02:00
JacobEberhardt
ef24980d6b cli fix + doc update 2019-09-30 11:59:17 +02:00
schaeff
8216866735 fix import docs, fix stdlib test typo 2019-09-25 12:15:19 +02:00
JacobEberhardt
20f3a980fe Struct doc with examples.
Break current preliminary impl. as they have spec character.
2019-09-24 22:14:42 +02:00
schaeff
ed300a9a28 change file endings 2019-09-24 12:05:43 +02:00
schaeff
57afbb0a57 Merge branch 'develop' of github.com:Zokrates/ZoKrates into rec-arrays 2019-09-23 10:46:00 +02:00
JacobEberhardt
19aec2c794 Merge branch 'zokrates-test-crate' of https://github.com/Zokrates/ZoKrates into zokrates-test-crate 2019-09-19 17:30:47 +02:00
JacobEberhardt
d1eb337436 fixed documentation references 2019-09-19 17:30:27 +02:00
JacobEberhardt
231828aabc
Update zokrates_book/src/reference/Testing.md
Co-Authored-By: Thibaut Schaeffer <thibaut@schaeff.fr>
2019-09-19 17:04:04 +02:00
JacobEberhardt
1731d046e7 updated documentation 2019-09-18 18:55:17 +02:00
JacobEberhardt
b17f34e415 Documentation on extended array types 2019-09-17 18:05:09 +02:00
Thibaut Schaeffer
45babb48dd
Merge pull request #460 from BohuTANG/201908_book
zokrates_book: fixup CLI reference link
2019-08-27 14:51:44 +02:00
schaeff
1412ef2ef1 address review comments 2019-08-20 12:38:32 +02:00
BohuTANG
7e0333b647 zokrates_book: fixup CLI reference link 2019-08-19 09:41:26 +08:00
JacobEberhardt
c0a5efa621 Updated sha256 tutorial to use Groth16 2019-07-08 14:30:42 +02:00
JacobEberhardt
a4fb97ccb9 Improved documentation on backend builds 2019-07-08 14:14:09 +02:00
JacobEberhardt
c8d5d6183c Improved doc 2019-07-05 19:31:01 +02:00
JacobEberhardt
83e8df7987 Made integration testing more robust and added testing documentation 2019-07-05 18:07:24 +02:00
schaeff
c8bfcf855c replace 2019-06-07 11:13:00 +02:00
Thibaut Schaeffer
4c79cd0868
Update gettingstarted.md 2019-06-05 12:45:39 +02:00
Paul Etscheit
ffb09e914b
Corrects path for source build 2019-04-24 16:43:45 +02:00
Thibaut Schaeffer
b93bf6f1ef
Create binaries with libsnark disabled on new tags (#319)
* add appveyor, travis, remove libsnark as default, add push to gh

* fix appveyor

* change appveyor to nightly

* use cargo for build job

* change to build everywhere

* update token, reduce targets

* add more targets

* add on liner script

* remove rustc dep

* add need_cmd

* add check cmd

* simple brackets

* use check_cmd for curl

* copy stdlib to OUT_DIR

* ship stdlib in archive

* install stdlib, give PATH hints after build script

* clean

* comment

* scripts: ensure one-liner install script works with FreeBSD

* remove appveyor for now

* clean, remove windows, remove appveyor, remove travis test

* put back cross install

* fix stdlib test generation

* disable tests in travis

* restore test script to prevent tests to run..

* change scripts to keep same behaviour now that libsnark is disabled by default

* update docs with installer

* change docker to dockerhub

* change repo
2019-04-11 23:20:44 +02:00
Stefan
6b6f04d540
Update zokrates_book/src/reference/index.md
Co-Authored-By: Schaeff <schaeffer.thibaut@gmail.com>
2019-04-08 22:18:00 +02:00
schaeff
efde7a32d7 fix book 2019-04-08 14:58:02 +02:00
schaeff
0be493fdd1 fix following review: extract witness with write read, rename scheme to proving scheme, typos 2019-04-08 14:56:07 +02:00
schaeff
869b516d44 Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into bellman-backend-v2 2019-04-03 12:11:18 +02:00
Thibaut Schaeffer
45319ec652
Merge pull request #310 from fulldecent/patch-2
Fix documentation of number ranges
2019-04-03 10:10:40 +02:00
Thibaut Schaeffer
4b1b1023bd
Update zokrates_book/src/concepts/types.md
Co-Authored-By: fulldecent <github.com@phor.net>
2019-04-02 17:12:27 -04:00
Thibaut Schaeffer
8415029e9f
Update zokrates_book/src/concepts/types.md
Co-Authored-By: fulldecent <github.com@phor.net>
2019-04-02 17:11:54 -04:00
Stefan
1e95836afb
Merge branch 'develop' into babyjubjub-eddsa 2019-03-29 10:53:43 +01:00
sdeml
5cc19c3ca9 doc updates 2019-03-29 09:06:29 +01:00
William Entriken
b34a99cc98
Update the prime to a prime number 2019-03-26 23:35:43 -04:00
Thibaut Schaeffer
8b6deba83f
Merge pull request #309 from fulldecent/patch-1
Hyphenate numbers
2019-03-26 11:25:14 +01:00
William Entriken
33829696d1
Fix documentation of number ranges 2019-03-25 19:30:16 -04:00
William Entriken
d7c50f7959
Hyphenate numbers 2019-03-25 19:25:43 -04:00
Thibaut Schaeffer
a139e379ad
Apply suggestions from code review
thanks @Schaeff

Co-Authored-By: stefandeml <stefandeml@gmail.com>
2019-03-19 12:46:22 +01:00
sdeml
5ae8310331 update mdbook 2019-03-18 15:12:50 +01:00
schaeff
e727c712cc Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into bellman-backend-v2 2019-03-06 10:17:46 +01:00
Stefan
234e62134f
Merge pull request #277 from Zokrates/stdin-inputs
Remove interactive mode and accept inputs from stdin
2019-03-04 21:55:01 +01:00
schaeff
550b078656 remove unpack, only split to the field size, move 128 pack and unpack to stdlib 2019-02-28 17:27:20 +01:00
schaeff
e07442d26b add groth16 warning to docs 2019-02-27 21:38:06 +01:00
schaeff
76cd8a65b4 update book 2019-02-25 19:51:03 +01:00
schaeff
172e1be1d2 use csv for witness serialization, clean libsnark, rename backends to schemes 2019-02-21 10:28:23 +01:00
Thibaut Schaeffer
718158717f
Merge pull request #221 from Zokrates/add-sharound
Simplify SHA gadgets and add a stdlib
2019-02-01 17:42:40 +01:00
Thibaut Schaeffer
e0316c39e2
Update ir.md 2019-02-01 11:44:44 +01:00
Thibaut Schaeffer
00659fc60a
Update ir.md 2019-02-01 11:38:43 +01:00
sdeml
94f855ede8 fix PR comments 2019-01-31 13:29:16 +01:00
Thibaut Schaeffer
041cfa2052
Update SUMMARY.md 2019-01-31 11:06:11 +01:00
schaeff
a708e5ba07 Merge branch 'develop' of github.com:JacobEberhardt/ZoKrates into short-field-display 2019-01-31 10:21:42 +01:00
schaeff
ef16ee6090 expose zir in book reference 2019-01-31 10:21:25 +01:00
sdeml
a7e5477d2b Merge branch 'develop' into add-sharound
* develop:
  Remove the tools directory
  add doc, example and failing test for out of scope
  Add zokrates_field to kcov
  first build docker, then tag gh
  clean env
  revert dockerfile to original, enable master filter, enable push to dockerhub, git tag and mdbook
  clean, move bot addr to env, silence commands
  pass pw through stdin to silence warning
  remove useless checks, rename env var
  enable docker remote
  add docker login, get mdbook from tar
  allow wasm tests to fail
  add integration_test job
  use workflows

# Conflicts:
#	.circleci/config.yml
2019-01-31 08:59:59 +01:00
schaeff
c55fdf98b8 update docs, implement agreed change ie only print compact for in zir 2019-01-30 18:33:55 +01:00
schaeff
f9cce777f0 add doc, example and failing test for out of scope 2019-01-29 11:24:16 +01:00
sdeml
33bb047bf7 small refactor & update docs 2019-01-24 17:05:19 +01:00
sdeml
00147b3917 Merge branch 'develop' into add-sharound
* develop: (53 commits)
  move book snippets to files in test folder, link to them from md
  handle case where path is a directory
  update cargo.lock
  update tests to use relative paths
  resolve cargo.lock conflict
  WASM crate import depends on the presence of the `wasm` feature
  Insert missing fi at the end of if statement
  change test to check flattening of 1-sized array is identical to flattening of single value
  implement variable access to ifelse array
  add support for ifelse array access, clean up semantic treatment
  recommend setting /Users/obit/sides/zokrates/zokrates_stdlib/stdlib if it is not already
  add /Users/obit/sides/zokrates/zokrates_stdlib/stdlib to Dockerfiles, add stdlib with dummy file
  remove commented out old serialization
  branch  based on first path component
  base decision on first character of path
  fallback to /Users/obit/.zokrates when importing source files
  Run the tests with WASM enabled
  Fix build after rebase
  Fix warning
  Move wasm plugin generation to a different repo
  ...

# Conflicts:
#	zokrates_book/src/sha256example.md
2019-01-23 17:43:14 +01:00
schaeff
0fe0cbef2c move book snippets to files in test folder, link to them from md 2019-01-21 19:00:21 +01:00
Asif Mallik
86495b9436
Insert missing fi at the end of if statement 2019-01-19 01:27:33 -05:00
sdeml
02dfa019ff new test fails 2019-01-17 17:29:46 +01:00
sdeml
e9bdc6dcde update mdbook docs 2019-01-15 16:04:22 +01:00
sdeml
c0db24bb79 cleaning and adding docs 2019-01-15 11:47:51 +01:00
schaeff
6158a7a2bf typo 2019-01-03 10:28:26 +01:00
schaeff
659d01659f add inequality caveat to doc 2019-01-03 10:25:47 +01:00
schaeff
9160aa4164 fix conflicts 2018-12-07 18:01:17 +01:00
schaeff
57fc5453dd Merge branch 'master' of github.com:JacobEberhardt/ZoKrates into gm17 2018-12-07 17:54:08 +01:00
sdeml
2bbff8c1f5 add if to control flow 2018-11-26 18:32:18 +01:00
Kendrick Tan
e2acdbff37
fixed hashexample.code example 2018-11-25 00:14:21 +00:00
schaeff
d6785d50d6 update book 2018-11-23 15:57:32 +01:00
sdeml
d5506a7ed0 link readme to docs 2018-11-20 09:42:14 +01:00
schaeff
f63ffa5e5e Merge branch 'add-book' of github.com:stefandeml/ZoKrates into add-book 2018-10-26 21:15:10 +02:00
schaeff
9ff0030f15 remove grammar, clean structure 2018-10-26 21:13:44 +02:00
sdeml
3351b25fb9 corrected number of public inputs 2018-10-26 16:12:11 +01:00
sdeml
dd6ff30eda fixed link and typo 2018-10-26 15:59:19 +01:00
schaeff
7ad49a45a5 restructure, amend tutorial 2018-10-26 16:31:46 +02:00
schaeff
8de54f5979 edit Introduction and getting started, change zokrates to ZoKrates 2018-10-26 14:43:18 +02:00
sdeml
eb7ce0982b —gadgets flag is not necessary any more 2018-10-25 15:30:58 +01:00
sdeml
01058e5783 add programming concepts and changed example 2018-10-25 15:22:21 +01:00
sdeml
a0e93c6683 changes on the structure and beginning of SHA256 example 2018-10-25 15:22:21 +01:00
schaeff
b182e88e7b set up mdbook 2018-10-05 10:08:27 +02:00