Installation#
This guide will walk you through the Installation process of Trident.
Important
Prerequisite
It is expected that you have installed:
- Rust (Install Rust)
- Solana CLI (Install Solana CLI)
- Anchor Framework (Install Anchor)
For supported versions check the Supported Versions
Install System Dependencies#
Update your package list and install the required packages:
sudo apt-get update
sudo apt-get install -y \
curl \
git \
build-essential \
pkg-config \
libssl-dev \
npm \
vim \
nano \
wget \
binutils-dev \
libunwind-dev \
lldb
Install Trident and Honggfuzz#
Install them using the following commands:
Supported versions#
Trident CLI | Anchor | Solana | Rust | Honggfuzz |
---|---|---|---|---|
v0.7.0 | >=0.29.* 1 | ^1.17.4 | nightly | 0.5.56 |
v0.6.0 | >=0.29.* 1 | ^1.17 | nightly | 0.5.55 |
v0.5.0 | ~0.28.* | =1.16.6 | - | - |
v0.4.0 | ~0.27.* | >=1.15 | - | - |
v0.3.0 | ~0.25.* | >=1.10 | - | - |
v0.2.0 | ~0.24.* | >=1.9 | - | - |
- To use Trident with Anchor 0.29.0, run the following commands from your project's root directory after Trident initialization:
cargo update [email protected] --precise 0.29.0 cargo update [email protected] --precise 0.29.0