A comprehensive toolkit for Solana, built in Rust, designed to simplify and streamline your Solana development experience. It provides a set of tools and utilities to interact with the Solana blockchain, making it easier to build, test, and deploy your Solana projects.
To install foundry-solana, run the following command in your terminal:
cargo install --git https://github.com/JamieShip/foundry-solana
This will download and install the latest version of foundry-solana from the GitHub repository.
To get started with foundry-solana, let's take a look at a simple example. Suppose you want to query the status of a transaction on the Solana mainnet. You can use the castsol
command-line tool to do so. Here's an example:
castsol tx 35FKJTyf3shma5uQGpS9WaKcmkYaj3MKB2ZLSsYFK1w27hgSNbRxuA1u4Vt6ayLZ1an4aGDRSC6qbvRmVunj3D2A --rpc-url="https://api.mainnet-beta.solana.com"
This command queries the status of the transaction with the specified signature on the Solana mainnet using the provided RPC URL.
Foundry-solana is an open-source project, and we welcome contributions from the community. If you're interested in contributing, please fork the repository, make your changes, and submit a pull request. We appreciate any help in making foundry-solana a better tool for the Solana ecosystem.
If you find foundry-solana useful and would like to support its development, you can buy us a coffee using the following Solana address:
FtzXQ8gA7pe2dUmz1EEn3nEzfsZHvm5aSVjok75hQdoy
Your support is greatly appreciated and will help us continue to improve and expand foundry-solana.