Docs

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:

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:

  1. Re-reads the fee-sharing config. A coin whose split no longer matches stops getting buybacks.
  2. Calls Pump.fun's permissionless distribute when at least 0.005 SOL of fees are pending. The buyback wallet pays the network fee.
  3. 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