Building

Programming trading fees

Choose where collected fees go, with a program fixed when your coin launches.

Start with the allocation

A fee program divides creator-fee revenue collected for your coin. It does not change Pump.fun’s trading-fee rate. Programs must total 100%, including exactly 5% for platform operations.

The default is 70% community rewards, 20% $RALLY buyback and burn, 5% creator milestones and 5% operations. Custom programs apply only to the coin you launch with them.

Open the fee-program builder →

Build and attach a program

  1. Name your program. Start with the default or the fundraiser example.
  2. Choose actions and percentages. Add wallet or treasury transfers, or change the built-in allocations. Keep operations at 5% and the total at 100%.
  3. Configure transfer rules. Enter a valid Solana recipient and choose an automatic or manual release.
  4. Review the program. Check addresses and rules. Use the JSON editor or export a copy if needed.
  5. Use this program. Return to launch, review its allocation alongside your coin details, then pay for the launch.

Supported actions

  • Community rewards: fund this coin’s existing five-minute posting rounds. Coins without this action do not offer posting rewards.
  • $RALLY buyback and burn: allocate a reserve for the platform’s buyback executor. A funded reserve is not an already completed swap or burn.
  • Creator milestones: fund the coin’s registered creator reserve and existing verified milestone claims.
  • Wallet transfer: pay a fixed recipient in the coin’s quote token when the configured rule allows it.
  • Treasury transfer: hold a share until its rule is met, then send it to a treasury wallet fixed at launch.
  • Platform operations: the mandatory 5% covers network and token-account costs.

Transfer rules

Automatic transfers are checked every five minutes. Manual transfers require a trigger, but anyone triggering one can only send to the saved address. A trigger cannot change the recipient or bypass a condition.

  • Always: eligible whenever a funded balance exists.
  • Minimum balance: wait for at least the specified number of token base units. One SOL is 1,000,000,000 units; one USDC is 1,000,000. Check the selected token’s decimals.
  • After a UTC time: hold funds until the configured time.
  • Verified milestone: wait for the backend’s recorded bonding, migration or market-cap achievement.

Built-in reward and buyback actions fund their existing pools directly. Their payout and execution rules remain separate. Treasury and wallet-transfer shares stay held until their release rules are met.

Transfer costs, recipient rent and token-account creation are checked before sending. Uneconomical transfers stay reserved and can absorb later funds while still unsigned. A prepared or signed payment is never resized.

JSON configuration

Programs use the versioned rallypad.fee-program.v1 JSON schema. The builder validates it before saving, and the server and database independently validate it again. Each launched program has a published hash.

JavaScript, webhooks, free-text expressions and arbitrary network calls are not accepted in executable programs. Use the structured action and condition fields. Never put a seed phrase, private key or API credential in a configuration.

Balances, retries and receipts

Only reconciled, collected fees fund a program. Estimates, trading volume and market cap do not create spendable balances. Each coin and quote currency has separate accounting.

Coin and token pages show the program. Open its balances and transfers to see held base units, reserved payments and confirmed Solscan receipts. Small payments may wait; five minutes is an evaluation interval, not a guaranteed transfer time.

Existing coins and earned rewards retain their original rules. Repeated receipts, trigger clicks and retries cannot create another allocation from the same funds. Signed transactions are reconciled before any replacement is considered.