{"id":22017325,"url":"https://github.com/al-the-bot-father/pump_fun_py","last_synced_at":"2026-01-23T11:41:57.468Z","repository":{"id":238277082,"uuid":"796233528","full_name":"AL-THE-BOT-FATHER/pump_fun_py","owner":"AL-THE-BOT-FATHER","description":"Pump Fun with Python ","archived":false,"fork":false,"pushed_at":"2025-03-26T20:10:41.000Z","size":110,"stargazers_count":274,"open_issues_count":0,"forks_count":80,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-03T12:08:15.469Z","etag":null,"topics":["fun","pump","pumpfun","python","solana"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AL-THE-BOT-FATHER.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-05T10:50:57.000Z","updated_at":"2025-04-03T01:27:09.000Z","dependencies_parsed_at":"2024-12-17T21:21:43.311Z","dependency_job_id":"9acaa023-c586-432a-8a27-bb13113dc6dd","html_url":"https://github.com/AL-THE-BOT-FATHER/pump_fun_py","commit_stats":null,"previous_names":["allen-taylor/pump_fun_py","al-the-bot-father/pump_fun_py"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AL-THE-BOT-FATHER%2Fpump_fun_py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AL-THE-BOT-FATHER%2Fpump_fun_py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AL-THE-BOT-FATHER%2Fpump_fun_py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AL-THE-BOT-FATHER%2Fpump_fun_py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AL-THE-BOT-FATHER","download_url":"https://codeload.github.com/AL-THE-BOT-FATHER/pump_fun_py/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248564657,"owners_count":21125408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fun","pump","pumpfun","python","solana"],"created_at":"2024-11-30T05:05:55.546Z","updated_at":"2026-01-23T11:41:57.462Z","avatar_url":"https://github.com/AL-THE-BOT-FATHER.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pump_fun_py\n\nPython library to trade on pump.fun. \n\n```\npip install solana==0.36.1 solders==0.23.0\n```\n\nUpdated: 9/3/2025\n\n# Contact\n\nMy Telegram: https://t.me/AL_THE_BOT_FATHER\n\nBot Mafia Telegram: https://t.me/Bot_Mafia_Support\n\n\u003cimg width=\"200\" height=\"200\" alt=\"bot_mafia\" src=\"https://github.com/user-attachments/assets/b0c8ca7c-83c0-45e9-8007-be85f13a4b0a\" /\u003e\n\n# Instructions\n\nClone the repo and use example_buy.py or example_sell.py.\n\n**If you can - please support my work and donate to: 3pPK76GL5ChVFBHND54UfBMtg36Bsh1mzbQPTbcK89PD**\n\n# FAQS\n\n**What format should my private key be in?** \n\nThe private key should be in the base58 string format, not bytes. \n\n**Why are my transactions being dropped?** \n\nYou get what you pay for. Don't use the main-net RPC, just spend the money for Helius or Quick Node.\n\n**How do I change the fee?** \n\nModify the unit_budget and unit_price values. \n\n**Does this code work on devnet?**\n\nNo. \n\n# Example\n\n```\nfrom solana.rpc.api import Client\nfrom solders.keypair import Keypair  # type: ignore\n\nfrom pump_fun import buy\n\n# Configuration\npriv_key = \"base58_priv_str_here\"\nrpc = \"rpc_url_here\"\nmint_str = \"pump_token_address\"\nsol_in = 0.1\nslippage = 5\nunit_budget = 120_000\nunit_price = 1_000_000\n\n# Initialize client and keypair\nclient = Client(rpc)\npayer_keypair = Keypair.from_base58_string(priv_key)\n\n# Execute buy\nbuy(client, payer_keypair, mint_str, sol_in, slippage, unit_budget, unit_price)\n```\n\n```\nfrom solana.rpc.api import Client\nfrom solders.keypair import Keypair  # type: ignore\n\nfrom pump_fun import sell\n\n# Configuration\npriv_key = \"base58_priv_str_here\"\nrpc = \"rpc_url_here\"\nmint_str = \"pump_token_address\"\npercentage = 100\nslippage = 5\nunit_budget = 120_000\nunit_price = 1_000_000\n\n# Initialize client and keypair\nclient = Client(rpc)\npayer_keypair = Keypair.from_base58_string(priv_key)\n\n# Execute sell\nsell(client, payer_keypair, mint_str, percentage, slippage, unit_budget, unit_price)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fal-the-bot-father%2Fpump_fun_py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fal-the-bot-father%2Fpump_fun_py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fal-the-bot-father%2Fpump_fun_py/lists"}