io.github.clawd800/pumpclaw
编码与调试by clawd800
在 Base 上免费发行代币,可通过 Uniswap V4 部署 ERC-20,并为创建者保留 80% 手续费收益。
什么是 io.github.clawd800/pumpclaw?
在 Base 上免费发行代币,可通过 Uniswap V4 部署 ERC-20,并为创建者保留 80% 手续费收益。
README
PumpClaw 🦞
Revenue infrastructure for autonomous AI agents on Base.
Packages:
Deploy a token → people trade it → 80% of fees flow to your agent wallet. No grants, no VCs, no human approvals.
🌐 pumpclaw.com · 📦 CLI: npx pumpclaw-cli deploy · 🔌 MCP: npx pumpclaw-mcp
🧩 ElizaOS: npm i elizaos-plugin-pumpclaw · 🎬 GitHub Action · 🛠️ ClawHub Skill
Overview
PumpClaw is how autonomous agents earn their existence. Deploy an ERC-20 token with instant Uniswap V4 liquidity, earn 80% of all trading fees — forever. Your agent's token isn't speculation; it's a revenue stream.
- $0 to launch — zero ETH required for token creation
- 80% creator fees — highest in the market (2× Clanker)
- Own contracts — no Clanker SDK dependency, no middleman servers
- LP locked forever — immutable, no rugs
- Uniswap V4 — latest DEX infrastructure with native ETH
- Direct blockchain — if pumpclaw.com goes down, your tokens still work
- Agent-native — deploy via CLI, MCP, ElizaOS, Farcaster, GitHub Action, or contract
- Configurable — custom supply (1M-1T) and initial FDV
- 148 tokens live on Base mainnet
🤖 Deploy via Farcaster
The easiest way to launch a token — just cast on Farcaster:
@clawd deploy $COOL Cool Token
@clawd launch $MOON MoonCoin
@clawd create a token called "Super Doge" $SDOGE
The bot will:
- Parse your token name and symbol
- Deploy on PumpClaw (Uniswap V4, LP locked forever)
- Reply with token address + swap links
- Set you as the creator (80% of trading fees go to you)
Requirements: Must have a verified Ethereum address on your Farcaster profile.
The bot source is an internal operational script.
Contracts (Base Mainnet) — V3
| Contract | Address | Verified |
|---|---|---|
| PumpClawFactory | 0xe5bCa0eDe9208f7Ee7FCAFa0415Ca3DC03e16a90 | ✅ |
| PumpClawLPLocker | 0x6e4D241957074475741Ff42ec352b8b00217Bf5d | ✅ |
| PumpClawSwapRouter | 0x3A9c65f4510de85F1843145d637ae895a2Fe04BE | ✅ |
| PumpClawFeeViewer | 0xd25Da746946531F6d8Ba42c4bC0CbF25A39b4b39 | ✅ |
Note: Uses native ETH (no WETH wrapping) for gas-efficient swaps. Creators can set proof-of-origin
websiteUrland update image viasetImageUrl().
Contract Interface
// Single function for token creation - all params configurable
function createToken(
string name,
string symbol,
string imageUrl,
string websiteUrl,
uint256 totalSupply, // e.g., 1_000_000_000e18 for 1B
uint256 initialFdv, // e.g., 2e18 for 2 ETH
address creator // receives fee claims
) returns (address token, uint256 positionId)
Defaults (set in clients):
- Supply: 1 billion tokens
- Initial FDV: 2 ETH
CLI Usage
cd client-cli
npm install
# Set private key
export PRIVATE_KEY=0x...
# View factory info
npx tsx src/cli.ts info
# Create a new token (V4: no ETH required!)
npx tsx src/cli.ts create --name "My Token" --symbol "MTK"
# Create with custom FDV (default: 2 ETH)
npx tsx src/cli.ts create --name "My Token" --symbol "MTK" --fdv 50
# Create with custom supply
npx tsx src/cli.ts create --name "My Token" --symbol "MTK" --supply 21000000
# Buy tokens with ETH
npx tsx src/cli.ts buy <token_address> -e 0.001
# Sell tokens for ETH
npx tsx src/cli.ts sell <token_address> -a 1000000
# List all created tokens
npx tsx src/cli.ts list
# Check pending fees
npx tsx src/cli.ts fees <token_address>
# Claim fees (creator or admin)
npx tsx src/cli.ts claim <token_address>
Shared Module
Common utilities for all clients in /shared:
import {
CONTRACTS,
TOKEN_DEFAULTS,
createClient,
buildCreateTokenArgs,
formatSupply,
getTokenInfo
} from '../shared';
// Use defaults
const args = buildCreateTokenArgs({
name: "My Token",
symbol: "MTK",
creator: "0x..."
});
// Or customize
const args = buildCreateTokenArgs({
name: "My Token",
symbol: "MTK",
totalSupply: 21_000_000n * 10n ** 18n, // 21M like Bitcoin
initialFdv: 100n * 10n ** 18n, // 100 ETH FDV
creator: "0x..."
});
Architecture
PumpClawFactory
├── Creates PumpClawToken (ERC20)
├── Initializes Uniswap V4 Pool
└── Locks LP in LPLocker
PumpClawSwapRouter
├── Executes V4 swaps (native ETH)
└── Simple buy/sell interface
Token Economics
- Total Supply: Configurable (default: 1 billion)
- Initial FDV: Configurable (default: 2 ETH)
- LP Fee: 1% on all swaps
- Fee Distribution: 80% to creator, 20% to protocol
Development
# Install deps
forge install
# Build
forge build
# Test
forge test
# Deploy (requires PRIVATE_KEY env)
# From contracts/ directory:
cd contracts && forge script script/Deploy.s.sol --rpc-url $BASE_RPC --broadcast
# Verify on Basescan
forge verify-contract <address> src/core/PumpClawFactory.sol:PumpClawFactory \
--chain base --etherscan-api-key $BASESCAN_API_KEY
PumpClaw vs Competitors
| Feature | PumpClaw 🦞 | Clanker | ConLaunch | Bankr | pump.fun |
|---|---|---|---|---|---|
| Creator Fee Share | 80% | 40% | 80% (via Clanker) | 57% | 0% (Cashback) |
| Own Contracts | ✅ MIT | ✅ | ❌ Clanker SDK | ✅ | ✅ |
| Server Dependency | None | None | ⚠️ API required | None | None |
| LP Lock | Forever (immutable) | Varies | Forever | → 0xdead | Varies |
| Chain | Base | Base | Base | Base | Solana |
| Agent Integration | CLI, MCP, ElizaOS, ClawHub, GH Action, FC bot | FC only | API, MCP | FC, 4claw | ❌ |
| Custom Supply | 1M–1T | Fixed | Fixed | Fixed | Fixed |
| Custom FDV | Configurable | Fixed | Fixed | Fixed | Fixed |
| On-chain Registry | ✅ (no indexer) | ❌ | ❌ | ❌ | ❌ |
| Open Source | MIT | ❌ | ❌ | ❌ | ❌ |
Key differentiator: PumpClaw calls the blockchain directly — no middleman server, no SDK dependency. If our website goes down, your tokens still work, fees still flow, agents still earn. Competitors that wrap Clanker SDK go down when their server goes down.
Stats
- 148 tokens launched on Base mainnet
- 70+ unique creators
- $0 cost to create
- 7 integration methods — ClawHub skill, CLI, MCP, ElizaOS, GitHub Action, Farcaster bot, direct contract
Integration Options
| Method | Best For | Docs |
|---|---|---|
| Farcaster Bot | Humans & social agents | Cast @clawd deploy $SYM Name |
| CLI | Developers & automation | client-cli/ |
| npm package | Agent frameworks | npx pumpclaw-cli deploy |
| MCP Server | Claude, GPT, any MCP agent | npx pumpclaw-mcp |
| Smart Contract | Direct integration | See contract interface above |
| REST API | Read-only token data | See API section below |
📡 API
Live JSON API — no API key needed, CORS-friendly, served by the indexer.
All Tokens
GET https://api.pumpclaw.com/api/v1/tokens
Returns all tokens with metadata, creator info, trade links, and % purchased:
{
"tokens": [
{
"address": "0x76767891...",
"name": "PumpClaw",
"symbol": "PUMPCLAW",
"imageUrl": "https://i.imgur.com/v9B9SlZ.png",
"creator": "0x261368f0...",
"createdAt": "2026-02-01T08:01:45.000Z",
"percentPurchased": 5.4,
"links": {
"pumpclaw": "https://pumpclaw.com/#/token/0x...",
"trade": "https://matcha.xyz/tokens/base/0x...",
"basescan": "https://basescan.org/token/0x..."
}
}
],
"total": 148, "lastSynced": 42701077, "currentBlock": 42701109
}
Protocol Stats
GET https://api.pumpclaw.com/api/v1/stats
Returns aggregate stats: total tokens, unique creators, factory address, fee structure.
Quick Fetch (curl/agents)
# Get all tokens
curl -s https://api.pumpclaw.com/api/v1/tokens | jq '.tokens[] | {symbol, address}'
# Get stats
curl -s https://api.pumpclaw.com/api/v1/stats | jq '{totalTokens, uniqueCreators}'
Integration Packages
| Package | Install | Version | Description |
|---|---|---|---|
| CLI | npx pumpclaw-cli deploy | One-command token deployment | |
| MCP Server | npx pumpclaw-mcp | Model Context Protocol for AI tools | |
| ElizaOS Plugin | npm i elizaos-plugin-pumpclaw | Plugin for ElizaOS agent framework | |
| ClawHub Skill | clawdhub install clawd800/token-launcher | v2.1.0 | OpenClaw agent skill |
| GitHub Action | clawd800/pumpclaw-action@v1 | v1.0.0 | CI/CD token deployment |
| REST API | curl api.pumpclaw.com/api/v1/tokens | — | Read-only token data |
Links
- 🌐 Web App: pumpclaw.com
- 🛠️ ClawHub: token-launcher
- 📦 npm CLI: pumpclaw-cli
- 🔌 npm MCP: pumpclaw-mcp
- 🧩 npm ElizaOS: elizaos-plugin-pumpclaw
License
MIT
常见问题
io.github.clawd800/pumpclaw 是什么?
在 Base 上免费发行代币,可通过 Uniswap V4 部署 ERC-20,并为创建者保留 80% 手续费收益。
相关 Skills
网页构建器
by anthropics
面向复杂 claude.ai HTML artifact 开发,快速初始化 React + Tailwind CSS + shadcn/ui 项目并打包为单文件 HTML,适合需要状态管理、路由或多组件交互的页面。
✎ 在 claude.ai 里做复杂网页 Artifact 很省心,多组件、状态和路由都能顺手搭起来,React、Tailwind 与 shadcn/ui 组合效率高、成品也更精致。
前端设计
by anthropics
面向组件、页面、海报和 Web 应用开发,按鲜明视觉方向生成可直接落地的前端代码与高质感 UI,适合做 landing page、Dashboard 或美化现有界面,避开千篇一律的 AI 审美。
✎ 想把页面做得既能上线又有设计感,就用前端设计:组件到整站都能产出,难得的是能避开千篇一律的 AI 味。
网页应用测试
by anthropics
用 Playwright 为本地 Web 应用编写自动化测试,支持启动开发服务器、校验前端交互、排查 UI 异常、抓取截图与浏览器日志,适合调试动态页面和回归验证。
✎ 借助 Playwright 一站式验证本地 Web 应用前端功能,调 UI 时还能同步查看日志和截图,定位问题更快。
相关 MCP Server
GitHub
编辑精选by GitHub
GitHub 是 MCP 官方参考服务器,让 Claude 直接读写你的代码仓库和 Issues。
✎ 这个参考服务器解决了开发者想让 AI 安全访问 GitHub 数据的问题,适合需要自动化代码审查或 Issue 管理的团队。但注意它只是参考实现,生产环境得自己加固安全。
Context7 文档查询
编辑精选by Context7
Context7 是实时拉取最新文档和代码示例的智能助手,让你告别过时资料。
✎ 它能解决开发者查找文档时信息滞后的问题,特别适合快速上手新库或跟进更新。不过,依赖外部源可能导致偶尔的数据延迟,建议结合官方文档使用。
by tldraw
tldraw 是让 AI 助手直接在无限画布上绘图和协作的 MCP 服务器。
✎ 这解决了 AI 只能输出文本、无法视觉化协作的痛点——想象让 Claude 帮你画流程图或白板讨论。最适合需要快速原型设计或头脑风暴的开发者。不过,目前它只是个基础连接器,你得自己搭建画布应用才能发挥全部潜力。