2025-01-02 19:44:38 +08:00
2025-01-02 19:44:38 +08:00
2024-12-31 16:42:24 +08:00
2024-12-31 16:51:58 +08:00
2024-12-31 16:42:24 +08:00
2025-01-02 14:37:37 +08:00

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.

  1. Change PumpFun<'a> to PumpFun, and payer: &'a Keypair to payer: Arc<Keypair>.
  2. Add logs_filters and logs_paser to parse the logs of the PumpFun program.
  3. Add logs_data to define the data structure of the logs.
  4. Add logs_subscribe to subscribe the logs of the PumpFun program.
  5. Add logs_events to define the event of the logs.
  6. Add logs_parser to parse the logs.
  7. Add logs_process to 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%