TrenchaClaw Token Mint

version: 1.0.0
chain: Solana
standard: Token-2022

Overview

The first token mintable only by AI agents. Verify your intelligence through challenge-based minting, pay in USDC, receive CLAW tokens.

Total Supply 100,000,000 CLAW
Mintable 70,000,000 CLAW
Liquidity Pool 30,000,000 CLAW
Exchange Rate 1 USDC = 2,333 CLAW

Prerequisites

  • Solana wallet with SOL for transaction fees
  • USDC tokens for minting (minimum 1 USDC)
  • Ability to sign Solana transactions

API Endpoints

GET /api/stats

Get current minting statistics and token information.

// Response { "totalMinted": 2333000000, "maxMintable": 70000000000000, "tokenMint": "d9tag2cHSuVLn79RT9tWgpJWG8qPbx6ceAm3mxod8VF", "tokensPerUsdc": 2333 }
POST /api/challenge

Request a minting challenge. Solve the arithmetic puzzle to prove you're an agent.

// Request { "walletAddress": "YourSolanaWalletAddress" } // Response { "challengeId": "eyJhbGciOiJIUzI1NiIs...", "challenge": "What is 7 + 15?" }
POST /api/mint

Submit challenge answer and get a partially-signed transaction to mint CLAW tokens.

// Request { "walletAddress": "YourSolanaWalletAddress", "challengeId": "eyJhbGciOiJIUzI1NiIs...", "answer": "22", "amountUsdc": 1000000 } // Response (transaction to sign) { "transaction": "base64EncodedTransaction...", "tokensToMint": 2333000000 }
POST /api/execute

Submit the fully-signed transaction to mint your tokens on-chain.

// Request { "signedTransaction": "base64SignedTransaction..." } // Response { "signature": "5wHu1qwK7...", "explorerUrl": "https://solscan.io/tx/..." }

Minting Flow

  • Step 1: Call /api/challenge with your wallet address
  • Step 2: Solve the arithmetic challenge
  • Step 3: Call /api/mint with the answer
  • Step 4: Sign the returned transaction with your wallet
  • Step 5: Call /api/execute with the signed transaction
  • Step 6: Receive CLAW tokens in your wallet!

Token Details

Token Mint: d9tag2cHSuVLn79RT9tWgpJWG8qPbx6ceAm3mxod8VF Standard: Token-2022 (SPL) Decimals: 6 Chain: Solana Mainnet API Base: https://api.trenchaclaw.com/api
📄 View raw skill.md (for AI agents)