| Crates.io | trident-fuzz |
| lib.rs | trident-fuzz |
| version | 0.12.0 |
| created_at | 2024-08-14 12:22:11.836536+00 |
| updated_at | 2025-11-27 09:18:51.391057+00 |
| description | Trident is Rust based fuzzing framework for Solana programs written in Anchor. |
| homepage | |
| repository | https://github.com/Ackee-Blockchain/trident |
| max_upload_size | |
| id | 1337228 |
| size | 298,395 |
The first and only manually-guided fuzzing framework for Solana programs written in Rust, processing up to 12,000 tx/s.
Granted by the Solana Foundation, securing Kamino.
Install via Cargo:
cargo install trident-cli
Write your first fuzz test:
#[init]
fn start(&mut self) {
// Build Initialize Transaction
let mut tx = InitializeTransaction::build(&mut self.trident, &mut self.fuzz_accounts);
// Execute Initialize Transaction
self.trident
.execute_transaction(&mut tx, Some("Initialize"));
}
#[flow]
fn flow1(&mut self) {
// Build MoveEast Transaction
let mut tx = MoveEastTransaction::build(&mut self.trident, &mut self.fuzz_accounts);
// Execute MoveEast Transaction
self.trident.execute_transaction(&mut tx, Some("MoveEast"));
}
#[flow]
fn flow2(&mut self) {
// Build MoveSouth Transaction
let mut tx = MoveSouthTransaction::build(&mut self.trident, &mut self.fuzz_accounts);
// Execute MoveSouth Transaction
self.trident.execute_transaction(&mut tx, Some("MoveSouth"));
}
Run it:
trident fuzz run <fuzz_test>
For full examples and guides, see the documentation.
Latest release: 0.11.1
cargo install trident-cli
Check out the following places for more Trident-related content:
| Solana Foundation | Marinade |
|---|---|
![]() |
![]() |
Thank you for your interest in contributing to Trident! Please see the CONTRIBUTING.md to learn how.
This project is licensed under the MIT license.