Solana raydium pool 和 pump.fun swap 使用 Rust 编写
Raytx is a powerful tool for performing token swap operations on Raydium and Pump.fun, providing both CLI and API interfaces.
Before getting started, ensure that the following software is installed on your system:
cargo build -rThis will generate an executable file raytx, located in the target/release/raytx.
raytx swap buy --amount-in=# sell 50%
raytx swap sell --amount-in-pct=0.5
# sell all, close wallet ata when sell all
raytx swap sell --amount-in-pct=1
# Sell 1000
raytx swap sell --amount-in=1000Replace with the address of the token you want to swap, and with the quantity| with the percentage you want to swap.
Use --jito to speed up swap.
Read more
To start the daemon, use the following command:
raytx daemonMore information in the documentation
Contributions to this project are welcome. If you have any questions or suggestions, feel free to raise an issue.
This project is licensed under the MIT License.
暂无开放 Issues,或尚未同步最近议题。