SDK for Rust
The FURY SDK for Rust is a client library designed to interact seamlessly with the FURY API service, offering a comprehensive toolkit for Solana token operations.
Features
Complete API Coverage: Access all FURY API endpoints.
Type Safety: Leverage Rust's strong type system.
Asynchronous Support: Built on Tokio for efficient async operations.
Robust Error Handling: Utilizes the
anyhow
crate for comprehensive error management.Built-in Validation: Ensures parameter correctness.
Solana Integration: Native support for Solana transactions and signatures.
Installation
Prerequisites
Rust 1.70 or higher
Cargo package manager
Adding to Your Project
Include the following in your Cargo.toml
:
Quick Start
Here's a basic example to get you started:
Usage Examples
The SDK provides various methods to interact with the FURY API. Here are some examples:
Generate a New Mint
Create a Token
Transfer Tokens
Error Handling
All SDK methods return a Result<T, anyhow::Error>
, allowing you to handle errors gracefully using Rust's ?
operator or custom error handling logic.
Contributing
Contributions are welcome! Please fork the repository and submit a pull request.
License
This project is licensed under the MIT License.
Last updated