تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

openburn

بواسطة logesh2496

Productivity & Tasks
—لم يُقيَّم بعد
تقييمك

موجز

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

الوصف

ما الذي تفعله هذه المهارة

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.

متى تستخدمها

  • 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

مثال على سير العمل

الإدخال

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

الوكيل
  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

الإخراج

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

المتطلبات

  • 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)

التثبيت

clawhub install logesh2496/openburn

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط