Skip to content

Raydium swap with Python (includes trading bot example).

Notifications You must be signed in to change notification settings

Allen-Taylor/raydium_py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

raydium_py

This repo is for my python lovers who want to trade on Raydium. Only works for SOL pairs.

Clone the repo, add Private Key (base58 string) and RPC url to the config.py.

If you can - please support my work and donate to: 3pPK76GL5ChVFBHND54UfBMtg36Bsh1mzbQPTbcK89PD

Example

See the example.py to execute a full Raydium Trade.

image

image

FAQS

What format should my private key be in?

The private key should be in the base58 string format, not bytes.

Why are my transactions being dropped?

You get what you pay for. Don't use the main-net RPC, just spend the money for Helius or Quick Node.

How do I change the fee?

Modify the UNIT_BUDGET and UNIT_PRICE in the constants.py.

Contact

My services are for hire. Contact me if you need help integrating the code into your own project.

Telegram: @AL_THE_BOT_FATHER

About

Raydium swap with Python (includes trading bot example).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages