8000 GitHub - Dimo99/pools-sol
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Dimo99/pools-sol

 
 

Repository files navigation

Privacy-Pools

Fork of https://github.com/ameensol/privacy-pools project.

Features

  • Deposited funds cannot be locked or stolen (non-custodial and non-restrictive)
  • Zero knowledge proofs secure user's privacy
  • Users have the freedom to choose an anonymity set upon withdrawal
  • Removing illicit deposits from an anonymity subset accomplished two things:
    • Proves a withdrawal is clean without violating the privacy of the specific user, and
    • Reduces the anonymity sets of hackers, acting as a deterrent and as a dampening force for illicit activity
  • Enables customizable community driven anti blackhat and anti money laundering coordination in a credibly neutral way

Read More

You can read more about privacy pools in docs.

Dependencies

Install and Test Locally

Only tested on a UNIX-like OS (linux or mac).

Clone the Repo

$ git clone https://github.com/ameensol/privacy-pools
$ cd pools-sol

Install Dependencies

$ yarn

or

$ npm install .

Setup Circuit Locally

$ bash ./scripts/setup.sh

Run the Tests

$ hardhat test

Setup and Run Slither

Install the solc compiler. If you're on linux and use apt you can install it this way:

$ sudo add-apt-repository ppa:ethereum/ethereum
$ sudo apt-get update
$ sudo apt-get install solc

Setup python virtual environment:

$ python3 -m venv venv
$ source ./venv/bin/activate
(venv) $ pip3 install -r requirements.txt

Run slither:

(venv) $ slither --hardhat-cache-directory=./build/cache --hardhat-artifacts-directory=./build/artifacts .

If you don't activate the python venv you can use:

$ ./venv/bin/slither --hardhat-cache-directory=./build/cache --hardhat-artifacts-directory=./build/artifacts .

envs

HARDHAT_NODE_LOGGING_ENABLED=1 # have the hardhat node print out rpc request info

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 60.4%
  • Solidity 25.7%
  • Circom 11.3%
  • Shell 1.4%
  • Python 1.2%
0