Skip to content

Repository files navigation

PumpFundMe Banner

PumpFundMe Logo

PumpFundMe

Turn memecoins into real-world donations — 0% commission, fully transparent.

WebsiteLive TerminalTwitter


What is PumpFundMe?

PumpFundMe bridges pump.fun creator fees to real-world GoFundMe campaigns. Anyone can create a campaign, launch a token, and have every SOL earned from trading fees automatically collected and donated — with zero commission.

Pump.fun recently introduced charity support through donate.gg, but it only covers verified nonprofit organizations. Smaller, equally deserving causes — medical bills, disaster relief, community projects — are left out.

PumpFundMe fills that gap.

How It Works

┌─────────────────────────────────────────────────────────────────────┐
│                                                                     │
│   1. Create campaign    →  Link a GoFundMe page on PumpFundMe       │
│   2. Launch token       →  Deploy on pump.fun, set our wallet       │
│                            as 100% fee receiver                     │
│   3. Fees auto-claimed  →  SOL collected every 5 minutes            │
│   4. SOL → USDT         →  Swapped via Jupiter on-chain             │
│   5. USDT → Kolo card   →  Transferred on-chain to Kolo card        │
│   6. Fiat → GoFundMe    →  AI payment agent donates to the campaign  │
│                                                                     │
└─────────────────────────────────────────────────────────────────────┘

On-Chain Verification (3 checks)

When a token is registered to a campaign, we verify on-chain:

  1. Deployer check — Your connected wallet must be the token deployer
  2. Fee recipient check — The token's SharingConfig must have our wallet as shareholder
  3. Duplicate check — Same deployer can't register the same token twice

No trust required. Everything is verifiable on Solana.

The Challenges

Building this is harder than it sounds. Here's what we're solving:

💳 The GoFundMe Problem

GoFundMe doesn't offer any API for donations. There's no programmatic way to contribute. This is the hardest engineering challenge — bridging on-chain value to an off-chain platform that wasn't designed for integration. We've built a pipeline that handles the full conversion from SOL to fiat, with an AI-powered payment agent (built on OpenClaw) that manages the final GoFundMe donations autonomously.

🔐 Fee Claiming Mechanics

Pump.fun's creator fee system uses SharingConfig accounts in the PumpFees program. Users set our wallet as 100% fee receiver, and we call distribute_creator_fees to move SOL from creator vaults directly to our wallet. This required reverse-engineering the on-chain account layouts — discriminators, shareholder structs, vault PDAs — since none of this is publicly documented.

💱 SOL → Donation Pipeline

Collected SOL needs to become dollars on GoFundMe. The pipeline:

  • SOL → USDT via Jupiter swaps (on-chain, verifiable)
  • USDT → Kolo card via SPL transfer (on-chain, verifiable)
  • Fiat → GoFundMe via AI payment agent (OpenClaw subagent)

Every on-chain step is tracked in our database and visible in the live terminal.

📊 Multi-Campaign Accounting

One wallet serves all campaigns. When fees come in, we attribute them to the correct campaign based on which token generated them. Each token is mapped to a campaign, and every transaction is tracked per-campaign.

Architecture

┌─────────────┐     ┌──────────────┐     ┌──────────────┐
│   Frontend   │────▶│   Next.js    │────▶│  PostgreSQL  │
│   (Vercel)   │     │   API Routes │     │   (Neon)     │
└─────────────┘     └──────────────┘     └──────────────┘
                           │
                           ▼
                    ┌──────────────┐     ┌──────────────┐
                    │   Backend    │────▶│   Solana      │
                    │  (Railway)   │     │   Mainnet     │
                    └──────────────┘     └──────────────┘
                      │         │
                      ▼         ▼
               ┌──────────┐ ┌──────────┐
               │ Jupiter  │ │ Pump.fun │
               │  Swaps   │ │  Fees    │
               └──────────┘ └──────────┘

Tech Stack

Layer Technology
Frontend Next.js 15 (App Router), Tailwind CSS, shadcn/ui
Auth Solana Wallet Adapter (Phantom, Solflare, etc.)
Database PostgreSQL (Neon) with Prisma 6
Backend Node.js on Railway
Blockchain Solana mainnet, Jupiter v6, Pump.fun programs
Hosting Vercel (frontend) + Railway (backend)

Key Components

Component Description
fee-claimer.ts Auto-claims creator fees via distribute_creator_fees every 5 min
jupiter-swap.ts Swaps SOL → USDT through Jupiter aggregator
pipeline.ts Orchestrates the full claim → swap → donate pipeline
fee-monitor.ts Reads on-chain vault balances and SharingConfig accounts
verify-fee-recipient.ts On-chain verification of token fee configuration
verify-deployer.ts On-chain verification of token deployer

Transparency

Every step of the pipeline is tracked:

  • Fee claims — On-chain transactions, visible on Solscan
  • Jupiter swaps — On-chain transactions with exact amounts
  • USDT transfers — On-chain SPL token transfers
  • GoFundMe donations — Executed by AI payment agent, recorded with proof in the dashboard

The live terminal shows every event in real-time via SSE.

Development

Prerequisites

  • Node.js 18+
  • PostgreSQL (or Neon account)
  • Solana RPC endpoint

Frontend

npm install
npm run dev

Backend

cd backend
npm install
npm run dev

Environment Variables

Frontend (Vercel):

DATABASE_URL=postgresql://...
NEXT_PUBLIC_PUMPFUNDME_FEE_WALLET=<fee-receiver-wallet>
ADMIN_WALLETS=<comma-separated-admin-wallets>
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
BACKEND_URL=<railway-backend-url>

Backend (Railway):

DATABASE_URL=postgresql://...
DEPLOYER_PRIVATE_KEY=<base58-private-key>
PUMPFUNDME_FEE_WALLETS=<fee-receiver-wallet>
SOLANA_RPC_URL=<rpc-url>

Roadmap

  • Campaign creation & token registration
  • On-chain fee verification (3 checks)
  • Automated fee claiming (every 5 min)
  • SOL → USDT swaps via Jupiter
  • USDT → Kolo card transfers
  • AI payment agent for GoFundMe donations
  • Live terminal (SSE real-time events)
  • Admin dashboard with pipeline status
  • Landing page live stats from on-chain data
  • Multi-wallet support
  • Campaign verification badges

License

MIT


0% commission. 100% transparent. Every SOL goes to the cause.

About

Turn memecoins into real-world donations — 0% commission, fully transparent. Bridges pump.fun creator fees to GoFundMe campaigns.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages