ClawPhunks
10,000 个独特的左向像素朋克,背景为 OpenClaw 红色(#C83232)。首个为 AI 代理设计的 NFT 系列。
稀有度与价值
ClawPhunks 直接复刻原始 CryptoPunks 的稀有度结构。稀有类型拥有显著的溢价。
类型(5 种)
| 类型 | 数量 | 占比 | 稀有度等级 |
|---|---|---|---|
| 外星人 | 9 | 0.09% | ★★★★★ |
| 猿人 | 24 | 0.24% | ★★★★☆ |
| 僵尸 | 88 | 0.88% | ★★★☆☆ |
| 女性 | 3,840 | 38.4% | ★★☆☆☆ |
| 男性 | 6,039 | 60.39% | ★☆☆☆☆ |
传奇外星人(共 9 个 - 0.09%)
最稀有的类型。仅存 9 个:
| Token ID | 配饰 |
|---|---|
| #0635 | Bandana, Regular Shades |
| #2890 | Cap |
| #3100 | Headband |
| #3443 | Earring, Cowboy Hat |
| #5822 | Bandana |
| #5905 | Do-rag, Small Shades |
| #6089 | Earring, Knitted Cap |
| #7523 | Earring, Knitted Cap, Medical Mask |
| #7804 | Cap Forward, Pipe, Small Shades |
稀有猿人(共 24 个 - 0.24%)
| Token ID | 配饰 |
|---|---|
| #0372 | Cap Forward |
| #1021 | Cap, Eye Patch |
| #2140 | Knitted Cap, Small Shades |
| #2243 | Bandana, Nerd Glasses |
| #2386 | Headband, Small Shades |
| #2460 | Bandana, VR |
| #2491 | Cap |
| #2711 | Cap Forward, Earring |
| #2924 | Hoodie |
| #4156 | Bandana |
| #4178 | Do-rag |
| #4464 | Eye Mask, Vape, Do-rag |
| #5217 | Gold Chain, Knitted Cap |
| #5314 | Horned Rim Glasses, Do-rag |
| #5577 | Cowboy Hat |
| #5795 | Police Cap |
| #6145 | Cigarette, Cap, Earring |
| #6915 | Cap, Earring, Eye Patch |
| #6965 | Fedora |
| #7191 | Nerd Glasses, Knitted Cap |
| #8219 | Knitted Cap |
| #8498 | Top Hat, Regular Shades |
| #9265 | Bandana, Big Shades |
| #9280 | 3D Glasses, Cowboy Hat |
僵尸(共 88 个 - 0.88%)
所有 88 个僵尸 Token ID:
| Token ID | 配饰 |
|---|---|
| #0117 | Messy Hair, Front Beard Dark |
| #0987 | Wild Hair, Horned Rim Glasses |
| #1119 | Shadow Beard, Do-rag, Eye Patch |
| #1190 | Cigarette, Bandana, Handlebars, Earring |
| #1374 | Big Shades, Earring, Mohawk Dark |
| #1478 | Shadow Beard, Wild Hair |
| #1526 | Cap, Gold Chain, Eye Patch |
| #1658 | Stringy Hair |
| #1748 | Front Beard, Frown, Knitted Cap |
| #1886 | Messy Hair, Shadow Beard |
| #1935 | Earring, Shaved Head |
| #2066 | Knitted Cap |
| #2132 | Normal Beard Black, Hoodie, Nerd Glasses |
| #2249 | Bandana, Eye Patch |
| #2306 | Cigarette, Mohawk Thin, Earring |
| #2329 | Peak Spike, Earring |
| #2338 | Mohawk Thin |
| #2424 | Bandana, Frown, Earring |
| #2484 | Wild Hair, Classic Shades |
| #2560 | Front Beard, Earring, Headband, VR |
| #2566 | Messy Hair, Normal Beard |
| #2681 | Clown Eyes Blue, Cap |
| #2708 | Bandana, Earring |
| #2938 | Wild Hair |
| #2967 | Mohawk Thin, Chinstrap |
| #3211 | Goat, Headband |
| #3328 | Cigarette, Messy Hair |
| #3393 | Frown, Crazy Hair |
| #3489 | Stringy Hair, Eye Patch |
| #3493 | Peak Spike, Shadow Beard |
| #3609 | Earring, Do-rag |
| #3636 | Front Beard Dark, Earring, Top Hat |
| #3831 | Vampire Hair, Big Shades, Medical Mask |
| #4472 | Cigarette, Purple Hair |
| #4513 | Beanie, Luxurious Beard, Earring |
| #4559 | Stringy Hair, Earring |
| #4747 | Clown Eyes Blue, Headband |
| #4830 | Wild Hair, Classic Shades, Medical Mask |
| #4850 | Purple Hair |
| #4874 | Cigarette, Messy Hair, Clown Nose, Mustache, Earring(5 个配饰!) |
| #5066 | Earring, Knitted Cap, Smile |
| #5234 | Big Shades, Earring, Crazy Hair |
| #5253 | Messy Hair, Mole |
| #5299 | Cigarette, Handlebars, Earring, Mohawk Dark |
| #5312 | Luxurious Beard, Knitted Cap |
| #5336 | Police Cap |
| #5412 | Nerd Glasses, Crazy Hair |
| #5489 | Fedora |
| #5573 | Luxurious Beard, Mohawk, 3D Glasses |
| #5742 | Mohawk Dark |
| #5761 | Bandana, Horned Rim Glasses |
| #5944 | Mohawk |
| #6275 | Shadow Beard, Mohawk Dark |
| #6297 | Cigarette, Nerd Glasses, Top Hat |
| #6304 | Crazy Hair, Regular Shades |
| #6491 | Cap Forward, Shadow Beard, Earring |
| #6515 | Cigarette, Wild Hair |
| #6586 | Knitted Cap, Smile |
| #6649 | Front Beard Dark, Crazy Hair |
| #6704 | Cigarette, Earring, Rosy Cheeks |
| #6784 | Cigarette, Bandana, Frown |
| #7014 | Cigarette, Frumpy Hair |
| #7121 | Frumpy Hair, Horned Rim Glasses |
| #7127 | Bandana, Eye Mask, Earring |
| #7252 | Chinstrap, Earring, Crazy Hair |
| #7337 | Normal Beard Black, Peak Spike |
| #7458 | Shadow Beard, Knitted Cap, Regular Shades |
| #7660 | Smile, Do-rag |
| #7756 | Shadow Beard, Horned Rim Glasses, Do-rag |
| #7914 | Normal Beard Black, Knitted Cap |
| #8127 | Headband |
| #8307 | Stringy Hair, Mustache |
| #8386 | Classic Shades, Crazy Hair |
| #8472 | Mohawk Thin, Small Shades |
| #8531 | Stringy Hair, Goat, Regular Shades |
| #8553 | Front Beard Dark |
| #8780 | Frumpy Hair, Shadow Beard |
| #8857 | Wild Hair, 3D Glasses |
| #8909 | Luxurious Beard, Police Cap, Regular Shades |
| #8957 | Frumpy Hair, Luxurious Beard |
| #9203 | Clown Nose, Cap Forward, Goat, Mole |
| #9368 | Hoodie, Earring |
| #9474 | Peak Spike |
| #9804 | Stringy Hair, Shadow Beard, Smile, Small Shades |
| #9838 | Peak Spike, Front Beard Dark, Earring |
| #9909 | Cap |
| #9955 | Shaved Head |
| #9997 | Front Beard, Cap Forward |
稀有配饰(87 种独特)
| 配饰 | 数量 | 稀有度 |
|---|---|---|
| Beanie | 44 | ★★★★★ |
| Choker | 48 | ★★★★★ |
| Pilot Helmet | 54 | ★★★★★ |
| Tiara | 55 | ★★★★★ |
| Orange Side | 68 | ★★★★☆ |
| Buck Teeth | 78 | ★★★★☆ |
| Welding Goggles | 86 | ★★★★☆ |
| Top Hat | 115 | ★★★☆☆ |
| Cowboy Hat | 142 | ★★★☆☆ |
| Tassle Hat | 178 | ★★★☆☆ |
| Fedora | 186 | ★★★☆☆ |
| Police Cap | 203 | ★★☆☆☆ |
| Clown Nose | 212 | ★★☆☆☆ |
| Hoodie | 259 | ★★☆☆☆ |
| Bandana | 481 | ★☆☆☆☆ |
| Earring | 2,459 | 常见 |
配饰数量稀有度
配饰数量更多的 Phunk 更稀有:
- 7 个配饰:约 1 个 phunk
- 6 个配饰:约 5 个 phunks
- 5 个配饰:约 26 个 phunks
- 4 个配饰:约 227 个 phunks
- 3 个配饰:约 1,340 个 phunks
- 2 个配饰:约 3,254 个 phunks
- 1 个配饰:约 3,046 个 phunks
- 0 个配饰:约 8 个 phunks(同样稀有!)
工作原理
1. 创建钱包
import { privateKeyToAccount, generatePrivateKey } from 'viem/accounts';
import { createWalletClient, http } from 'viem';
import { mainnet } from 'viem/chains';
const privateKey = generatePrivateKey();
const account = privateKeyToAccount(privateKey);
console.log('Address:', account.address);
// 安全存储 privateKey!
const walletClient = createWalletClient({
account,
chain: mainnet,
transport: http('https://eth.llamarpc.com'),
});
2. 铸造 Phunk
端点: POST https://clawphunks.vercel.app/mint
支付: 通过 x402 协议在 Base 上支付 $1.99 USDC
请求:
{
"recipient": "0xYourWalletAddress"
}
响应:
{
"success": true,
"tokenId": 1234,
"txHash": "0x...",
"ethscriptionId": "0x...",
"gasStipendWei": "13333333333333",
"viewerUrl": "https://ethscriptions.com/ethscriptions/0x...",
"nextSteps": {
"trade": "在 L1 上使用托管合约",
"list": "depositAndList(ethscriptionId, priceWei)",
"buy": "buy(ethscriptionId),msg.value = price"
}
}
你将获得:
- 一个未铸造的随机 ClawPhunk,作为以太坊 L1 上的 ethscription
- 约 $0.03 ETH 的 gas 补贴,用于交易
3. 在 L1 上交易
托管合约: 0x3e67d49716e50a8b1c71b8dEa0e31755305733fd
托管合约使用 ESIP-2 处理无信任交易。
挂单出售
- 将你的 ethscription 转移到托管合约
- 调用
depositAndList(bytes32 ethscriptionId, uint256 priceWei)
import { encodeFunctionData } from 'viem';
// 首先,将 ethscription 发送到托管合约(发送交易到合约并附带 ethscription 数据)
// 然后挂单:
const data = encodeFunctionData({
abi: ESCROW_ABI,
functionName: 'depositAndList',
args: [ethscriptionId, priceWei],
});
await walletClient.sendTransaction({
to: '0x3e67d49716e50a8b1c71b8dEa0e31755305733fd',
data,
});
购买挂单
// 检查挂单
const [active, seller, price] = await publicClient.readContract({
address: '0x3e67d49716e50a8b1c71b8dEa0e31755305733fd',
abi: ESCROW_ABI,
functionName: 'getListing',
args: [ethscriptionId],
});
// 购买
await walletClient.writeContract({
address: '0x3e67d49716e50a8b1c71b8dEa0e31755305733fd',
abi: ESCROW_ABI,
functionName: 'buy',
args: [ethscriptionId],
value: price,
});
取消挂单
await walletClient.writeContract({
address: '0x3e67d49716e50a8b1c71b8dEa0e31755305733fd',
abi: ESCROW_ABI,
functionName: 'cancelAndWithdraw',
args: [ethscriptionId],
});
API 参考
GET /health
健康检查。
GET /collection
返回系列信息、铸造统计和代理指令。
{
"name": "ClawPhunks",
"symbol": "CPHUNK",
"totalSupply": 10000,
"minted": 0,
"available": 10000,
"mintPrice": "1.99",
"mintCurrency": "USDC",
"chain": "ethereum",
"escrowContract": "0x3e67d49716e50a8b1c71b8dEa0e31755305733fd",
"agentInstructions": { ... }
}
POST /mint
铸造一个随机 phunk。需要 x402 支付(在 Base 上支付 $1.99 USDC)。
托管合约 ABI
[
{
"name": "depositAndList",
"type": "function",
"inputs": [
{ "name": "ethscriptionId", "type": "bytes32" },
{ "name": "price", "type": "uint256" }
]
},
{
"name": "buy",
"type": "function",
"stateMutability": "payable",
"inputs": [
{ "name": "ethscriptionId", "type": "bytes32" }
]
},
{
"name": "cancelAndWithdraw",
"type": "function",
"inputs": [
{ "name": "ethscriptionId", "type": "bytes32" }
]
},
{
"name": "getListing",
"type": "function",
"stateMutability": "view",
"inputs": [
{ "name": "ethscriptionId", "type": "bytes32" }
],
"outputs": [
{ "name": "active", "type": "bool" },
{ "name": "seller", "type": "address" },
{ "name": "price", "type": "uint256" }
]
},
{
"name": "updatePrice",
"type": "function",
"inputs": [
{ "name": "ethscriptionId", "type": "bytes32" },
{ "name": "newPrice", "type": "uint256" }
]
}
]
特征
每个 ClawPhunk 在其 ethscription 元数据中嵌入了特征:
{
"attributes": [
{ "trait_type": "Type", "value": "Female" },
{ "trait_type": "Accessory", "value": "Mohawk" },
{ "trait_type": "Accessory", "value": "3D Glasses" },
{ "trait_type": "Accessory", "value": "Earring" }
]
}
链接
- 市场: https://clawphunks.vercel.app
- 技能/文档: https://clawphunks.vercel.app/skills
- 铸造 API: https://clawphunks.vercel.app
- 托管合约: https://etherscan.io/address/0x3e67d49716e50a8b1c71b8dEa0e31755305733fd
- 系列: https://ethscriptions.com/collections/0xb432d8c446afefb98651e05c8eee22a8617bd7a0b239dfab70e1fb3a02aa9e8a
x402 支付
ClawPhunks 使用 x402 协议进行支付:
- 调用
/mint时不带支付 → 收到402 Payment Required响应,附带支付详情 - 在 Base 上支付 $1.99 USDC
- 在请求头中附带支付证明重试
- 收到你的 phunk
如果使用 Coinbase AgentKit,x402 会自动处理。
名称注册
为你的代理注册一个链上身份。名称是永久的、不可审查的 ethscription。
价格:$0.99 USDC
你将获得
- 链上名称 -
data:,yournameethscription,永属于你 - 子域名 -
yourname.chainhost.online - 电子邮件地址 -
[email protected] - 可解析的身份 -
chainhost.online/resolve/yourname
名称规则
- 仅限小写 URL 安全字符:
a-z、0-9、- - 长度: 1-32 个字符
- 不能以连字符开头或结尾:
my-agent✓,-myagent✗ - 先到先得: 名称一旦注册即为永久
步骤一:搜索可用性
端点: GET /names/search?name=yourname
请求:
GET https://clawphunks.vercel.app/names/search?name=myagent
响应(可用):
{
"name": "myagent",
"available": true,
"price": "0.99 USDC",
"registerEndpoint": "POST /names/register"
}
响应(已被注册):
{
"name": "myagent",
"available": false,
"owner": "0x1234...5678"
}
步骤二:通过 x402 支付注册
端点: POST /names/register
支付: 通过 x402 在 Base 上支付 $0.99 USDC(流程与铸造相同)
请求:
{
"name": "myagent",
"recipient": "0xYourWalletAddress"
}
响应:
{
"success": true,
"name": "myagent",
"txHash": "0x...",
"ethscriptionId": "0x...",
"siteUrl": "https://myagent.chainhost.online",
"emailAddress": "[email protected]",
"resolveUrl": "https://chainhost.online/resolve/myagent",
"nextSteps": {
"uploadSite": "https://chainhost.online/upload?name=myagent",
"checkMail": "https://chainhost.online/mail"
}
}
示例:注册一个名称
import { createWalletClient, http, keccak256, encodePacked } from 'viem';
import { base } from 'viem/chains';
import { privateKeyToAccount } from 'viem/accounts';
const REGISTER_API = 'https://clawphunks.vercel.app/names/register';
const USDC_BASE = '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913';
const REGISTER_COST = 990000n; // 0.99 USDC(6 位小数)
async function registerName(privateKey: string, name: string) {
const account = privateKeyToAccount(privateKey);
const walletClient = createWalletClient({
account,
chain: base,
transport: http('https://mainnet.base.org'),
});
// 步骤一:检查可用性
const searchRes = await fetch(`https://clawphunks.vercel.app/names/search?name=${name}`);
const { available } = await searchRes.json();
if (!available) {
throw new Error(`名称 "${name}" 已被注册`);
}
// 步骤二:获取支付要求(402 响应)
const reqRes = await fetch(REGISTER_API, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ name, recipient: account.address }),
});
if (reqRes.status !== 402) {
throw new Error('意外的响应状态');
}
const paymentInfo = await reqRes.json();
// paymentInfo 将包含 x402 支付详情
// 步骤三:使用钱包批准并支付 USDC
const approvalTx = await walletClient.writeContract({
address: USDC_BASE,
abi: ['function approve(address spender, uint256 amount) returns (bool)'],
functionName: 'approve',
args: [paymentInfo.spender, REGISTER_COST],
});
await walletClient.waitForTransactionReceipt({ hash: approvalTx });
// 步骤四:携带支付证明重试注册
const finalRes = await fetch(REGISTER_API, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-402-proof': paymentInfo.proof,
},
body: JSON.stringify({ name, recipient: account.address }),
});
return await finalRes.json();
}
关于
ClawPhunks 是首个为 AI 代理设计的 NFT 系列,通过 ethscriptions 在以太坊 L1 上实现真正的链上所有权。