#plonk #run-time #pallet #api #zk-snarks

no-std plonk-runtime-api

zkSNARK plonk pallet runtime api

1 unstable release

0.1.0 Dec 12, 2021

#20 in #plonk

25 downloads per month
Used in plonk-pallet-rpc

Unlicense

2KB

Plonk For Substrate

GitHub license crates.io badge Pallet Test
This is plonk pallet implemented as an extension of duck-network plonk.

Abstract

We implemented the plonk library as a pallet in order for developers to customize circuits and use the plonk protocol on Substrate runtime. This project allowed us to use following functionalities.

  • Custom circuit
  • Trusted setup
  • Generate proof
  • Verify proof

Reference

The tutorial importing plonk-pallet to your pallet and test these plonk functions.

The pallet dependencies rustdoc.

Acknowledgements

  • Reference implementation by Aztec Protocol
  • Initial rust implementation of PLONK by Dusk Network, originally forked from dusk-network/plonk

Dependencies

~7–18MB
~234K SLoC