Links
Comment on page

Toolchain installation

Proof Market toolchain installation and building the toolchain from sources

Toolchain installation

Proof Market toolchain is a collection of Python scripts for interacting with Proof Market. These scripts are required for all participants.
Clone the repository:
git clone --recurse-submodules [email protected]:NilFoundation/proof-market-toolchain.git
Based on the user's role, they must install additional binaries/scripts to interact with the market.
To interact with Proof Market, you must also have Python setup and its dependencies.
We recommend setting up a virtual environment to interact with Proof Market.
pip3 install --user virtualenv
python3 -m virtualenv venv
source venv/bin/activate
pip3 install -r requirements.txt

Circuit developer

Proof requester

Proof producer

As a proof producer, you need to compile the proof-generator binary.

Build

cd proof-market-toolchain && mkdir build && cd build
cmake -G "Unix Makefiles" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=/usr/bin/clang-12 \
-DCMAKE_CXX_COMPILER=/usr/bin/clang++-12 \
..
cmake --build . -t proof-generator

Building the toolchain from sources

You can learn more about the toolchain and how to build it via Docker or manually in the project's README.