0.8.0
版本发布时间: 2022-07-07 23:13:54
Zokrates/ZoKrates最新发布版本:0.8.8(2023-11-10 22:52:50)
This version includes a breaking change in the specification of the ZoKrates domain-specific language:
- Due to common feedback, the new ZoKrates syntax uses curly braces and semi-colons:
// 0.7
def main():
return 1
// 0.8
def main() {
return 1;
}
- Variables are now Immutable by default. Mutable variables require usage of the new
mut
keyword. - Multi returns are not supported anymore. Tuples can be used instead.
- A new statement named
log
enables printing values at run time:
def main(field x) {
log("x is {}", x);
return
}
Other notable changes:
- The
libsnark
backend and thePGHR13
scheme are no longer supported - ZoKrates can now export snarkjs-compatible artifacts
For a full list of the changes, check out the changelog.
1、 zokrates-0.8.0-aarch64-apple-darwin.tar.gz 8.17MB
2、 zokrates-0.8.0-aarch64-unknown-linux-gnu.tar.gz 10.41MB
3、 zokrates-0.8.0-arm-unknown-linux-gnueabi.tar.gz 11.54MB
4、 zokrates-0.8.0-x86_64-apple-darwin.tar.gz 8.77MB
5、 zokrates-0.8.0-x86_64-pc-windows-gnu.tar.gz 12.34MB