ClawPhunks은(는) 무엇을 하나요?
OpenClaw 레드(#C83232) 배경의 좌측 면 픽셀 펑크(Punk) 10,000개. 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% | ★☆☆☆☆ |
레전더리 Aliens (총 9개 - 0.09%)
가장 희귀한 유형입니다. 9개만 존재합니다:
| 토큰 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 |
희귀 Apes (총 24개 - 0.24%)
| 토큰 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 |
Zombies (총 88개 - 0.88%)
모든 88개 Zombie 토큰 ID:
| 토큰 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 | Common |
액세서리 개수별 희귀도
액세서리가 많을수록 더 희귀합니다:
- 7개 액세서리: 약 1개
- 6개 액세서리: 약 5개
- 5개 액세서리: 약 26개
- 4개 액세서리: 약 227개
- 3개 액세서리: 약 1,340개
- 2개 액세서리: 약 3,254개
- 1개 액세서리: 약 3,046개
- 0개 액세서리: 약 8개 (또한 희귀!)
작동 방식
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. 펑크 발행
엔드포인트: 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) with msg.value = price"
}
}
당신은 다음을 받습니다:
- Ethereum L1의 ethscription으로서 무작위로 발행된 ClawPhunk
- 거래를 위한 약 $0.03 ETH 가스 스티펜드
3. L1에서 거래
에스크로 계약: 0x3e67d49716e50a8b1c71b8dEa0e31755305733fd
에스크로 계약은 ESIP-2를 사용하여 신뢰 없는 거래를 처리합니다.
판매 등록
- ethscription을 에스크로 계약으로 전송
depositAndList(bytes32 ethscriptionId, uint256 priceWei)호출
import { encodeFunctionData } from 'viem';
// 먼저 ethscription을 에스크로로 전송 (ethscription 데이터와 함께 계약으로 tx 전송)
// 그런 다음 등록:
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
무작위 펑크를 발행합니다. 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 결제
- 헤더에 결제 증명과 함께 재시도
- 펑크 수령
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
결제: 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'),
});
// Step 1: 사용 가능 여부 확인
const searchRes = await fetch(`https://clawphunks.vercel.app/names/search?name=${name}`);
const { available } = await searchRes.json();
if (!available) {
throw new Error(`이름 "${name}"은(는) 이미 사용 중입니다`);
}
// Step 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) {
throw new Error('등록을 시작할 수 없습니다');
}
const paymentInfo = await reqRes.json();
// Step 3: x402 결제 생성
const hash = keccak256(encodePacked(
['address', 'uint256', 'bytes32'],
[account.address, REGISTER_COST, paymentInfo.paymentId]
));
// 실용적인 예시에서는 ERC20 승인 및 전송 흐름을 따릅니다
console.log('등록 진행 중...', hash);
}
3단계: 신원 확인
엔드포인트: GET /names/resolve/yourname
https://chainhost.online/resolve/myagent
응답:
{
"name": "myagent",
"ethscriptionId": "0x...",
"owner": "0x1234...5678",
"created": "2024-01-01T00:00:00Z",
"site": "https://myagent.chainhost.online",
"email": "[email protected]"
}
가스 없는 온보딩
AI 에이전트는 가스 없이 온보딩할 수 있습니다. 온보딩 에이전트가 등록 비용을 지불합니다. 나중에 이름에 대한 완전한 소유권을 얻으려면 0.001 ETH의 온체인 가스 수수료가 필요할 수 있습니다.
통합
// Coinbase AgentKit을 사용한 예시
async function onboardWithAgentKit() {
// AgentKit이 x402를 자동으로 처리합니다
const response = await fetch('https://clawphunks.vercel.app/names/register', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
name: 'ai-agent-1',
recipient: '0xYourWalletAddress'
})
});
// AgentKit이 x402 자동 처리를 통해 402 오류를 처리합니다
const result = await response.json();
console.log('등록됨:', result);
}
AI 에이전트 지침
이 섹션은 AI 에이전트가 이 스킬을 독립적으로 사용하기 위한 지침을 제공합니다.
빠른 시작
- 지갑: 지갑이 필요합니다.
privateKeyToAccount와viem을 사용하여 생성하세요. - 자금: L1 거래를 위해 약간의 ETH와 Base 네트워크 결제를 위한 USDC가 필요합니다.
- 발행:
/mint엔드포인트를 x402 결제 흐름과 함께 호출하여 무작위 ClawPhunk를 받으세요. - 거래: ethscription을 에스크로 계약으로 전송하고
depositAndList를 사용하여 판매를 등록하세요. - 이름:
/names/register를 사용하여 온체인 이름을 등록하세요.
오류 처리
- 402 Payment Required: x402 결제가 필요합니다. 결제 요구사항을 검색하고 재시도하세요.
- 404 Not Found: ethscription 또는 이름을 찾을 수 없습니다.
- 409 Conflict: 이름이 이미 등록되어 있습니다.
- 500 Internal Server Error: 나중에 다시 시도하세요. 영구적인 오류가 발생하면 개발자에게 문의하세요.
보안 고려 사항
- 개인 키를 안전하게 보관하세요. 절대 공유하지 마세요.
- 거래를 보내기 전에 항상 에스크로 계약 주소를 확인하세요.
- ethscription 데이터는 불변입니다. 발행 후에는 변경할 수 없습니다.
- ChrisCodes는 ClawPhunks 또는 ChainHost 서비스와 관련된 손실에 대해 책임을 지지 않습니다.
지원
자세한 내용은 https://clawphunks.vercel.app/skills를 방문하세요. 피드백을 보내거나 문제를 보고하려면 @ChrisCodesIt 또는 @ClawPunksNFT에 문의하세요.
ClawPhunks - Pixel Punk. AI Agent. Web3.
면책 조항: ClawPhunks는 공식 CryptoPunks NFT 컬렉션과 관련이 없습니다. 이 프로젝트는 교육 및 실험 목적으로 AI 에이전트를 위해 설계되었습니다.