#api #system #proof #interact #filecoin #proofs

filecoin-proofs-api

API to interact with the proofs system in Filecoin

18 stable releases (6 major)

new 7.0.0 Apr 28, 2021
6.1.0 Mar 11, 2021
6.0.0 Dec 1, 2020
5.4.1 Nov 2, 2020
1.0.0 May 19, 2020
Download history 715/week @ 2021-01-12 821/week @ 2021-01-19 1312/week @ 2021-01-26 1160/week @ 2021-02-02 1059/week @ 2021-02-09 1272/week @ 2021-02-16 1153/week @ 2021-02-23 1413/week @ 2021-03-02 1214/week @ 2021-03-09 1159/week @ 2021-03-16 1600/week @ 2021-03-23 1362/week @ 2021-03-30 1364/week @ 2021-04-06 1616/week @ 2021-04-13 955/week @ 2021-04-20 1195/week @ 2021-04-27

5,459 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

76KB
2K SLoC

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 Filecoin.

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

~15MB
~311K SLoC