liminal-ark-relations

Crates.ioliminal-ark-relations
lib.rsliminal-ark-relations
version0.4.0
sourcesrc
created_at2023-03-21 13:47:53.996981
updated_at2023-03-30 20:34:09.359428
descriptionAn instantiation of the Poseidon SNARK-friendly hash function.
homepagehttps://alephzero.org
repositoryhttps://github.com/Cardinal-Cryptography/aleph-node
max_upload_size
id816190
size94,772
cardinal-crate-owner (cardinal-crate-owner)

documentation

https://docs.rs/?

README

liminal-ark-relations

This is a library containing a couple of R1CS relations. It was built using arkworks libraries.

Provided relations

  1. xor - representing a ⊕ b = c
  2. linear-equation - representing a·x + b = y
  3. preimage - representing Poseidon 1:1 hashing
  4. deposit, deposit-and-merge, merge and withdraw relations that are used in Shielder zk-app (see: https://github.com/cardinal-Cryptography/zk-apps/)

All relations were built using liminal-ark-relation-macro.

Commit count: 1074

cargo fmt