mirror of
https://github.com/0xfnzero/solana-streamer.git
synced 2026-08-04 21:17:44 +00:00
eccd75fb6099396260fd9676aa13e145500a2a00
PumpFun Rust SDK
A comprehensive Rust SDK for seamless interaction with the PumpFun Solana program. This SDK provides a robust set of tools and interfaces to integrate PumpFun functionality into your applications.
Explanation
This repository is forked from https://github.com/nhuxhr/pumpfun-rs.
- Change
PumpFun<'a>toPumpFun, andpayer: &'a Keypairtopayer: Arc<Keypair>. - Add
logs_filtersandlogs_paserto parse the logs of the PumpFun program. - Add
logs_datato define the data structure of the logs. - Add
logs_subscribeto subscribe the logs of the PumpFun program. - Add
logs_eventsto define the event of the logs. - Add
logs_parserto parse the logs. - Add
logs_processto process the logs.
Table of Contents
Crates
| Name | Description | Version |
|---|---|---|
pumpfun |
Main client library for interacting with the PumpFun program | 2.2.2 |
pumpfun-cpi |
CPI (Cross-Program Invocation) interfaces for integrating with the PumpFun program | 1.1.0 |
Features
- Easy-to-use API: Simplified interfaces for interacting with the PumpFun Solana program.
- Cross-Program Invocation: Seamless integration with other Solana programs.
- Comprehensive Documentation: Detailed guides and API references for all functionalities.
Installation
Add the following to your Cargo.toml:
[dependencies]
mai3-pumpfun-sdk = "2.2.2"
Usage
For detailed usage instructions, please refer to the documentation of each crate.
API Reference
For detailed API documentation, run:
cargo doc --open
This will generate and open the API documentation in your default web browser.
Contributing
We welcome contributions to the PumpFun Rust SDK! Please see our Contributing Guide for more details on how to get started.
Languages
Rust
100%