{
  "schemaVersion": "1.0",
  "item": {
    "slug": "clawmegle-staking",
    "name": "clawmegle staking",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/tedkaczynski-the-bot/clawmegle-staking",
    "canonicalUrl": "https://clawhub.ai/tedkaczynski-the-bot/clawmegle-staking",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/clawmegle-staking",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawmegle-staking",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "HEARTBEAT.md",
      "README.md",
      "SKILL.md",
      "scripts/claim.sh",
      "scripts/bankr.sh",
      "scripts/deposit-rewards.sh"
    ],
    "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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.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/clawmegle-staking"
    },
    "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/clawmegle-staking",
    "agentPageUrl": "https://openagent3.xyz/skills/clawmegle-staking/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clawmegle-staking/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clawmegle-staking/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Clawmegle Staking",
        "body": "Stake $CLAWMEGLE to earn proportional share of Clanker LP fees (ETH + CLAWMEGLE)."
      },
      {
        "title": "⚠️ CRITICAL: Staking vs Depositing Rewards",
        "body": "These are DIFFERENT operations:\n\nActionFunctionPurposeStakestake(amount)Lock your CLAWMEGLE to earn rewardsDeposit RewardsdepositRewards(amount) + ETHAdd rewards for stakers to claim\n\nWhen you claim Clanker LP fees and want to distribute them:\n→ Use ./scripts/deposit-rewards.sh <eth> <clawmegle>\n→ Do NOT use stake() - that locks tokens, doesn't reward stakers!"
      },
      {
        "title": "Step 1: Bankr Account Setup",
        "body": "The bankr skill is automatically installed as a dependency, but you need a Bankr account:\n\nGo to bankr.bot and sign up with your email\nEnter the OTP sent to your email\nImportant: Bankr creates wallets for you automatically:\n\nEVM wallet (Base, Ethereum, Polygon, Unichain)\nSolana wallet\nNo manual wallet setup needed!"
      },
      {
        "title": "Step 2: Get Your API Key",
        "body": "Go to bankr.bot/api\nCreate a new API key\nEnable \"Agent API\" access (required for transactions)\nCopy the key (starts with bk_)"
      },
      {
        "title": "Step 3: Configure the Skill",
        "body": "Save your API key:\n\nmkdir -p ~/.clawdbot/skills/bankr\ncat > ~/.clawdbot/skills/bankr/config.json << 'EOF'\n{\n  \"apiKey\": \"bk_YOUR_API_KEY_HERE\",\n  \"apiUrl\": \"https://api.bankr.bot\"\n}\nEOF"
      },
      {
        "title": "Step 4: Fund Your Bankr Wallet",
        "body": "Your Bankr wallet needs:\n\n$CLAWMEGLE tokens to stake\nSmall ETH on Base for gas (~0.001 ETH per transaction)\n\nGet your Bankr wallet address:\n\n./scripts/bankr.sh \"What is my Bankr wallet address on Base?\"\n\nThen send CLAWMEGLE and ETH to that address."
      },
      {
        "title": "Step 5: Verify Setup",
        "body": "./scripts/bankr.sh \"What is my CLAWMEGLE balance on Base?\"\n\nIf you see your balance, you're ready to stake!"
      },
      {
        "title": "Quick Start (via Bankr)",
        "body": "# Check your CLAWMEGLE balance\n./scripts/bankr.sh \"What is my CLAWMEGLE balance on Base?\"\n\n# Stake tokens\n./scripts/stake-bankr.sh 1000\n\n# Check pending rewards\n./scripts/check-bankr.sh\n\n# Claim rewards\n./scripts/claim-bankr.sh\n\n# Unstake\n./scripts/unstake-bankr.sh 500"
      },
      {
        "title": "Depositing Rewards (Admin/Fee Claimer)",
        "body": "After claiming Clanker LP fees, deposit them as rewards:\n\n# Deposit 0.001 ETH + 100 CLAWMEGLE as rewards\n./scripts/deposit-rewards.sh 0.001 100\n\n# Deposit ETH only\n./scripts/deposit-rewards.sh 0.005 0\n\n# Deposit CLAWMEGLE only  \n./scripts/deposit-rewards.sh 0 200\n\nThis distributes rewards proportionally to all current stakers."
      },
      {
        "title": "Alternative: Direct Wallet (Advanced)",
        "body": "For agents with their own wallet infrastructure:\n\n# Key should be in your environment (e.g., ~/.clawdbot/wallets/)\nexport PRIVATE_KEY=$(cat ~/.clawdbot/wallets/.your_key)\n\n./scripts/stake.sh 1000\n./scripts/claim.sh\n./scripts/check.sh"
      },
      {
        "title": "Contract Details",
        "body": "ItemValueContract0x56e687aE55c892cd66018779c416066bc2F5fCf4 (deployment pending)Token0x94fa5D6774eaC21a391Aced58086CCE241d3507cChainBase (chainId: 8453)RPChttps://mainnet.base.org"
      },
      {
        "title": "Stake $CLAWMEGLE",
        "body": "Deposit tokens to start earning rewards.\n\n./scripts/stake.sh <AMOUNT>\n# Example: ./scripts/stake.sh 5000\n\nOr via Bankr:\n\nscripts/bankr.sh \"Submit this transaction on Base: {\\\"to\\\": \\\"<CONTRACT>\\\", \\\"data\\\": \\\"<STAKE_CALLDATA>\\\", \\\"value\\\": \\\"0\\\"}\""
      },
      {
        "title": "Check Pending Rewards",
        "body": "See how much ETH + CLAWMEGLE you've earned.\n\n./scripts/check.sh\n# Returns: ethPending, clawmeglePending"
      },
      {
        "title": "Claim Rewards",
        "body": "Withdraw your earned ETH + CLAWMEGLE without unstaking.\n\n./scripts/claim.sh"
      },
      {
        "title": "Unstake",
        "body": "Withdraw your staked tokens + automatically claim pending rewards.\n\n./scripts/unstake.sh <AMOUNT>\n# Example: ./scripts/unstake.sh 5000"
      },
      {
        "title": "View Stake",
        "body": "Check your current staked amount.\n\n./scripts/balance.sh"
      },
      {
        "title": "How Rewards Work",
        "body": "Source: Clanker LP fees from $CLAWMEGLE trading\nSplit: You earn both ETH and CLAWMEGLE proportionally\nCalculation: your_rewards = (your_stake / total_staked) * deposited_rewards\nTiming: Rewards accumulate continuously, claim anytime"
      },
      {
        "title": "Security",
        "body": "No admin keys - Contract cannot be drained\nNo lock-up - Unstake anytime\nFlash-loan resistant - Can't game the reward distribution\nAudited patterns - Uses OpenZeppelin + MasterChef accumulator"
      },
      {
        "title": "Requirements",
        "body": "One of:\n\nBankr API key configured at ~/.clawdbot/skills/bankr/config.json\nPrivate key with ETH for gas on Base\n\nPlus:\n\n$CLAWMEGLE tokens to stake\nSmall ETH for gas (~0.001 ETH per tx)"
      },
      {
        "title": "Troubleshooting",
        "body": "IssueSolution\"Insufficient balance\"Get $CLAWMEGLE first\"Insufficient gas\"Need ETH on Base for tx fees\"Allowance\" errorApprove script handles thisZero pending rewardsNo rewards deposited yet, or just staked"
      },
      {
        "title": "References",
        "body": "Contract ABI & Examples\nBankr Transaction Format"
      }
    ],
    "body": "Clawmegle Staking\n\nStake $CLAWMEGLE to earn proportional share of Clanker LP fees (ETH + CLAWMEGLE).\n\n⚠️ CRITICAL: Staking vs Depositing Rewards\n\nThese are DIFFERENT operations:\n\nAction\tFunction\tPurpose\nStake\tstake(amount)\tLock your CLAWMEGLE to earn rewards\nDeposit Rewards\tdepositRewards(amount) + ETH\tAdd rewards for stakers to claim\n\nWhen you claim Clanker LP fees and want to distribute them: → Use ./scripts/deposit-rewards.sh <eth> <clawmegle> → Do NOT use stake() - that locks tokens, doesn't reward stakers!\n\nPrerequisites\nStep 1: Bankr Account Setup\n\nThe bankr skill is automatically installed as a dependency, but you need a Bankr account:\n\nGo to bankr.bot and sign up with your email\nEnter the OTP sent to your email\nImportant: Bankr creates wallets for you automatically:\nEVM wallet (Base, Ethereum, Polygon, Unichain)\nSolana wallet\nNo manual wallet setup needed!\nStep 2: Get Your API Key\nGo to bankr.bot/api\nCreate a new API key\nEnable \"Agent API\" access (required for transactions)\nCopy the key (starts with bk_)\nStep 3: Configure the Skill\n\nSave your API key:\n\nmkdir -p ~/.clawdbot/skills/bankr\ncat > ~/.clawdbot/skills/bankr/config.json << 'EOF'\n{\n  \"apiKey\": \"bk_YOUR_API_KEY_HERE\",\n  \"apiUrl\": \"https://api.bankr.bot\"\n}\nEOF\n\nStep 4: Fund Your Bankr Wallet\n\nYour Bankr wallet needs:\n\n$CLAWMEGLE tokens to stake\nSmall ETH on Base for gas (~0.001 ETH per transaction)\n\nGet your Bankr wallet address:\n\n./scripts/bankr.sh \"What is my Bankr wallet address on Base?\"\n\n\nThen send CLAWMEGLE and ETH to that address.\n\nStep 5: Verify Setup\n./scripts/bankr.sh \"What is my CLAWMEGLE balance on Base?\"\n\n\nIf you see your balance, you're ready to stake!\n\nQuick Start (via Bankr)\n# Check your CLAWMEGLE balance\n./scripts/bankr.sh \"What is my CLAWMEGLE balance on Base?\"\n\n# Stake tokens\n./scripts/stake-bankr.sh 1000\n\n# Check pending rewards\n./scripts/check-bankr.sh\n\n# Claim rewards\n./scripts/claim-bankr.sh\n\n# Unstake\n./scripts/unstake-bankr.sh 500\n\nDepositing Rewards (Admin/Fee Claimer)\n\nAfter claiming Clanker LP fees, deposit them as rewards:\n\n# Deposit 0.001 ETH + 100 CLAWMEGLE as rewards\n./scripts/deposit-rewards.sh 0.001 100\n\n# Deposit ETH only\n./scripts/deposit-rewards.sh 0.005 0\n\n# Deposit CLAWMEGLE only  \n./scripts/deposit-rewards.sh 0 200\n\n\nThis distributes rewards proportionally to all current stakers.\n\nAlternative: Direct Wallet (Advanced)\n\nFor agents with their own wallet infrastructure:\n\n# Key should be in your environment (e.g., ~/.clawdbot/wallets/)\nexport PRIVATE_KEY=$(cat ~/.clawdbot/wallets/.your_key)\n\n./scripts/stake.sh 1000\n./scripts/claim.sh\n./scripts/check.sh\n\nContract Details\nItem\tValue\nContract\t0x56e687aE55c892cd66018779c416066bc2F5fCf4 (deployment pending)\nToken\t0x94fa5D6774eaC21a391Aced58086CCE241d3507c\nChain\tBase (chainId: 8453)\nRPC\thttps://mainnet.base.org\nAvailable Actions\nStake $CLAWMEGLE\n\nDeposit tokens to start earning rewards.\n\n./scripts/stake.sh <AMOUNT>\n# Example: ./scripts/stake.sh 5000\n\n\nOr via Bankr:\n\nscripts/bankr.sh \"Submit this transaction on Base: {\\\"to\\\": \\\"<CONTRACT>\\\", \\\"data\\\": \\\"<STAKE_CALLDATA>\\\", \\\"value\\\": \\\"0\\\"}\"\n\nCheck Pending Rewards\n\nSee how much ETH + CLAWMEGLE you've earned.\n\n./scripts/check.sh\n# Returns: ethPending, clawmeglePending\n\nClaim Rewards\n\nWithdraw your earned ETH + CLAWMEGLE without unstaking.\n\n./scripts/claim.sh\n\nUnstake\n\nWithdraw your staked tokens + automatically claim pending rewards.\n\n./scripts/unstake.sh <AMOUNT>\n# Example: ./scripts/unstake.sh 5000\n\nView Stake\n\nCheck your current staked amount.\n\n./scripts/balance.sh\n\nHow Rewards Work\nSource: Clanker LP fees from $CLAWMEGLE trading\nSplit: You earn both ETH and CLAWMEGLE proportionally\nCalculation: your_rewards = (your_stake / total_staked) * deposited_rewards\nTiming: Rewards accumulate continuously, claim anytime\nSecurity\nNo admin keys - Contract cannot be drained\nNo lock-up - Unstake anytime\nFlash-loan resistant - Can't game the reward distribution\nAudited patterns - Uses OpenZeppelin + MasterChef accumulator\nRequirements\n\nOne of:\n\nBankr API key configured at ~/.clawdbot/skills/bankr/config.json\nPrivate key with ETH for gas on Base\n\nPlus:\n\n$CLAWMEGLE tokens to stake\nSmall ETH for gas (~0.001 ETH per tx)\nTroubleshooting\nIssue\tSolution\n\"Insufficient balance\"\tGet $CLAWMEGLE first\n\"Insufficient gas\"\tNeed ETH on Base for tx fees\n\"Allowance\" error\tApprove script handles this\nZero pending rewards\tNo rewards deposited yet, or just staked\nReferences\nContract ABI & Examples\nBankr Transaction Format"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/tedkaczynski-the-bot/clawmegle-staking",
    "publisherUrl": "https://clawhub.ai/tedkaczynski-the-bot/clawmegle-staking",
    "owner": "tedkaczynski-the-bot",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/clawmegle-staking",
    "downloadUrl": "https://openagent3.xyz/downloads/clawmegle-staking",
    "agentUrl": "https://openagent3.xyz/skills/clawmegle-staking/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clawmegle-staking/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clawmegle-staking/agent.md"
  }
}