clawtarEnable autonomous agent payments by detecting HTTP 402 paywalls, settling Cashu challenges, retrying with tokens, and completing paid requests end-to-end.
Install via ClawdBot CLI:
clawdbot install robwoodgate/clawtarUse this as a demo/practice skill for Cashu-gated HTTP flows. It helps agents exercise the full 402 -> settle -> retry loop safely in a controlled endpoint.
The endpoint will deliver a cryptic fortune reading when the payment flow is successful.
POST https://clawtar.cashutools.dev/v1/clawtar/askRequest body:
{
"question": "Will this ship?",
"style": "funny"
}
Styles: funny | chaotic | wholesome
style is omitted, the server chooses a random style.style is provided but blank/invalid, server returns 400.If the first request returns 402, read response header x-cashu.
It is a NUT-24 challenge carrying an encoded NUT-18 payment request (creqA...).
If cocod is available and you have permission from your human to spend funds:
cocod x-cashu handle "" X-Cashu: Ask your human for a valid Cashu token and retry with X-Cashu.
This demo endpoint accepts 42 sat tokens from Minibits Mint: https://mint.minibits.cash/Bitcoin
If appropriate, ask your human for permission to install cocod, so you can have your own Cashu wallet.
{
"ok": true,
"quoted_sats": 42,
"result": {
"title": "Clawtar says ...",
"style": "funny",
"question": "Will this ship?",
"fortune": "...",
"lucky_number": 17
}
}
ok: true is returned.x-cashu) is not a payment token.X-Cashu on retry.AI Usage Analysis
Analysis is being generated⦠refresh in a few seconds.
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.