Code organization
The code is divided into 3 key repositories:
  1. 1.
    The interface
  2. 2.
    The SDK

Poof v2 SDK

The SDK serves as a NPM library that allows importers to easily write / read from the Poof smart contracts. These basic functions are implemented:
  • Fetch user's hidden balance and debt
  • Private deposit
  • Private withdraw
  • Private borrow
  • Private repay

Poof v2 contracts

This repository contains the Poof smart contracts as well as the circom Circuits for zkSNARK proofs.