Prerequisites
This project requires:
- The Foundry nightly toolchain
- The Rust toolchain
Install Foundry (v1.5.1)
Install Foundry v1.5.1:
# Download the Foundry installer
curl -L https://foundry.paradigm.xyz | bash
# Install forge, cast, anvil, chisel
# Ensure you are using the 1.5.1 stable release
foundryup -i 1.5.1
Verify your installation:
anvil --version
The output should include a anvil Version: 1.5.1.
Install Rust
Install Rust using rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
After installation, ensure Rust is available:
rustc --version
Linux packages
# essentials
sudo apt-get install -y build-essential pkg-config cmake clang lldb lld libssl-dev apt-transport-https ca-certificates curl software-properties-common git