Skip to content

Buy and Sell SPL tokens on the Raydium DEX using the Solana-Py SDK and Jito SDK

Notifications You must be signed in to change notification settings

henrytirla/Solana-Trading-Bot

Repository files navigation

Solana Trading Bot

This repository provides a comprehensive guide and implementation for interacting with the Raydium DEX on the Solana blockchain using the Solana-py SDK. It includes scripts and utilities for trading SPL tokens, managing SOL and SPL token accounts, and optimizing your wallet space by reclaiming unused account fees.

Features

  • Buy and Sell SPL Tokens: Seamlessly trade SPL tokens on the Raydium DEX using the Solana-py SDK.
  • Wrap and Unwrap SOL: Convert SOL to Wrapped SOL (WSOL) and vice versa for use in SPL token transactions.
  • Close Token Accounts: Reclaim the SOL used as rent for token accounts by securely closing unused SOL and SPL token accounts.
  • Integrate with Jito: Leverage Jito for optimized MEV (Maximal Extractable Value) to maximize your trading strategies on Solana.

This repository serves as a practical resource for developers looking to automate their interactions with the Raydium DEX and manage their Solana accounts programmatically.

Install Requirements

pip install requirements.txt

Recommendations

You can trade with code in the WrapSol__priorityfees folder. Wrap your sol first and leave a certain amout of sol to pay for gas fees.

⚠️ Crypto Trading Warning

Crypto trading can easily turn into uncontrollable gambling—stay cautious! If you're trading, make sure to track your P&L regularly. Stay on top of your performance with the DexPNL Bot.

Service

You can have this script ported to a telegram bot for your personal use. DM for setup

💰 Support My Work

If these scripts have helped you, please consider supporting my work. Your support will help me continue to develop these tools and create more useful resources for the crypto community.

  • 🚀 henrytirla.sol: FJRDY392XSyfV9nFZC8SZij1hB3hsH121pCQi1KrvH6b

Jito has gone through lots of updates. Updated scripts coming soon

About

Buy and Sell SPL tokens on the Raydium DEX using the Solana-Py SDK and Jito SDK

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages