Auto maintained API docs: saplingteam.github.io/contracts
Whitepaper: sapling.finance/whitepaper
- Install Node v16, node version manager or NVM may be helpful.
- Install packages:
npm install
- Setup
.env
file. Copy .env.example as .env:cp .env.example .env
- Run tests:
npm run test
- Node v16
npm install
cd into project directory and create .env
by running the command below on *NIX systems, or by copying the file manually.
cp .env.example .env
Then update the values accordingly in .env
- Run unit tests:
npm run test
- Run unit tests with coverage report:
npm run coverage
See DEPLOYMENT for a sample guide. Plan and test production deployments on case by case basis.
If you would like to contribute, join 👥-contributors channel on Sapling discord and tell us about how you'd like to help.
Sapling V1 contracts are under the MIT license.