coin-fees

Determine and route pump.creator fees for coins via cashback, sharing config, or direct creator.

Updated Jun 11, 2026
One-click install
npx skills add https://github.com/dumebi042/pump-public-docs --skill coin-fees-dumebi042
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coin-fees
Source: https://github.com/dumebi042/pump-public-docs/tree/main/pump-fun-skills/coin-fees
Command: npx skills add https://github.com/dumebi042/pump-public-docs --skill coin-fees-dumebi042

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @pump-fun/pump-sdk, @pump-fun/pump-swap-sdk, @solana/web3.js, @solana/spl-token, bn.js, and includes scripts (resource) components.

What problem does it solve?

This Skill provides tools to inspect and manage creator fees on pump.fun by determining where fees should go (cashback for traders, a fee-sharing config, or the coin creator directly), collecting fees, distributing shared fees to shareholders, and querying vault balances. It also exposes runnable Node scripts that integrate with the pump-sdk and swap-sdk to build and validate on-chain transactions.

Core Features & Use Cases

  • Inspect fee destinations for a given mint and determine if cashback, sharing config, or direct creator is applicable.
  • Build and submit or simulate collect fees, distribute fees via sharing config, and create or update a sharing config.
  • Query coin data, vault balances, and on-chain state to drive fee decisions and operational workflows.

Quick Start

Run node scripts/fetch-fee-info.mjs --mint <MINT> to inspect the fee destination and vault balances.

Frequently Asked Questions about coin-fees

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I determine where pump.fun creator fees are routed for a specific coin?

To determine pump.fun creator fee routing, inspect the mint's on-chain state to check if cashback for traders, a fee-sharing config, or direct creator routing applies. You can query coin data and vault balances using the provided Node scripts to identify the active fee destination.

How do I collect and distribute pump.fun creator fees for graduated coins?

You collect and distribute pump.fun creator fees for graduated AMM-backed coins by assembling and signing transactions through the pump-swap-sdk. This workflow builds the necessary on-chain instructions to route collected fees to shareholders via the sharing config.

Does this Skill support building fee-sharing configurations on the Solana blockchain?

Yes, it supports building fee-sharing configurations on the Solana blockchain. You can create or update a sharing config, assemble the associated transactions, and simulate or sign and send them to manage how shared fees are distributed to shareholders.

Can I use pump-sdk and pump-swap-sdk to inspect vault balances in real-world scenarios?

Yes, you can use pump-sdk and pump-swap-sdk to inspect vault balances in real-world scenarios. The Skill integrates both SDKs to query on-chain state and vault balances, driving operational fee decisions for both graduated and ungraduated coins.

What is the difference in fee management between graduated and ungraduated pump.fun coins?

Fee management for graduated coins leverages AMM-backed swap-sdk logic, while ungraduated coins use the standard pump-sdk. Both workflows determine fee destinations, collect fees, and manage sharing distributions, but route through different on-chain program logic.

How do I verify the on-chain sharing config status before submitting a fee distribution transaction?

You verify the on-chain sharing config status by querying the mint's state to retrieve the sharing config address and vault balances. This ensures the correct configuration is active before you assemble, simulate, or sign and send the distribution transaction.