vac:acz:ift:2025q1-zerokit-v0-7

Implementation of the next release of Zerokit

Description

This commitment entails achieving Zerokit v0.7.0 by advancing the next version through the integration of new features aimed at improving its speed and robustness, such as Poseidon integration, accelerated witness generation, and updates to the WASM module.

Background

Zerokit is a collection of Zero Knowledge modules that focus on RLN, developed in Rust, intended for integration with various system programming environments.

This commitment marks the next iteration of Zerokit addressed by the issue https://github.com/vacp2p/zerokit/issues/263, version 0.7.0, which introduces several new features, including arkzkey, poseidon and updated wasm that is distinguishing it from the previous version.

Narratives

By utilizing the zerokit-v0-7 commitment, we will reinforce the Conduit of Expertise narrative by:

  • Delivers an optimized version for IFT projects utilizing Zerokit, including nwakuand js-rln.

We will also strengthen the Premier Research Destination narrative by:

  • Offers a Rust crate that serves as a more efficient open-source development tool for users looking to integrate RLN into their projects.

Task List

Poseidon Hash

  • fully qualified name: vac:acz:ift:2025q1-zerokit-v0-7:poseidon-hash
  • owner: Aleksei
  • status: started (10%)
  • start-date: 2025/01/01
  • end-date: 2025/01/13

Description

Generate Poseidon round parameters and constants #50 Only round parameters (easy) and secure MDS matrices verification algorithms (hard) missing. Ensure that known answer tests match with the result of another implementation. Lastly solving the issue: Docs fail to build on docs.rs

Deliverables

  • PR to vacp2p/zerokit repo with related update for v0.7

RLN wasm

  • fully qualified name: vac:acz:ift:2025q1-zerokit-v0-7:rln-wasm
  • owner: Ekaterina
  • status: not started
  • start-date:
  • end-date:

Description

Regarding the issue 271, rln wasm is revisited for performance analysis and updated by dependencies and gatherin new benchmarks.

Deliverables

  • PR to vacp2p/zerokit repo with related update for v0.7

Release v0.7

  • fully qualified name: vac:acz:ift:2025q1-zerokit-v0-7:release
  • owner: Ekaterina
  • status: not started
  • start-date:
  • end-date:

Description

The new version of the Zerokit v0.7 based on the issue #271 that covers faster witness generation, posidon hash integration and update the RLN wasmer dependencies.

Deliverables

A set of PRs to vacp2p/zerokit repository with tag v0.7.0