IntersectMBO / cardano-base

Code used throughout the Cardano eco-system
Apache License 2.0
93 stars 42 forks source link

Pairing functions new built ins #302

Closed vfrsilva closed 1 year ago

vfrsilva commented 2 years ago

What

Pairing functions are cryptographic functions that enable a big number of use cases to be run on main-net. Some examples of these are compact sidechain signatures, zero knowledge proofs or on-chain verification of mithril certificates. More information can be found in CIP-0381. We want to include built-in functions to be able to use such primitives in plutus.

Why

Enable ATMS signatures (which would facilitate projects such as Mamba) and allow for Zero Knowledge Proof verification on chain.

Functional requirements

External dependencies

Risks

Long backlog of plutus core team. Uncertain planning time for new types and costing non-constant functions.

Acceptance Criteria

We have a positive audit accepted by Charles Morgan. Plutus functions are costed and tested.

Definition of Done

Plutus contains the new built-in functions in it.

Working Assumptions

iquerejeta commented 1 year ago

Waiting for benchmarks from Plutus teams.

arthurgreef commented 1 year ago

Waiting for benchmarks from Plutus teams.

Hi - is there an estimate on when the benchmark will be completed?

lehins commented 1 year ago

@iquerejeta Can this ticket considered to be done? Or do we need for final Plutus integration and release before closing this ticket?

iquerejeta commented 1 year ago

We can close this. Don't think anyone is using this ticket to track work, and anyways, the BLS work on the case side is finished.