Solana raydium pool and pump.fun swap written in 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.
No open issues yet, or sync has not completed.