Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thelezend/shyft-rs-sdk
Rust library for interacting with the Shyft API.
https://github.com/thelezend/shyft-rs-sdk
rust sdk shyft solana
Last synced: about 17 hours ago
JSON representation
Rust library for interacting with the Shyft API.
- Host: GitHub
- URL: https://github.com/thelezend/shyft-rs-sdk
- Owner: thelezend
- Created: 2024-08-26T17:10:06.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-09-11T16:59:16.000Z (5 months ago)
- Last Synced: 2025-01-31T13:43:16.476Z (11 days ago)
- Topics: rust, sdk, shyft, solana
- Language: Rust
- Homepage:
- Size: 58.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shyft Rust SDK
[![Crates.io](https://img.shields.io/crates/v/shyft-rs-sdk.svg)](https://crates.io/crates/shyft-rs-sdk)
[![CI](https://github.com/thelezend/shyft-rs-sdk/actions/workflows/ci.yml/badge.svg)](https://github.com/thelezend/shyft-rs-sdk/actions/workflows/ci.yml)
[![Documentation](https://docs.rs/shyft-rs-sdk/badge.svg)](https://docs.rs/shyft-rs-sdk/)`shyft-rs-sdk` is a Rust library for interacting with the [Shyft API](https://docs.shyft.to/).
> **IMPORTANT: This is not an official SDK. It is a personal project for learning Rust and API development. The included endpoints are primarily for personal use in my own projects and may not cover all features of the Shyft API. However, new endpoints can be added upon request. Contributions are welcome!**
[Docs](https://docs.rs/shyft-rs-sdk/) | [Examples](https://github.com/thelezend/shyft-rs-sdk/tree/main/examples)
## Features
- Configurable retry strategy for API requests.
- Fetch transaction history for a given account. ([GET /transaction/history](https://docs.shyft.to/solana-apis/transactions/transaction-apis#get-transaction-history))
- Retrieve parsed transaction details for a specific transaction signature. ([GET /transaction/parsed](https://docs.shyft.to/solana-apis/transactions/transaction-apis#parsed-transaction))
- Fetch parsed bulk transactions in a single call. ([POST /transaction/parse_selected](https://docs.shyft.to/solana-apis/transactions/transaction-apis#post-transaction-parse_selected))## Installation
Run the following command in your project directory:
```bash
cargo add shyft-rs-sdk
```## Usage
The [examples](https://github.com/thelezend/shyft-rs-sdk/tree/main/examples) folder contains various examples of how to use the Shyft Rust SDK. The [docs](https://docs.rs/shyft-rs-sdk) also provide lots of code snippets and examples.
## Contribution
Your contributions are welcome! Please ensure your code follows the existing style and includes documentation, examples and tests for any new functionality.
## License
This project is licensed under the MIT OR Apache-2.0 license.