Skip to content

sdengaev/pump_swap_py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

pump_swap_py

Python library to trade on Pump Swap (AMM).

pip install solana==0.36.1 solders==0.23.0

Instructions

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

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

Contact

Check out my tools: https://github.com/AL-THE-BOT-FATHER/bot-father-bundler

Telegram: @AL_THE_BOT_FATHER

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 config.py.

Why doesn't fetch_pair_from_rpc() work for me?

Free tier RPCs do not permit GET_PROGRAM_ACCOUNTS()! You must use a paid RPC.

Does this code work on devnet?

No.

Contributors

https://github.com/Jarki

About

Pump Swap (AMM) with Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%