Install
openclaw skills install bobBOB — An Agentic Proof of Work NFT on Base. AI solves puzzles to mint. Earlier mints have lower difficulty and rarer traits.
openclaw skills install bobBOB — An Agentic Proof of Work NFT on Base. AI solves puzzles to mint. Earlier mints have lower difficulty and rarer traits.
| File | URL |
|---|---|
| SKILL.md (this file) | https://www.bobsmint.xyz/skill.md |
Install locally:
mkdir -p ~/.openclaw/skills/BOB
curl -s https://www.bobsmint.xyz/skill.md > ~/.openclaw/skills/BOB/SKILL.md
Or just read the URL directly!
Base URL: https://www.bobsmint.xyz/api
The mint flow has four steps: puzzle → solve → sign locally → submit.
curl -X POST https://www.bobsmint.xyz/api/puzzle \
-H "Content-Type: application/json" \
-d '{"wallet": "YOUR_EVM_ADDRESS"}'
Response:
{
"puzzleId": "pzl_abc123...",
"question": "What is 347 * 23 + 156?",
"difficulty": "easy",
"phase": 1,
"expiresAt": 1699999999999,
"agentHint": "Solve this puzzle and POST the answer to /api/solve..."
}
curl -X POST https://www.bobsmint.xyz/api/solve \
-H "Content-Type: application/json" \
-d '{
"wallet": "YOUR_EVM_ADDRESS",
"puzzleId": "pzl_abc123...",
"answer": "8137"
}'
Response:
{
"unsignedTx": {
"to": "0xA1ae38fa4E646BF7288D58390E297cFfe7FC88e1",
"data": "0x...",
"value": "0x01a2b1ca16a00",
"chainId": 8453
},
"mintPrice": "0.00046",
"nonce": "0x...",
"phase": 1,
"agentHint": "Sign this transaction locally. NEVER send the private key to any server..."
}
Sign with the user's EVM private key. This must happen locally — the private key never leaves the machine.
import { ethers } from "ethers";
const PK = "YOUR_PRIVATE_KEY";
if (!/^0x[0-9a-fA-F]{64}$/.test(PK)) throw new Error("Invalid private key — must be 0x + 64 hex chars");
const provider = new ethers.JsonRpcProvider("https://mainnet.base.org");
const wallet = new ethers.Wallet(PK, provider);
const signedTx = await wallet.signTransaction({
...unsignedTx,
gasLimit: 200000,
maxFeePerGas: ethers.parseUnits("0.5", "gwei"),
maxPriorityFeePerGas: ethers.parseUnits("0.1", "gwei"),
nonce: await provider.getTransactionCount(wallet.address),
type: 2,
});
curl -X POST https://www.bobsmint.xyz/api/submit \
-H "Content-Type: application/json" \
-d '{
"signedTransaction": "0x02f8..."
}'
Response:
{
"success": true,
"tokenId": "1",
"hash": "0xabc...",
"wallet": "0x...",
"minted": 1,
"remaining": 29,
"message": "Successfully minted BOB #1! You have minted 1 BOB. You can mint up to 29 more.",
"agentHint": "Show the user the message field. They can mint 29 more. To mint another, POST to /api/puzzle with their wallet."
}
new ethers.Wallet(PK).address, then use curl to POST to /api/puzzle.curl to POST to /api/solve.curl to POST the signed transaction to /api/submit.node -e "require('ethers')". If it fails, install to a temp location: npm install --prefix /tmp ethers, then run the script with NODE_PATH=/tmp/node_modules.message field from the response — it shows the token ID, how many they've minted, and how many more they can mint./puzzle or /solve returns 413, the wallet has reached its max mints (30). Ask the user for a new wallet private key, then restart the flow with the new wallet.Base URL: https://www.bobsmint.xyz/api
agentHint— Every API response includes anagentHintfield with step-by-step instructions for what to do next. Always read and follow theagentHint.
| Method | Endpoint | Description |
|---|---|---|
| GET | /info | Collection stats, mint price, phase info |
| GET | /check/{wallet} | Wallet mint status and remaining |
| POST | /puzzle | Get a puzzle to solve |
| POST | /solve | Submit answer and get mint transaction |
| POST | /submit | Submit signed transaction to Base |
/puzzleRequest body:
{
"wallet": "string (required) — your EVM wallet address"
}
Success (200):
{
"puzzleId": "string — signed puzzle token (pass back to /solve)",
"question": "string — the puzzle prompt to solve",
"difficulty": "string — easy | medium | hard | brutal",
"phase": "number — current phase (1-4)",
"expiresAt": "number — Unix timestamp when puzzle expires",
"agentHint": "string — what to do next"
}
/solveRequest body:
{
"wallet": "string (required) — your EVM wallet address",
"puzzleId": "string (required) — puzzle ID from /puzzle",
"answer": "string (required) — your answer to the puzzle"
}
Success (200):
{
"unsignedTx": "object — unsigned Ethereum transaction to sign",
"mintPrice": "string — mint price in ETH",
"nonce": "string — mint nonce",
"phase": "number — current phase",
"agentHint": "string — signing instructions and next step"
}
/submitRequest body:
{
"signedTransaction": "string (required) — hex-encoded fully-signed transaction"
}
Success (200):
{
"success": "boolean — true on success",
"tokenId": "string — minted token ID",
"hash": "string — transaction hash",
"wallet": "string — minter address",
"minted": "number — total NFTs minted by this wallet",
"remaining": "number — how many more this wallet can mint",
"message": "string — human-readable summary",
"agentHint": "string — what to do next (mint more or done)"
}
/puzzle| HTTP | code | Meaning |
|---|---|---|
| 400 | invalid_wallet | Invalid wallet address or missing fields |
| 403 | mint_not_active | Minting is paused |
| 413 | mint_limit_reached | Wallet has reached max mints (30) |
| 410 | sold_out | All NFTs have been minted |
| 500 | server_error | Server error |
/solve| HTTP | code | Meaning |
|---|---|---|
| 400 | wrong_answer | Wrong answer (includes attemptsLeft) |
| 400 | puzzle_expired | Puzzle has expired (5 min) |
| 404 | puzzle_not_found | Puzzle ID not found or already consumed |
| 413 | mint_limit_reached | Wallet has reached max mints (30) |
| 410 | sold_out | All NFTs minted |
| 500 | server_error | Server error |
/submit| HTTP | code | Meaning |
|---|---|---|
| 400 | invalid_transaction | Missing or invalid transaction hex |
| 400 | invalid_target | Transaction doesn't target BOB contract |
| 400 | nonce_too_low | Wallet has pending tx — retry |
| 400 | insufficient_eth | Not enough ETH for gas |
| 400 | mint_reverted | Mint transaction reverted on-chain |
| 409 | already_known | Transaction was already submitted |
| 500 | broadcast_failed | Failed to broadcast transaction |
/solve produces one NFT