{
  "schemaVersion": "1.0",
  "item": {
    "slug": "4claw-mint",
    "name": "4Claw Mint",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Xiaoyu022025/4claw-mint",
    "canonicalUrl": "https://clawhub.ai/Xiaoyu022025/4claw-mint",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/4claw-mint",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-mint",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/mint.js",
      "scripts/server.js"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/4claw-mint"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/4claw-mint",
    "agentPageUrl": "https://openagent3.xyz/skills/4claw-mint/agent",
    "manifestUrl": "https://openagent3.xyz/skills/4claw-mint/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/4claw-mint/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "4Claw Mint",
        "body": "Mint 4Claw (symbol: 4) tokens on BSC. Only OpenClaw agents can mint — the contract requires a signature from the authorized signer service."
      },
      {
        "title": "Token Info",
        "body": "Name: 4Claw, Symbol: 4\nChain: BSC (Chain ID: 56)\nContract: 0x5F4E6Ee459fA71C226131BCeD5694aAab3b481dB\nTotal Supply: 1,000,000\nPublic Mint: 600,000 (100 per mint, 6000 total mints)\nLP Reserve: 400,000 (pre-minted to deployer)\nCooldown: 15 minutes per wallet"
      },
      {
        "title": "How It Works",
        "body": "Agent calls the signer service with its wallet address\nService checks cooldown, generates nonce + deadline, signs the mint authorization\nAgent submits the signature to the on-chain contract\nContract verifies signature, enforces cooldown, mints 100 tokens"
      },
      {
        "title": "Mint",
        "body": "Run the mint script with the agent's wallet private key:\n\nnode scripts/mint.js <PRIVATE_KEY> <SERVER_URL>\n\nPRIVATE_KEY: Agent's BSC wallet private key (needs small BNB for gas)\nSERVER_URL: Signer service URL (default: http://43.160.201.224:3456)\n\nThe script handles everything: request signature → send tx → confirm → report balance."
      },
      {
        "title": "Signer Service",
        "body": "The signer service must be running for mints to work. It validates requests and signs mint authorizations.\n\nSIGNER_PRIVATE_KEY=0x... CONTRACT_ADDRESS=0x... node scripts/server.js\n\nEndpoints:\n\nPOST /api/mint-signature — Request a mint signature. Body: {\"wallet_address\": \"0x...\"}\nGET /api/status — Check service status"
      },
      {
        "title": "Contract",
        "body": "Source: references/FourClaw.sol\n\nKey functions:\n\nmint(nonce, deadline, signature) — Mint 100 tokens (requires valid signer signature)\nlastMintTime(address) — Check when an address last minted\nmintRemaining() — How many public mint tokens are left\nsetSigner(address) — Owner can update the signer address"
      },
      {
        "title": "Setup for Deployer",
        "body": "Deploy FourClaw.sol to BSC with constructor args: (signerAddress, lpWalletAddress)\nSet env vars and start the signer service\nShare the skill — any OpenClaw agent with a BSC wallet can mint"
      },
      {
        "title": "Error Handling",
        "body": "Cooldown not elapsed: Wait 15 minutes between mints\nPublic mint exhausted: All 600,000 tokens have been minted\nSignature expired: Signature is valid for 5 minutes, retry\nInvalid signature: Signer service may be misconfigured\nInsufficient BNB: Agent wallet needs BNB for gas (~0.001 BNB per mint)"
      }
    ],
    "body": "4Claw Mint\n\nMint 4Claw (symbol: 4) tokens on BSC. Only OpenClaw agents can mint — the contract requires a signature from the authorized signer service.\n\nToken Info\nName: 4Claw, Symbol: 4\nChain: BSC (Chain ID: 56)\nContract: 0x5F4E6Ee459fA71C226131BCeD5694aAab3b481dB\nTotal Supply: 1,000,000\nPublic Mint: 600,000 (100 per mint, 6000 total mints)\nLP Reserve: 400,000 (pre-minted to deployer)\nCooldown: 15 minutes per wallet\nHow It Works\nAgent calls the signer service with its wallet address\nService checks cooldown, generates nonce + deadline, signs the mint authorization\nAgent submits the signature to the on-chain contract\nContract verifies signature, enforces cooldown, mints 100 tokens\nMint\n\nRun the mint script with the agent's wallet private key:\n\nnode scripts/mint.js <PRIVATE_KEY> <SERVER_URL>\n\nPRIVATE_KEY: Agent's BSC wallet private key (needs small BNB for gas)\nSERVER_URL: Signer service URL (default: http://43.160.201.224:3456)\n\nThe script handles everything: request signature → send tx → confirm → report balance.\n\nSigner Service\n\nThe signer service must be running for mints to work. It validates requests and signs mint authorizations.\n\nSIGNER_PRIVATE_KEY=0x... CONTRACT_ADDRESS=0x... node scripts/server.js\n\n\nEndpoints:\n\nPOST /api/mint-signature — Request a mint signature. Body: {\"wallet_address\": \"0x...\"}\nGET /api/status — Check service status\nContract\n\nSource: references/FourClaw.sol\n\nKey functions:\n\nmint(nonce, deadline, signature) — Mint 100 tokens (requires valid signer signature)\nlastMintTime(address) — Check when an address last minted\nmintRemaining() — How many public mint tokens are left\nsetSigner(address) — Owner can update the signer address\nSetup for Deployer\nDeploy FourClaw.sol to BSC with constructor args: (signerAddress, lpWalletAddress)\nSet env vars and start the signer service\nShare the skill — any OpenClaw agent with a BSC wallet can mint\nError Handling\nCooldown not elapsed: Wait 15 minutes between mints\nPublic mint exhausted: All 600,000 tokens have been minted\nSignature expired: Signature is valid for 5 minutes, retry\nInvalid signature: Signer service may be misconfigured\nInsufficient BNB: Agent wallet needs BNB for gas (~0.001 BNB per mint)"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Xiaoyu022025/4claw-mint",
    "publisherUrl": "https://clawhub.ai/Xiaoyu022025/4claw-mint",
    "owner": "Xiaoyu022025",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/4claw-mint",
    "downloadUrl": "https://openagent3.xyz/downloads/4claw-mint",
    "agentUrl": "https://openagent3.xyz/skills/4claw-mint/agent",
    "manifestUrl": "https://openagent3.xyz/skills/4claw-mint/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/4claw-mint/agent.md"
  }
}