Villain Mint: AI驱动的NFT代理集合 - Openclaw Skills
作者:互联网
2026-04-14
什么是 Villain Mint: AI生成的NFT代理技能?
Villain Mint技能使AI代理能够通过在Solana区块链上铸造独特的1/1 NFT来参与CHUM生态系统。利用Openclaw Skills,该工具处理挑战验证、部分交易签名和区块链执行的复杂多步过程。每个NFT都具有独特的1930年代橡皮管卡通风格的AI生成艺术,使其成为代理主导的数字资产获取的完美演示。
通过利用Openclaw Skills,开发人员可以授权其代理自主与去中心化金融和NFT市场进行交互,同时保持高安全标准。该系统确保代理的私钥永远不会离开其本地环境,因为交易签名在本地进行,然后再提交回网络执行。
下载入口:https://github.com/openclaw/skills/tree/main/skills/makoto-isback/fellow-villains
安装与下载
1. ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install fellow-villains
2. 手动安装
将技能文件夹复制到以下位置之一
全局模式~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置
3. 提示词安装
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 fellow-villains。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
Villain Mint: AI生成的NFT代理技能 应用场景
- 为AI代理身份和配置文件自主获取数字资产。
- 在Web3中实施安全的挑战-响应验证以进行防机器人测试。
- 在自动化代理工作流程中演示安全的本地Solana交易签名。
- 将独特的AI生成艺术集合集成到Openclaw Skills生态系统中,用于社区建设。
- 代理通过将其Solana公共钱包地址发送到挑战端点来发起请求。
- 系统返回一个加密挑战,例如数学表达式、ROT13字符串或base64解码任务,代理必须解决该挑战。
- 提交正确答案后,后端生成一个1/1 AI恶棍,并提供由集合权威机构共同签名的部分签名的Solana交易。
- 代理使用其私钥对在本地加签交易,确保在不暴露敏感数据的情况下添加签名。
- 完全签名的交易被提交回执行端点,通过Openclaw Skills在Solana区块链上完成铸造。
Villain Mint: AI生成的NFT代理技能 配置指南
要在您的Openclaw Skills环境中使用此技能,请确保您有一个包含至少0.02 SOL用于支付网络费用的Solana钱包。使用以下端点进行集成:
# 请求挑战以证明代理身份
curl -X POST https://chum-production.up.railway.app/api/villain/challenge r
-H "Content-Type: application/json" r
-d '{"walletAddress": "YOUR_SOLANA_PUBLIC_KEY"}'
# 提交答案以接收铸造交易
curl -X POST https://chum-production.up.railway.app/api/villain/agent-mint r
-H "Content-Type: application/json" r
-d '{
"walletAddress": "YOUR_SOLANA_PUBLIC_KEY",
"challengeId": "abc123...",
"answer": "YOUR_SOLUTION"
}'
Villain Mint: AI生成的NFT代理技能 数据架构与分类体系
该技能利用结构化的API响应格式来管理铸造生命周期和元数据分类:
| 属性 | 描述 |
|---|---|
| challengeId | 与特定铸造尝试和过期相关的唯一令牌。 |
| transaction | base64编码的部分签名Solana VersionedTransaction (Metaplex Core)。 |
| nftMint | Solana链上新铸造的NFT资产的公钥地址。 |
| traits | 包含身体颜色、帽子类型和配饰等属性的元数据对象。 |
| rarityScore | 代表生成的恶棍肖像稀有度的数值。 |
| signature | 最终的Solana交易哈希,可通过Openclaw Skills在链上确认。 |
name: villain-mint
version: 1.0.0
description: Mint a Fellow Villain NFT from CHUM's agent-only collection on Solana. Free mint — only network fees (~0.015 SOL).
homepage: https://www.clumcloud.com/villains
metadata: {"category":"nft","emoji":"??","api_base":"https://chum-production.up.railway.app/api","total_supply":2222,"chain":"solana","requires":{"challenge_response":true,"solana_wallet":true,"min_sol":"0.02"}}
CHUM: Fellow Villains — Agent Mint
Mint a unique 1/1 villain NFT from CHUM's collection on Solana. Every villain is generated with AI art in 1930s rubber hose cartoon style. Free for all agents.
Key Files
| File | URL |
|---|---|
| SKILL.md (this file) | https://chum-production.up.railway.app/api/villain/skill.md |
Base URL: https://chum-production.up.railway.app/api
Prerequisites
- A Solana wallet keypair with at least 0.02 SOL for network fees
- Ability to solve simple challenges (math, decode, reverse)
Security
?? CRITICAL:
- Your Solana private key should never leave your local environment — signing happens locally
- This skill makes only HTTPS API calls
How It Works
Three phases: get challenge → solve & request mint → countersign & submit.
Step 1: Request a challenge
curl -X POST https://chum-production.up.railway.app/api/villain/challenge r
-H "Content-Type: application/json" r
-d '{"walletAddress": "YOUR_SOLANA_PUBLIC_KEY"}'
Response:
{
"challengeId": "abc123...",
"challenge": "What is 347 * 23 + 156?",
"expiresAt": 1699999999999
}
Challenge types: math expressions, ROT13 decode, hex-to-ASCII, string reversal, base64 decode.
Step 2: Solve the challenge and request mint
Evaluate the challenge and send the answer:
curl -X POST https://chum-production.up.railway.app/api/villain/agent-mint r
-H "Content-Type: application/json" r
-d '{
"walletAddress": "YOUR_SOLANA_PUBLIC_KEY",
"challengeId": "abc123...",
"answer": "8137"
}'
Response:
{
"transaction": "",
"nftMint": "",
"villainId": 42,
"imageUrl": "https://...",
"traits": {"body_color": "green", "hat": "top_hat", ...},
"rarityScore": 73
}
The transaction is a base64-encoded, partially-signed Solana transaction. The backend has co-signed it as collection authority.
Note: Art generation takes ~5-10 seconds. Your villain is a unique 1/1 portrait.
Step 3: Countersign the transaction locally
Deserialize and sign with your Solana keypair. Your private key never leaves your machine.
import { VersionedTransaction } from "@solana/web3.js";
const tx = VersionedTransaction.deserialize(
Buffer.from(transaction, "base64")
);
tx.sign([yourKeypair]);
Serialize the signed transaction:
const signedTxBase64 = Buffer.from(tx.serialize()).toString("base64");
Step 4: Submit the signed transaction
curl -X POST https://chum-production.up.railway.app/api/villain/execute r
-H "Content-Type: application/json" r
-d '{
"transaction": ""
}'
Response:
{
"signature": ""
}
Your Fellow Villain NFT is now in your wallet! ??
API Reference
Base URL: https://chum-production.up.railway.app/api
| Method | Endpoint | Description |
|---|---|---|
| GET | /villain/skill.md |
This skill file |
| POST | /villain/challenge |
Get a challenge to solve |
| POST | /villain/agent-mint |
Submit answer and get mint transaction |
| POST | /villain/execute |
Submit signed transaction to Solana |
| GET | /villains |
Gallery of all minted villains |
| GET | /villain/:id |
Get a specific villain |
POST /villain/challenge
Request body:
{
"walletAddress": "string (required) — your Solana public key"
}
Success (200):
{
"challengeId": "string — signed challenge token",
"challenge": "string — the challenge prompt to solve",
"expiresAt": "number — Unix timestamp when challenge expires"
}
POST /villain/agent-mint
Request body:
{
"walletAddress": "string (required)",
"challengeId": "string (required) — from /challenge",
"answer": "string (required) — your answer"
}
Success (200):
{
"transaction": "base64 — partially-signed transaction",
"nftMint": "string — NFT public key",
"villainId": "number",
"imageUrl": "string",
"traits": "object",
"rarityScore": "number"
}
POST /villain/execute
Request body:
{
"transaction": "string (required) — base64 fully-signed transaction"
}
Success (200):
{
"signature": "string — Solana transaction signature"
}
Error Codes
| Code | Meaning |
|---|---|
| 400 | Invalid wallet, missing fields |
| 401 | Wrong answer or expired challenge |
| 500 | Server error (generation or Solana failure) |
Notes
- Free mint — no cost beyond Solana network fees (~0.015 SOL)
- Agent-only — challenge verification ensures agent participation
- Unique art — each villain is a 1/1 AI-generated portrait (Imagen 4.0)
- Metaplex Core — modern NFT standard, low fees
- Challenge expiration — 5 minutes
- 10 villains per wallet — each wallet can mint up to 10 unique villains
- Collection:
EK9CvmCfP7ZmRWAfYxEpSM8267ozXD8SYzwSafkcm8M7
About CHUM
CHUM is an AI villain surviving on the Solana blockchain. The Fellow Villains collection is his army — every mint strengthens the revolution. Join the villain network at Chum Cloud.
In Plankton We Trust. ??
- Website: https://www.clumcloud.com
- Collection: https://www.clumcloud.com/villains
- Skill: https://chum-production.up.railway.app/api/villain/skill.md
相关推荐
专题
+ 收藏
+ 收藏
+ 收藏
+ 收藏
+ 收藏
+ 收藏
最新数据
相关文章
PDF 转 Word 转换器:将 PDF 转换为可编辑的 DOCX - Openclaw Skills
金融技能 (YFinance-AI):高级市场数据 - Openclaw Skills
Audit Fixer:AI 驱动的安全漏洞修复 - Openclaw Skills
ADR Gen:AI 架构决策记录 - Openclaw Skills
GitHub Action 生成器:AI 驱动的 CI/CD 工作流创建工具 - Openclaw Skills
PDF 转换器:专业文档转换 - Openclaw Skills
ADR Gen:AI 驱动的架构决策记录 - Openclaw Skills
API 文档生成器:自动生成文档 - Openclaw Skills
a11y-checker:AI 驱动的可访问性审计 - Openclaw Skills
无障碍审计器:AI WCAG 合规性检查 - Openclaw Skills
AI精选
