This repository is a collection of various nil-projects related to zero-knowledge proof. Check out subfolders for more. Supported by =nil; Foundation.
root ├── crypto3 ├── debug-tools ├── parallel-crypto3 ├── proof-producer
All dependencies managed by nix
.
So first install nix using the following command:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
then allow nix-command
and flakes
experimental features by adding line
experimental-features = nix-command flakes
in nix configuration file (/etc/nix/nix.conf
).
To activate Nix development environment:
nix develop
To run all tests:
nix flake check
To build an individual derivation:
nix build -L .#<derivation>
For example:
nix build -L .#proof-producer
To list all available nix-targets, call
nix flake show
For incremental build:
nix develop .#<derivation>
eval "$configurePhase" // automatically move to the build directory
eval "$buildPhase" // build
eval "$checkPhase" // run tests
if you want to build a single target:
nix develop .#<derivation>
eval "$configurePhase" // automatically move to the build directory
ninja <target>
See contributing for contribution guidelines.
You can contact us several ways:
- E-Mail. Just drop a line to [email protected].
- Telegram Group. Join our Telegram group @nilfoundation and ask any question in there.
- Discord channel for discussions.
- Issue. Issue which does not belong to any particular module (or you just don't know where to put it) can be created in this repository. The team will answer that.
- Discussion Topic (proposal, tutorial request, suggestion, etc). Would be happy to discuss that in the repository's GitHub Discussions
The software is provided under MIT Licence.