Skip to content

xevisalle/paccs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0555e2a Β· Oct 31, 2024

History

21 Commits
Oct 29, 2024
Oct 28, 2024
Oct 31, 2024
Oct 29, 2024
Mar 21, 2024
Oct 29, 2024
Mar 5, 2024
Oct 29, 2024

Repository files navigation

Private, Anonymous, Collateralizable Commitments (PACCs) Proof-of-Concept

This repository contains a Proof-of-Concept of PACCs, a protocol meant to prevent MEV attacks on different kind of Blockchain scenarios such as Decentralized Exchanges (DEXs). An academic paper describing the main idea behind this implementation can be found here.

DISCLAIMER: the code in this repository is currently unstable. Furthermore, it has not gone through an exhaustive security analysis, so it is not intended to be used in a production environment, only for academic purposes.

Getting Started

This repository consists of the following modules:

  • πŸ’» Client: All the tools needed to use the protocol (i.e. interact with the smart contract , generate zero-knowledge proofs for the relayer, verify them, etc.).
  • πŸ“ Contracts: The smart contracts, along with all the required code to test and deploy them.
  • πŸ“Š Zkp: A folder implementing the circuit used in our protocol, using Rust. Intended to be used for benchmarking purposes.
  • πŸ“œ Docs: A folder where you can find the documentation concerning the PACCs implementation.