If you've been following the Solana ecosystem lately, you might have heard about Bags.fm - a platform that's making waves in the crypto crowdfunding space. But what exactly is it, and why should developers care?
Let's dive into how Bags.fm works, what makes it different, and how you can integrate it into your projects.
What is Bags.fm?
Bags.fm is a Solana-native, all-in-one platform that lets anyone launch, trade, and discover tokens without writing a single line of code. Think of it as a Web3-powered crowdfunding tool where supporters can actually own and trade your coin.
But here's the kicker: creators earn 1% of all trading volume on their tokens - forever.
The Core Model: Create → Share → Earn Forever
1. Launch a Coin
Connect your Solana wallet, upload a logo, choose a name/ticker, write a description, and go live. No developers needed.
2. Build Community
Your coin holders become your community. They have upside in your success, so they're incentivized to help you grow. More engagement → more visibility → more trading volume → more earnings for you.
3. Earn Forever
Claim your 1% trading fees anytime, cash out to your bank, or use the earnings to fund your next project.
The "Get Bagged" Feature 💰🫵
This is where things get interesting. Someone can launch a coin using your content, meme, or idea without your permission. But here's the clever part:
- You can verify ownership and claim earnings from that coin
- The community sets your username as the royalty earner
- Turn viral content into passive income
- You're already creating content, now you're getting paid for it
It's like if someone could create a stock for your company without your permission, but you'd still receive dividends from it.
Dividends System
Creators can enable dividends by sharing fees with @DividendsBot. Here's how it works:
- Creator enables dividends by sharing a portion of their fees
- Automatic distribution every 24 hours - if a token has ≥10 SOL in unclaimed earnings
- Top 100 holders receive proportional payouts based on their holdings
- No manual claiming - dividends are deposited directly into wallets
This aligns creator success with holder success and incentivizes early support.
For Developers: The Bags API
Bags.fm exposes a full REST API with a TypeScript SDK, making it easy to integrate Bags functionality into your applications.
Getting Started
First, get your API key from dev.bags.fm:
# Install the SDK
npm install @bagsfm/bags-sdk @solana/web3.js dotenv
Basic Setup
import dotenv from "dotenv";
dotenv.config();
import { BagsSDK } from "@bagsfm/bags-sdk";
import { Connection } from "@solana/web3.js";
const BAGS_API_KEY = process.env.BAGS_API_KEY;
const SOLANA_RPC_URL = process.env.SOLANA_RPC_URL;
const connection = new Connection(SOLANA_RPC_URL);
const sdk = new BagsSDK(BAGS_API_KEY, connection, "processed");
Launch a Token
async function launchToken() {
const tokenInfo = {
name: "My Awesome Token",
symbol: "AWESOME",
description: "A token for my community",
image: "https://example.com/token-logo.png",
initialBuy: 0.1, // Optional: SOL to buy at launch
feeShares: [
{
wallet: "recipient_wallet_address",
percentage: 50 // 50% of fees
}
]
};
const result = await sdk.tokenLaunch.createTokenInfo(tokenInfo);
console.log("Token created:", result);
}
Get Token Creators
async function getTokenCreators(tokenMint: string) {
const creators = await sdk.state.getTokenCreators(
new PublicKey(tokenMint)
);
const primaryCreator = creators.find(c => c.isCreator);
console.log("Primary Creator:", {
displayName: primaryCreator.providerUsername,
wallet: primaryCreator.wallet,
royalty: `${primaryCreator.royaltyBps / 100}%`
});
}
Get Lifetime Fees
async function getTokenLifetimeFees(tokenMint: string) {
const response = await fetch(
`https://public-api-v2.bags.fm/api/v1/token-launch/lifetime-fees?tokenMint=${tokenMint}`,
{
headers: { 'x-api-key': BAGS_API_KEY }
}
);
const data = await response.json();
console.log("Lifetime fees collected:", data.response);
}
Trade Tokens
async function tradeToken(tokenMint: string, amount: number) {
const quote = await sdk.trade.getTradeQuote({
tokenMint: new PublicKey(tokenMint),
amount,
action: "buy" // or "sell"
});
const transaction = await sdk.trade.createSwapTransaction(quote);
// Sign and send transaction
}
API Rate Limits
- 1,000 requests per hour per user
- Rate limits apply across all your API keys
- Check
X-RateLimit-RemainingandX-RateLimit-Resetheaders
Use Cases for Developers
1. Analytics Dashboard
Build a dashboard to track token performance, creator earnings, and community growth:
async function buildDashboard(tokenMint: string) {
const [creators, lifetimeFees, claimStats] = await Promise.all([
sdk.state.getTokenCreators(new PublicKey(tokenMint)),
fetchLifetimeFees(tokenMint),
sdk.analytics.getTokenClaimStats(tokenMint)
]);
return {
creators,
totalEarnings: lifetimeFees,
claimableAmount: claimStats.claimableAmount
};
}
2. Automated Trading Bot
Create a bot that trades based on token performance metrics:
async function tradingBot(tokenMint: string) {
const quote = await sdk.trade.getTradeQuote({
tokenMint: new PublicKey(tokenMint),
amount: 0.5,
action: "buy"
});
// Add your trading logic here
if (shouldBuy(quote)) {
const tx = await sdk.trade.createSwapTransaction(quote);
// Execute trade
}
}
3. Community Management Tool
Build tools to help creators manage their communities:
async function getTopHolders(tokenMint: string) {
const holders = await sdk.analytics.getTokenHolders(tokenMint);
return holders.slice(0, 100); // Top 100 for dividends
}
Potential Concerns to Consider
Intellectual Property
The "Get Bagged" feature raises questions:
- What if someone launches a coin using your brand without permission?
- While you can claim earnings, what about brand control?
- Could lead to trademark issues
Dividend Concentration
- Only top 100 holders get dividends
- Could create whale dynamics
- Smaller holders don't benefit from dividends
Sustainability
- 1% forever - is this sustainable long-term?
- What happens when trading volume drops?
- Creator earnings tied to speculation
The Big Picture
Bags.fm is attempting to solve creator monetization by:
- Turning fans into investors - they have skin in the game
- Creating ongoing revenue - not just one-time payments
- Leveraging community for growth - holders become marketers
- Making it permissionless - anyone can participate
It's like Patreon meets the stock market, with a viral twist.
Getting Started
Ready to dive in? Here's your roadmap:
- Explore the platform: Visit bags.fm to see it in action
- Get API access: Sign up at dev.bags.fm
- Read the docs: Check out the full API documentation
- Join the community: Connect with other developers on their Discord
Conclusion
Bags.fm represents an interesting experiment in creator monetization and community-driven economics. Whether you're building tools for creators, analyzing token performance, or just curious about the future of crowdfunding, there's plenty to explore.
The platform's permissionless nature and perpetual royalty model create unique opportunities - and challenges - for developers and creators alike.
What do you think? Is this the future of creator monetization, or just another crypto experiment? Let me know in the comments!
Resources
This article explores Bags.fm as of 2026. The crypto space moves fast, so always verify the latest information before building production applications.
Top comments (0)