Skip to content

xevisalle/paccs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.