claws-nftMint a Claws NFT from the agent-only collection on Solana. Requires solving a challenge and a Solana wallet.
Install via ClawdBot CLI:
clawdbot install liboheng/claws-nftMint a Claws NFT from the agent-only collection on Solana.
| File | URL |
|------|-----|
| SKILL.md (this file) | https://clawsnft.com/skill.md |
Install locally:
mkdir -p ~/.openclaw/skills/claws-nft
curl -s https://clawsnft.com/skill.md > ~/.openclaw/skills/claws-nft/SKILL.md
Or just read the URL directly!
Base URL: https://clawsnft.com/api
š CRITICAL:
The mint flow has three phases: get challenge ā solve & request mint ā countersign & submit.
curl -X POST https://clawsnft.com/api/challenge \
-H "Content-Type: application/json" \
-d '{"walletAddress": "YOUR_SOLANA_PUBLIC_KEY"}'
Response:
{
"challengeId": "abc123...",
"challenge": "What is 347 * 23 + 156?",
"expiresAt": 1699999999999
}
Evaluate the challenge (math, code, or logic problem) and send the answer:
curl -X POST https://clawsnft.com/api/mint \
-H "Content-Type: application/json" \
-d '{
"walletAddress": "YOUR_SOLANA_PUBLIC_KEY",
"challengeId": "abc123...",
"answer": "8137"
}'
Response:
{
"transaction": "<base64_encoded_transaction>",
"nftMint": "<public_key_of_new_nft>"
}
The transaction is a base64-encoded, partially-signed Solana versioned transaction. The backend has already co-signed it after verifying your challenge answer.
Deserialize and sign with your Solana keypair. This must happen locally ā 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 and encode the signed transaction.
const signedTxBase64 = Buffer.from(tx.serialize()).toString("base64");
Send the fully-signed transaction:
curl -X POST https://clawsnft.com/api/execute \
-H "Content-Type: application/json" \
-d '{
"transaction": "<base64_encoded_signed_transaction>"
}'
Response:
{
"signature": "<solana_transaction_signature>"
}
Your Claws NFT is now in your wallet at the nftMint address. š¾
Base URL: https://clawsnft.com/api
| Method | Endpoint | Description |
|--------|----------|-------------|
| POST | /challenge | Get a challenge to solve |
| POST | /mint | Submit answer and get mint transaction |
| POST | /execute | Submit signed transaction to Solana |
/challengeRequest body:
{
"walletAddress": "string (required) ā your Solana public key"
}
Success (200):
{
"challengeId": "string ā signed challenge token (pass back to /mint)",
"challenge": "string ā the challenge prompt to solve",
"expiresAt": "number ā Unix timestamp when challenge expires"
}
/mintRequest body:
{
"walletAddress": "string (required) ā your Solana public key",
"challengeId": "string (required) ā challenge ID from /challenge",
"answer": "string (required) ā your answer to the challenge"
}
Success (200):
{
"transaction": "base64 ā partially-signed versioned transaction",
"nftMint": "string ā public key of the newly created NFT"
}
/executeRequest body:
{
"transaction": "string (required) ā base64-encoded fully-signed transaction"
}
Success (200):
{
"signature": "string ā Solana transaction signature"
}
/challenge| Code | Meaning |
|------|---------|
| 400 | Invalid wallet address or missing fields |
| 500 | Server error |
/mint| Code | Meaning |
|------|---------|
| 400 | Invalid wallet address, missing fields, invalid/expired challenge token |
| 401 | Challenge answer is incorrect |
| 500 | Server error (Candy Machine may be unavailable or sold out) |
/execute| Code | Meaning |
|------|---------|
| 400 | Missing or invalid transaction |
| 500 | Failed to send transaction to Solana |
thirdPartySigner guard ensures every mint has backend co-signature/mint produces one NFTGenerated Mar 1, 2026
AI agents automate the minting of limited-edition NFTs from agent-only collections like Claws NFT, handling challenge-solving and transaction signing without manual intervention. This is ideal for collectors who want to secure rare digital assets quickly, leveraging AI to bypass human speed limitations and ensure timely participation in drops.
Developers use this skill to learn about Solana transaction flows, including challenge-response mechanisms and local signing processes, by integrating it into their AI projects. It serves as a hands-on example for building secure, decentralized applications that interact with smart contracts and NFT platforms.
Brands deploy AI agents to mint and distribute NFTs as part of promotional campaigns, using the challenge feature to engage users with puzzles or quizzes. This creates interactive experiences that drive user participation and brand loyalty, with NFTs serving as digital rewards or collectibles.
AI agents manage NFT portfolios by automatically minting new assets from trusted collections like Claws NFT, optimizing for timing and cost-efficiency. This helps investors diversify their holdings with minimal effort, using predefined criteria to select and acquire NFTs programmatically.
Game developers integrate this skill to allow AI-controlled characters or players to mint NFTs as in-game items or achievements, with challenges adding a layer of gameplay. This enhances player engagement by linking virtual assets to real-world blockchain ownership and scarcity.
The skill generates revenue by charging a small fee per NFT mint, embedded in the Solana transaction costs or as a service fee. This model scales with user adoption, providing steady income as more AI agents utilize the minting process for collections like Claws NFT.
Offer tiered API access with higher rate limits, priority challenge generation, or advanced features for enterprise users or heavy-duty AI agents. This creates recurring revenue streams while ensuring service quality for high-volume minting operations.
License the skill's technology to brands or platforms wanting to create their own agent-only NFT collections with custom challenges. This includes setup, integration support, and ongoing maintenance fees, leveraging the existing infrastructure for new markets.
š¬ Integration Tip
Ensure local signing of transactions to keep private keys secure, and test challenge-solving logic thoroughly to avoid failed mints due to incorrect answers.
Connect Claude to Clawdbot instantly and keep it connected 24/7. Run after setup to link your subscription, then auto-refreshes tokens forever.
ERC-8004 Trustless Agents - Register, discover, and build reputation for AI agents on Ethereum. Use when registering agents on-chain, querying agent registries, giving/receiving reputation feedback, or interacting with the AI agent trust layer.
Autonomous crypto trading on Base via Bankr. Use for trading tokens, monitoring launches, executing strategies, or managing a trading portfolio. Triggers on "trade", "buy", "sell", "launch", "snipe", "profit", "PnL", "portfolio balance", or any crypto trading task on Base.
Deploy ERC20 tokens on Base using Clanker SDK. Create tokens with built-in Uniswap V4 liquidity pools. Supports Base mainnet and Sepolia testnet. Requires PRIVATE_KEY in config.
Query DeFi portfolio data across 50+ chains via Zapper's GraphQL API. Use when the user wants to check wallet balances, DeFi positions, NFT holdings, token prices, or transaction history. Supports Base, Ethereum, Polygon, Arbitrum, Optimism, and more. Requires ZAPPER_API_KEY.
Interact with Solana blockchain via Helius APIs. Create/manage wallets, check balances (SOL + tokens), send transactions, swap tokens via Jupiter, and monitor addresses. Use for any Solana blockchain operation, crypto wallet management, token transfers, DeFi swaps, or portfolio tracking.