Network: Solana Devnet
Program ID: 9hpBPEiywp7FPAq5uP253eAZzdJ1Cpd36L5RAYuc9xSw
The RugFreePump On-Chain Program
The RugFreePump program contains the core on-chain logic responsible for creating and operating algorithmic bonding-curve sales. The deployed program contains 64 total instructions:- 59 administrative instructions — restricted to authorized platform administration.
- 5 public instructions — user-facing entrypoints invoked through the RugFreePump dApp.
The restricted administrative instructions are separate from the public user execution flow demonstrated below.
Program Compilation
Before deployment, the RugFreePump on-chain program is compiled from its source code. The compilation shown below completes successfully with:- 0 errors
- 0 warnings
Program Deployment
Following successful compilation, the RugFreePump program is deployed to Solana Devnet. The deployed program is identified on-chain by its Program ID:Deployment Transaction
The deployment transaction is publicly available for independent inspection: View deployment transaction on Solscan
Transaction signature: 4gD3UQr3TerrjkeK8wSL1BVLs2R2fuEzVbZC3BGGDtwhDk2EKFbqa5qFMpyi7ePotA9gsk9Nhe9wKtD4RRrdJgzV
Program Initialization
Following deployment, the program is initialized through the RugFreePump administrative interface. Initialization establishes the required global on-chain state and protocol configuration before public operations can be performed. The demonstration below shows the initialization process being submitted through the RugFreePump administrative interface and confirmed on Solana Devnet. Following initialization, the program is prepared to process the public instructions used by the RugFreePump dApp.Initialization Transaction
The initialization transaction is publicly available for independent inspection: View initialization transaction on Solscan
Transaction signature: 4gD3UQr3TerrjkeK8wSL1BVLs2R2fuEzVbZC3BGGDtwhDk2EKFbqa5qFMpyi7ePotA9gsk9Nhe9wKtD4RRrdJgzV
Public Instruction Execution
The five public instructions can be invoked through the RugFreePump dApp. Each operation follows a directly inspectable on-chain execution path: RugFreePump dApp → RugFreePump On-Chain Program → Solana Transaction → Transaction Signature The transaction signature provides a direct way to inspect the resulting execution independently of the dApp’s interface.1. Create Pool
Thecreate_pool instruction creates a new SPL token mint and establishes its associated bonding-curve sale pool on-chain.
The demonstration below shows the operation initiated through the RugFreePump dApp and confirmed on Solana Devnet.
On-Chain Transaction
Viewcreate_pool transaction on Solscan
Transaction signature: 4gD3UQr3TerrjkeK8wSL1BVLs2R2fuEzVbZC3BGGDtwhDk2EKFbqa5qFMpyi7ePotA9gsk9Nhe9wKtD4RRrdJgzV
2. Buy
Thebuy instruction allows users to purchase tokens from an active RugFreePump bonding-curve sale using SOL.
The demonstration below shows a token purchase initiated through the RugFreePump dApp, signed through the user’s wallet, and confirmed on Solana Devnet.
On-Chain Transaction
Viewbuy transaction on Solscan
Transaction signature: 4gD3UQr3TerrjkeK8wSL1BVLs2R2fuEzVbZC3BGGDtwhDk2EKFbqa5qFMpyi7ePotA9gsk9Nhe9wKtD4RRrdJgzV
3. Withdraw
Thewithdraw instruction handles the return of the buyer’s contributed SOL when a bonding-curve sale expires or is canceled.
The demonstration below shows the withdrawal operation initiated through the RugFreePump dApp and confirmed on Solana Devnet.
On-Chain Transaction
Viewwithdraw transaction on Solscan
Transaction signature: 4gD3UQr3TerrjkeK8wSL1BVLs2R2fuEzVbZC3BGGDtwhDk2EKFbqa5qFMpyi7ePotA9gsk9Nhe9wKtD4RRrdJgzV
4. Migrate Liquidity
When a bonding-curve sale reaches its completion conditions, themigrate_liquidity instruction transfers the completed sale liquidity into a Raydium CPMM pool.
Successful liquidity migration enables purchased tokens to become claimable according to the sale’s selected Token Unlocked (TU) or Token Locked (TL) model.
The demonstration below shows the migration initiated through the RugFreePump dApp and confirmed on Solana Devnet.
On-Chain Transaction
Viewmigrate_liquidity transaction on Solscan
Transaction signature: 4gD3UQr3TerrjkeK8wSL1BVLs2R2fuEzVbZC3BGGDtwhDk2EKFbqa5qFMpyi7ePotA9gsk9Nhe9wKtD4RRrdJgzV
5. Claim Token
After successful liquidity migration, theclaim_token instruction allows buyers to claim their purchased tokens according to the sale’s selected token sale model.
For Token Unlocked (TU) sales, purchased tokens become fully claimable immediately after successful liquidity migration.
For Token Locked (TL) sales, purchased tokens become claimable gradually according to the token unlock schedule established for the sale.
The demonstration below shows the token claiming operation initiated through the RugFreePump dApp and confirmed on Solana Devnet.
On-Chain Transaction
Viewclaim_token transaction on Solscan
Transaction signature: 4gD3UQr3TerrjkeK8wSL1BVLs2R2fuEzVbZC3BGGDtwhDk2EKFbqa5qFMpyi7ePotA9gsk9Nhe9wKtD4RRrdJgzV