GitPedia

Raytx

Solana raydium pool and pump.fun swap written in rust

From wisarmy·Updated May 27, 2026·View on GitHub·

Raytx is a powerful tool for performing token swap operations on Raydium and Pump.fun, providing both CLI and API interfaces. The project is written primarily in Rust, first published in 2024. Key topics include: meme, pump, raydium, rust, solana.

Latest release: v0.2.10
February 26, 2025View Changelog →

Raytx

Raytx is a powerful tool for performing token swap operations on Raydium and Pump.fun, providing both CLI and API interfaces.

Features

  • Command-line interface for quick swaps
  • RESTful API service for programmatic access
  • Support for buy/sell operations
  • Integration with Jito for faster transactions
  • Percentage-based selling options

Project Dependencies

Before getting started, ensure that the following software is installed on your system:

  • Rust version 1.8 or higher.

Build

cargo build -r

This will generate an executable file raytx, located in the target/release/raytx.

Using the Command-Line Tool

Buy

raytx swap <mint> buy --amount-in=<amount-in>

Sell

# sell 50%
raytx swap <mint> sell --amount-in-pct=0.5

# sell all, close wallet ata when sell all
raytx swap <mint> sell --amount-in-pct=1

# Sell 1000
raytx swap <mint> sell --amount-in=1000

Replace <mint> with the address of the token you want to swap, and <amount-in> with the quantity|<amount-in-pct> with the percentage you want to swap.

Jito

Use --jito to speed up swap.
Read more

Using swap api

To start the daemon, use the following command:

bash
raytx daemon

More information in the documentation

Contributing

Contributions to this project are welcome. If you have any questions or suggestions, feel free to raise an issue.

License

This project is licensed under the MIT License.

Contributors

Showing top 1 contributor by commit count.

View all contributors on GitHub →

This article is auto-generated from wisarmy/raytx via the GitHub API.Last fetched: 6/27/2026