{"id":25452817,"url":"https://github.com/yllvar/pump.fun-with-pump-portal","last_synced_at":"2025-05-16T13:10:32.703Z","repository":{"id":246637897,"uuid":"813667102","full_name":"yllvar/Pump.Fun-With-Pump-Portal","owner":"yllvar","description":"Pump Portal is a 3rd party websocket provider to interact with Pump.fun, a Solana Meme token trading ecosytem","archived":false,"fork":false,"pushed_at":"2024-06-29T08:45:33.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T23:42:02.639Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/yllvar.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-06-11T14:08:37.000Z","updated_at":"2025-02-03T11:25:43.000Z","dependencies_parsed_at":"2024-06-29T09:45:47.956Z","dependency_job_id":"c2076b5e-460d-4e49-a99b-ec61257b8ab4","html_url":"https://github.com/yllvar/Pump.Fun-With-Pump-Portal","commit_stats":null,"previous_names":["yllvar/pump.fun-with-pump-portal"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yllvar%2FPump.Fun-With-Pump-Portal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yllvar%2FPump.Fun-With-Pump-Portal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yllvar%2FPump.Fun-With-Pump-Portal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yllvar%2FPump.Fun-With-Pump-Portal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yllvar","download_url":"https://codeload.github.com/yllvar/Pump.Fun-With-Pump-Portal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254535822,"owners_count":22087399,"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":[],"created_at":"2025-02-17T23:41:42.749Z","updated_at":"2025-05-16T13:10:32.676Z","avatar_url":"https://github.com/yllvar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Contact\nMy services are for hire. Contact me if you need me to build your pump.fun trading bot or algo.\n\nTelegram: OxEight33n (L0rd~~0xEight33n)\n\n## Pump.fun Trading Bot using PumpPortal API\n\nThis repository contains a simple Python script to buy and sell meme tokens on the Pump.fun platform using the unofficial PumpPortal API. The script allows users to programmatically execute trades by sending HTTP requests to the PumpPortal API.\n\n## Prerequisites\n\nBefore using this script, ensure you have the following:\n\n- Python 3.x installed on your machine.\n- An API key for PumpPortal. You can obtain this by signing up on the PumpPortal website.\n- The `requests` library installed. You can install it using pip:\n  ```sh\n  pip install requests\n  ```\n\n## Getting Started\n\n1. **Clone the Repository**\n\n\n2. **Update the Script**\n\n   Open the script file `trade_bot.py` and update the following variables with your own details:\n   ```python\n   api_key = 'your-wallet-api-key'\n   action = 'buy'  # or 'sell'\n   mint = 'pump-token-mint-address'\n   amount = 0.001\n   denominated_in_sol = 'true'  # or 'false'\n   slippage = 10\n   priority_fee = 0.005\n   ```\n\n\n### Parameters\n\n- `api_key`: Your PumpPortal API key.\n- `action`: The action to perform (`\"buy\"` or `\"sell\"`).\n- `mint`: The contract address of the token you want to trade.\n- `amount`: The amount of SOL or tokens to trade.\n- `denominated_in_sol`: `\"true\"` if `amount` is in SOL, `\"false\"` if `amount` is in tokens.\n- `slippage`: The percent slippage allowed.\n- `priority_fee`: The amount to use as a priority fee or Jito tip.\n- `pool`: (Optional) The exchange to trade on. Default is `\"pump\"`, other option is `\"raydium\"`.\n\n### Response Handling\n\nThe script logs the full response from the PumpPortal API for debugging purposes. If the request is successful, it returns the transaction signature or errors. If an error occurs, it prints the HTTP status code and response content.\n\n## Error Handling\n\nThe script includes basic error handling to manage and log any issues that occur during the execution of the trade.\n\n## Contributing\n\nIf you have any suggestions or improvements, feel free to create a pull request or open an issue.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n---\n\nBy following these instructions, you should be able to execute trades on the Pump.fun platform programmatically using the provided Python script. If you encounter any issues, please refer to the PumpPortal API documentation or open an issue in this repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyllvar%2Fpump.fun-with-pump-portal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyllvar%2Fpump.fun-with-pump-portal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyllvar%2Fpump.fun-with-pump-portal/lists"}