#fuzz-testing #instructions #anchor #help #programs #suite #trident

trident-client

The trident_client crate helps you build and deploy an Anchor program to a local cluster and run a test suite against it

1 unstable release

0.6.0 May 20, 2024

#4 in #trident

Download history 143/week @ 2024-05-20 1/week @ 2024-05-27 3/week @ 2024-06-03 4/week @ 2024-06-10

151 downloads per month
Used in trident-cli

Custom license

350KB
6.5K SLoC

Trident Github

Trident

Trident

Rust-based framework to Fuzz and Integration test Solana programs to help you ship secure code.

Chat Version MIT License Lint Test Escrow and Turnstile


Documentation

For documentation and guides, visit ackee.xyz/trident/docs.

Prerequisites

Check Supported versions section for further details.

Installation

cargo install trident-cli


Features

Automated Test Generation

Simplifies the testing process by automatically creating templates for fuzz and integration tests for programs written using the Anchor Framework.

Dynamic Data Generation

Increases test coverage with random instruction data and pseudo-random accounts for unpredictable fuzz test scenarios.

Custom Instruction Sequences

Provides the flexibility to design specific sequences of instructions to meet particular testing needs or to focus on particular aspects of program behavior during fuzz testing.

Invariant Checks

Allows for custom invariants checks to spot vulnerabilities and unwanted behaviors.

Community

Check out the following places for more Trident-related content:

Grants

Solana Foundation Marinade

Contribution

Thank you for your interest in contributing to Trident! Please see the CONTRIBUTING.md to learn how.

License

This project is licensed under the MIT license.

Dependencies

~63–91MB
~2M SLoC