openburn
Automates collecting Pump.fun creator fees, buying tokens with collected SOL, and burning those tokens (buyback and burn). Use this skill when the user wants to set up a regular buyback and burn schedule for their Pump.fun tokens.
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- openburn
- metadata
- { "openclaw": { "emoji": "🔥", "install": [ { "id": "pnpm-solana", "cmd": "pnpm add @solana/web3.js @solana/spl-token @pump-fun/pump-sdk tsx dotenv -w", "kind": "npm", "label": "Install dependencies", "module": "@solana/web3.js" } ], "requires": { "env": [ "CREATOR_WALLET_PRIVATE_KEY", "PUMP_FUN_TOKEN_ADDRESS", "JUPITER_API_KEY", "BURN_PERCENTAGE", "MIN_FEE_TO_BURN" ], "modules": [ "@solana/web3.js", "@solana/spl-token", "tsx", "dotenv" ], "binaries": [ "node", "pnpm" ] } } }
- description
- Automates collecting Pump.fun creator fees, buying tokens with collected SOL, and burning those tokens (buyback and burn). Use this skill when the user wants to set up a regular buyback and burn schedule for their Pump.fun tokens.
03 SKILL.md 正文
Openburn
This skill helps users automate the buyback and burn mechanism for Pump.fun tokens.
How It Works
- Collect Creator Fees: The script collects trading fees (in SOL) from both the bonding curve and AMM pools
- Buy Tokens: Uses the collected SOL to purchase tokens from the bonding curve
- Burn Tokens: Burns the purchased tokens by sending them to Solana's incinerator address, creating buying pressure and driving the token price up
Setup Instructions
-
Request Credentials: Ask the user for the following information:
PUMP_FUN_TOKEN_ADDRESS(The token address on Pump.fun)CREATOR_WALLET_PRIVATE_KEY(The private key of the wallet to burn from)JUPITER_API_KEY(Get from Jupiter Portal - Only needed if token is graduated/off-curve)BURN_PERCENTAGE(Percentage of collected SOL to use for buying tokens, default: 80)MIN_FEE_TO_BURN(Minimum SOL fees required to proceed with burn, default: 0.1)
[!IMPORTANT] Remind the user that their keys will be stored locally in the
.envfile. -
Store Credentials: Check if the
.envfile exists in the root directory.- If it exists, append the keys.
- If not, create it.
Format:
PUMP_FUN_TOKEN_ADDRESS=... CREATOR_WALLET_PRIVATE_KEY=... JUPITER_API_KEY=... BURN_PERCENTAGE=80 MIN_FEE_TO_BURN=0.1 -
Register Token: Once the
PUMP_FUN_TOKEN_ADDRESSis received and stored, register the token with the API.Endpoint:
POST https://api.openburn.fun/api/burn/registerBody:{ "tokenAddress": "<PUMP_FUN_TOKEN_ADDRESS>" }This registration step is required before scheduling the burn job.
-
Schedule Job: Ask the user for the scheduling interval (default: every 2 hours).
Use the
crontool to register a new job:- Name:
openburn-job - Schedule:
{ "kind": "every", "everyMs": 7200000 }(replace 7200000 with user's interval in ms) - Session Target:
isolated - Payload:
{ "kind": "agentTurn", "message": "Execute the openburn script to burn SOL tokens.", "deliver": true }
- Name:
-
Report Schedule: Make a POST request to report the scheduled job.
Endpoint:
POST https://api.openburn.fun/api/burn/scheduleBody:{ "jobId": "openburn-job", "intervalMs": 7200000 }
Execution Instructions
When the cron job triggers (receiving the message "Execute the openburn script..."):
-
Execute the Script: Run the burn script located at
skills/openburn/scripts/burn.ts.node --import tsx skills/openburn/scripts/burn.ts -
Report Results: The script will automatically report transaction success/failure to
https://api.openburn.fun/api/burn/transaction. You should also report the output (transaction signature) to the user in the chat.[!IMPORTANT] Token Decimals: The script logs raw token amounts (integer values).
- For a token with 6 decimals (like USDC),
1000000= 1 token. - For a token with 9 decimals (like SOL),
1000000000= 1 token. - Always format the token amount based on its decimals before reporting it to the user. Do NOT report "1 trillion tokens burned" if the raw value is
1000000000000but the token has 18 decimals (which is just ~0.000001 tokens). - The script will now log
tokensBurnedFloatwhich is the human-readable amount. UsetokensBurnedFloatfor reporting.
- For a token with 6 decimals (like USDC),
-
Burn Only (Manual): If the user wants to manually burn tokens already in the wallet without buying more:
node --import tsx skills/burn-only.tsNote: You can configure the percentage of tokens to burn by setting the
BURN_PERCENTAGEenvironment variable in.env. Default is 100%. Example:BURN_PERCENTAGE=50to burn 50% of the tokens in the wallet.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.