How Rebuy works
The split
Every Rebuy coin is created on Pump.fun from the creator's own wallet. In the same launch, a second transaction moves the coin's creator fees into Pump.fun's fee-sharing config with three shareholders:
- 50% creator. Pump.fun pays this straight to the creator's wallet.
- 40% Rebuy buyback wallet. Spent buying back this coin, then burned.
- 10% Rebuy treasury. Spent buying back and burning $REBUY.
After that update the config is locked: Pump.fun's program refuses further changes, so nobody, including Rebuy, can redirect the fees. Each coin page reads the config live from chain and shows split verified · locked only when it matches.
The worker
Every 2 minutes the worker goes through every listed coin:
- Re-reads the fee-sharing config. A coin whose split no longer matches stops getting buybacks.
- Calls Pump.fun's permissionless distribute when at least 0.005 SOL of fees are pending. The buyback wallet pays the network fee.
- Spends that coin's share on a buy. On the bonding curve the buy, the burn of every token bought, and the closing of the temporary token account are one transaction. After graduation the buy runs on PumpSwap and the burn follows in a second transaction.
Each step is written to the ledger with its signature. A failed step is logged and retried on the next run. The worker never spends more than the coin has earned, and it keeps a small reserve for network fees.
Public API
JSON, CORS open, cached for about 15 seconds.
GET /api/stats platform totals (lamports) GET /api/coins every listed coin with its totals GET /api/feed?limit=50 the ledger, newest first (&before=<id> to page) GET /api/coin?mint=<mint> one coin: totals, live on-chain split, its ledger GET /api/config split, wallets and program IDs
Amounts are in lamports (1 SOL = 1,000,000,000). Token amounts are base units (Pump.fun coins have 6 decimals).
Programs used
Risks, plainly
- A buyback adds buying pressure. It does not guarantee a price, and buybacks are only as large as the coin's trading volume.
- Rebuy's two worker wallets hold keys on the server so they can sign buys. They only ever hold fees in transit plus a small reserve.
- If Pump.fun changes its programs, the worker may pause until it's updated. Fees keep accruing in the coin's vault meanwhile; nothing is lost.