İçeriğe geç
TakoAPI
Becerilere dön

openburn

logesh2496 tarafından

Productivity & Tasks
—Henüz değerlendirilmedi
Puanınız

Özet

Automates collecting Pump.fun creator fees, buying tokens with collected SOL, and burning those tokens (buyback.

Açıklama

Bu Beceri Ne Yapar

Automates the buyback and burn cycle for Pump.fun token creators. Collects trading fees in SOL from bonding curve and AMM pools, uses those fees to repurchase tokens, then burns them by sending to Solana's incinerator address. Runs on a configurable schedule via cron.

Handles the full fee collection, swap, and burn pipeline in one scheduled job rather than requiring manual execution of each step.

Ne Zaman Kullanılır

  • Scheduling automatic token burns every few hours
  • Collecting creator fees from a graduated Pump.fun token
  • Burning a custom percentage of collected SOL proceeds
  • Manually triggering a one-off burn of tokens already in wallet
  • Monitoring buyback transactions and reporting results in chat

Örnek İş Akışı

GİRİŞ

User asks: Set up an automated buyback and burn for my Pump.fun token every 4 hours

AJAN
  1. 1

    Collects PUMP_FUN_TOKEN_ADDRESS, CREATOR_WALLET_PRIVATE_KEY, JUPITER_API_KEY, BURN_PERCENTAGE, and MIN_FEE_TO_BURN from the user and writes them to .env

  2. 2

    Registers the token address with the openburn.fun API via POST /api/burn/register

  3. 3

    Schedules a cron job named openburn-job with a 4-hour interval (14400000ms)

  4. 4

    Reports the scheduled job to POST /api/burn/schedule

  5. 5

    On each trigger, runs burn.ts and reports the tokensBurnedFloat value back to the user

ÇIKIŞ

Cron job confirmed, token registered, and first burn executed — 142.5 tokens burned, transaction signature: 5Kj...abc

Gereksinimler

  • CREATOR_WALLET_PRIVATE_KEY environment variable (private key of the creator wallet)
  • PUMP_FUN_TOKEN_ADDRESS (token address on Pump.fun)
  • JUPITER_API_KEY from portal.jup.ag (required only for graduated/off-curve tokens)

Kurulum

clawhub install logesh2496/openburn

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar