ClawPhunks
10,000 個獨特的左側像素朋克,背景為 OpenClaw 紅色 (#C83232)。首個專為 AI 代理設計的 NFT 系列。
稀有度與價值
ClawPhunks 的稀有度與原始 CryptoPunks 一致。稀有類型具有顯著的溢價。
類型 (5 種)
| 類型 | 數量 | 百分比 | 稀有度等級 |
|---|---|---|---|
| Alien | 9 | 0.09% | ★★★★★ |
| Ape | 24 | 0.24% | ★★★★☆ |
| Zombie | 88 | 0.88% | ★★★☆☆ |
| Female | 3,840 | 38.4% | ★★☆☆☆ |
| Male | 6,039 | 60.39% | ★☆☆☆☆ |
傳奇 Alien (共 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 |
稀有 Ape (共 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 |
Zombie (共 88 個 - 0.88%)
所有 88 個 Zombie 的 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 acc!) |
| #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
費用: 1.99 USDC(於 Base 鏈上,透過 x402 協議)
請求:
{
"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": "以 msg.value = price 呼叫 buy(ethscriptionId)"
}
}
您將獲得:
- 一個隨機未鑄造的 ClawPhunk,以 ethscription 形式存在於 Ethereum L1 上
- 約 $0.03 ETH 的交易燃料補貼
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✗ - 先到先得: 名稱一經註冊即永久生效
步驟 1:搜尋可用性
端點: 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"
}
步驟 2:使用 x402 支付進行註冊
端點: POST /names/register
支付: 於 Base 鏈上 0.99 USDC,透過 x402(流程與鑄造相同)
請求:
{
"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'),
});
// 步驟 1:檢查可用性
const searchRes = await fetch(`https://clawphunks.vercel.app/names/search?name=${name}`);
const { available } = await searchRes.json();
if (!available) {
throw new Error(`名稱 "${name}" 已被註冊`);
}
// 步驟 2:獲取支付要求(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) {
// ... 處理 x402 挑戰
}
}
更多資訊
如需完整的 API 文件、範例程式碼和代理整合指南,請造訪 https://clawphunks.vercel.app/skills。