Skip to content

HSG88/Aegis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

518b0ed · Mar 27, 2025

History

11 Commits
Dec 9, 2021
Jul 23, 2022
Jul 23, 2022
Jul 23, 2022
Jul 23, 2022
Jul 23, 2022
Jul 23, 2022
Dec 9, 2021
Dec 9, 2021
Dec 9, 2021
Mar 27, 2025
Mar 27, 2025
Jul 9, 2022
Jul 23, 2022

Repository files navigation

Aegis

This is the proof of concept presented in our paper "Aegis: Privacy Preserving Market for Non-Fungible Tokens".

Getting started

  • Install Node.js
  • Install Circom 2
  • Run npm i to install dependancies
  • Run npm run build:circuits to build the zkSNARK artifacts
  • Run npx hardhat test to test a full scenario of for list of commands

Notes

  • To change the Merkle tree depth:
    • Update TREE_DEPTH in contracts\Commitments.sol
    • Update the last parameter in circuits\*.circom
    • Update TREE_DEPTH in test\aegis.test.js
    • Run npm run build to rebuild the artifacts
  • To measure the circuit R1CS constraints:
    • Make sure you have built the artifacts by running npm run builds
    • cd /build
    • Run npx snarkjs r1cs info #x where #x is the *.r1cs file (e.g. JoinSplit.r1cs)

Remarks

The authors don't hold any liability for any loss that might result for using this software, and it serves only as a proof of concept for the protocol described in our paper.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published