sudo apt update && sudo apt upgrade -y
sudo apt install pkg-config build-essential libssl-dev curl jq
sudo apt install curl build-essential gcc make -y
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source ~/.profile
source ~/.cargo/env
git clone https://github.com/Manta-Network/manta-rs.git
cd manta-rs
cargo run --release --package manta-trusted-setup --all-features --bin groth16_phase2_client register
https://mantanetwork.typeform.com/TrustedSetup
Создаем скрин (очередь сейчас занимает около 20 часов, если запустите без скрина, придется не выключать терминал все это время)
screen -S manta
cd manta-rs
cargo run --release --package manta-trusted-setup --all-features --bin groth16_phase2_client contribute
Выходим из скрина сочетанием клавиш Ctrl + A + D. По прошествии указанного времени заходим в скрин, чтобы убедиться что все прошло успешно.
screen -x manta