{"id":28170926,"url":"https://github.com/ptcbink/solana-pumpfun-sc","last_synced_at":"2025-05-15T18:15:27.712Z","repository":{"id":293367294,"uuid":"983811648","full_name":"ptcbink/solana-pumpfun-sc","owner":"ptcbink","description":"Solana pump fun sc, updated pump fun IDL, new pump fun SC","archived":false,"fork":false,"pushed_at":"2025-05-15T00:43:15.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T01:35:34.635Z","etag":null,"topics":["anchor","idl","pumpdotfun","pumpfun","solana"],"latest_commit_sha":null,"homepage":"https://lmao.fun","language":"TypeScript","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/ptcbink.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,"zenodo":null}},"created_at":"2025-05-15T00:41:36.000Z","updated_at":"2025-05-15T00:47:51.000Z","dependencies_parsed_at":"2025-05-15T01:35:48.347Z","dependency_job_id":"6baadce9-23d1-4625-b5c2-96b651bde0cc","html_url":"https://github.com/ptcbink/solana-pumpfun-sc","commit_stats":null,"previous_names":["ptcbink/solana-pumpfun-sc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptcbink%2Fsolana-pumpfun-sc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptcbink%2Fsolana-pumpfun-sc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptcbink%2Fsolana-pumpfun-sc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptcbink%2Fsolana-pumpfun-sc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ptcbink","download_url":"https://codeload.github.com/ptcbink/solana-pumpfun-sc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254394690,"owners_count":22063984,"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":["anchor","idl","pumpdotfun","pumpfun","solana"],"created_at":"2025-05-15T18:15:23.586Z","updated_at":"2025-05-15T18:15:27.702Z","avatar_url":"https://github.com/ptcbink.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pump.fun Solana Smart Contract\n\nThis repository contains a Solana-based smart contract designed for token launches. It integrates the latest updates from the **Pump.fun** protocol and incorporates **Meteora migration** functionality. The contract leverages advanced bonding curve mechanics, dynamic fee structures, and robust administrative controls to ensure seamless token distribution and liquidity management.\n\n## Core Features\n\n### Bonding Curve Price Logic\n\nThe protocol implements a **constant product linear bonding curve** (`x * y = k`) to enable price discovery and continuous liquidity for the token. Once the bonding curve accumulates **85 SOL**, the remaining tokens are migrated to **Meteora**.\n\n### Dynamic Fee Structure\n\nThe contract employs a **piecewise linear fee structure** based on user participation slots. All fees collected are directed to the protocol's **multisig wallet**, ensuring transparency and security.\n\n## Administrative Roles\n\nThe protocol defines two key administrative roles:\n\n- **Global Authority**: Responsible for managing global settings and whitelist configurations.\n- **Migration Authority**: Handles the migration of tokens to Meteora.\n\n### Whitelist Management\n\n- The **Global Authority** can configure whitelist allocation settings.\n- Whitelist entries are managed via **PDA accounts** (Program Derived Addresses):\n  - Add a whitelist entry by creating a PDA for the user.\n  - Remove a whitelist entry by deleting the corresponding PDA account.\n\n### Administrative Capabilities\n\n- Modify protocol parameters.\n- Manage fee settings.\n- Control whitelist status.\n\n## Recent Updates\n\nThis project integrates the **latest version of the Pump.fun smart contract and IDL** (Interface Definition Language). The updates include enhanced bonding curve mechanics, improved fee structures, and streamlined migration processes.\n\n## Transaction Examples\n\nBelow are some example transactions executed on the **Solana Devnet**:\n\n- **Create Global PDA**: [View Transaction](https://solscan.io/tx/5YmZqVgFcKk11uUVTBZvtMCnbbfthM4QpYHvvWdRNqXhmeyFmE85H5XeQF9pAX6M8DApqn1PeyCH9mYhdCsEkvce?cluster=devnet)\n- **Add Whitelist (Create WL PDA)**: [View Transaction](https://solscan.io/tx/3R4fXk3VYXUAAFEXhVoR52g8ZPnjeZcuEhkCPSiBKJQGbjgDW9dBNE7REsz3KwYPV582HzUZ9Qv7SwgnDxgoTXHU?cluster=devnet)\n- **Create Bonding Curve**: [View Transaction](https://solscan.io/tx/22cFFDRgLnBpce97FhSE9srHcopkmDG3WpiwbgpwAj6VReu8cLMaZv3vnEvXMBr48XrCLGQ2xAzdUKBxKdfHFx2i?cluster=devnet)\n- **Migrate to Meteora**: [View Transaction](https://solscan.io/tx/5F1R9WBYgDXyATWjyyrCJKL2wudjK4WNom6KL4H2LQjcabfLR3agoaifiQWwMEWpmR47bKozJSn1esLCWmyMaRHe?cluster=devnet)\n\n## Contact\n\nFor inquiries or support, please reach out via [Telegram](https://t.me/ptcbink).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptcbink%2Fsolana-pumpfun-sc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fptcbink%2Fsolana-pumpfun-sc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptcbink%2Fsolana-pumpfun-sc/lists"}