MyGit

0.7.0

Zokrates/ZoKrates

版本发布时间: 2021-04-14 00:36:39

Zokrates/ZoKrates最新发布版本:0.8.8(2023-11-10 22:52:50)

This is a breaking release of the ZoKrates toolbox.

The main feature introduced in this release is constant generics (which were also recently added to the Rust language). Here's an example of usage, summing the values of any array of field elements:

def sum<N>(field[N] a) -> field:
   field res = 0
   for u32 i in 0..N do
      res = res + a[i]
   endfor
   return res

ZoKrates now makes wider use of the u32 type in generics, for loop indices, shift amounts, and more.

Check out the changelog for a more complete list of the changes introduced. This file will now be updated with each new release.

The ZoKrates team thanks everyone involved in this release!

相关地址:原始地址 下载(tar) 下载(zip)

1、 zokrates-0.7.0-aarch64-apple-darwin.tar.gz 5.27MB

2、 zokrates-0.7.0-aarch64-unknown-linux-gnu.tar.gz 6.43MB

3、 zokrates-0.7.0-arm-unknown-linux-gnueabi.tar.gz 7MB

4、 zokrates-0.7.0-x86_64-apple-darwin.tar.gz 5.8MB

5、 zokrates-0.7.0-x86_64-pc-windows-gnu.tar.gz 8.19MB

6、 zokrates-0.7.0-x86_64-unknown-linux-gnu.tar.gz 6.59MB

查看:2021-04-14发行的版本