Steps for setting up Reth Succinct Processor (RSP) on an Ubuntu instance.
git clone https://github.com/KalypsoProver/rsp.gitcurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shFollow the official guide at docs.succinct.xyz.
Verify that the installation was successful with the following command:
cargo prove --versionNote:
m4andopensslare required for building the project.
sudo apt update
sudo apt install -y m4 libssl-devMake sure the NVIDIA GPU drivers are set up and the NVIDIA container toolkit is installed. Verify using the following commands:
nvidia-sminvcc --versionFor eth-proofs:
cargo build --release --bin eth-proofsFor monitoring:
cargo build --release --bin monitorCreate a new systemd unit file for the eth-proofs service:
sudo vim /etc/systemd/system/eth-proofs.servicePaste the following configuration into the file:
[Unit]
Description=Eth Proofs Service
After=network.target
[Service]
ExecStart=<REPLACE WITH COMMAND TO EXECUTE ETH-PROOFS SERVICE>
Restart=always
RestartSec=5
EnvironmentFile=/root/.env
User=root
WorkingDirectory=/root
[Install]
WantedBy=multi-user.targetReload systemd to pick up the new unit file, then enable and start the service:
# Reload systemd manager configuration
sudo systemctl daemon-reload
# Enable the service to start automatically on boot
sudo systemctl enable eth-proofs.service
# Start the service immediately
sudo systemctl start eth-proofs.serviceCheck the service status and follow the logs:
# Check the current status of the service
sudo systemctl status eth-proofs.service
# Stream live logs from the service
sudo journalctl -u eth-proofs.service -fAdd the following monitoring credentials to your .env file:
SUPABASE_API_KEY=<REPLACE_WITH_SUPABASE_API_KEY>
SUPABASE_URL=<REPLACE_WITH_SUPABASE_URL>
Create a new systemd unit file for the monitor service:
sudo vim /etc/systemd/system/eth-proofs-monitor.servicePaste the following configuration into the file:
[Unit]
Description=Eth Proofs Monitor
After=network.target
[Service]
ExecStart=/root/monitor
Restart=always
RestartSec=5
EnvironmentFile=/root/.env
User=root
WorkingDirectory=/root
[Install]
WantedBy=multi-user.targetReload systemd to pick up the new unit file, then enable and start the service:
# Reload systemd manager configuration
sudo systemctl daemon-reload
# Enable the service to start automatically on boot
sudo systemctl enable eth-proofs-monitor.service
# Start the service immediately
sudo systemctl start eth-proofs-monitor.serviceCheck the service status and follow the logs:
# Check the current status of the service
sudo systemctl status eth-proofs-monitor.service
# Stream live logs from the service
sudo journalctl -u eth-proofs-monitor.service -fSet up a Cloudflare tunnel on port 9090 to expose the monitoring endpoint.