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

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

4 releases (2 breaking)

new 0.8.1 Nov 14, 2024
0.8.0 Oct 21, 2024
0.7.0 Aug 14, 2024
0.6.0 May 20, 2024

#715 in Magic Beans

Download history 15/week @ 2024-07-29 139/week @ 2024-08-12 4/week @ 2024-08-19 26/week @ 2024-08-26 46/week @ 2024-09-02 24/week @ 2024-09-09 52/week @ 2024-09-16 42/week @ 2024-09-23 26/week @ 2024-09-30 188/week @ 2024-10-21 15/week @ 2024-10-28 13/week @ 2024-11-04 115/week @ 2024-11-11

331 downloads per month
Used in trident-cli

Custom license

195KB
4K SLoC

Trident Github

Trident

Trident

Rust-based framework to Fuzz Solana programs, designed 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

~125MB
~3M SLoC