#system-api #proofs #interact #cess #filecoin

cess-proving-system-api

API to interact with the proofs system in CESS

3 releases

0.1.2 Feb 23, 2022
0.1.1 Nov 24, 2021
0.1.0 Nov 23, 2021

#2 in #cess

MIT/Apache

88KB
2.5K SLoC

CESS Proofs API

Forked from Filecoin rust-filecoin-proofs-api

This library is meant to be the official public API into the proofs library.

CircleCI

The main API to interact with the proofs system in CESS.

Default build options

The build options enabled by default are pairing and gpu. An alternative backend that can be used is blst. The pairing and blst options specify which bls12-381 pairing library to use..

Running the tests

Running the tests with the default features can be done like this:

cargo test --release --all

Running with the blst and gpu features can be done like this:

cargo test --no-default-features --features blst,gpu --release --all

Running with pairing and without the gpu feature can be done like this:

cargo test --no-default-features --features pairing --release --all

License

MIT or Apache 2.0

Dependencies

~25–36MB
~563K SLoC