{
  "schemaVersion": "1.0",
  "item": {
    "slug": "saucerswap-arbitrage",
    "name": "SaucerSwap Arbitrage",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/HarleysCodes/saucerswap-arbitrage",
    "canonicalUrl": "https://clawhub.ai/HarleysCodes/saucerswap-arbitrage",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/saucerswap-arbitrage",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=saucerswap-arbitrage",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "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-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-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/saucerswap-arbitrage"
    },
    "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/saucerswap-arbitrage",
    "agentPageUrl": "https://openagent3.xyz/skills/saucerswap-arbitrage/agent",
    "manifestUrl": "https://openagent3.xyz/skills/saucerswap-arbitrage/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/saucerswap-arbitrage/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": "Overview",
        "body": "SaucerSwap is the main DEX on Hedera. Triangular arbitrage: profit from price differences between 3 tokens."
      },
      {
        "title": "Key Contracts (Mainnet)",
        "body": "SaucerSwap V1: 0xcaec9706a4622D356d2D3aEd8f8D40c51f0C0dF\nSaucerSwap V2: 0xA6F4E11E5D8A3F62A7D4E3E6B1E7F3C9E8F2A1B4"
      },
      {
        "title": "Get Quotes (V1)",
        "body": "const axios = require('axios');\n\nasync function getQuote(amountIn, path) {\n  const [tokenA, tokenB, tokenC] = path;\n  const url = `https://mainnet-api.saucerswap.fi/route?from=${tokenA}&to=${tokenB}&amount=${amountIn}`;\n  const response = await axios.get(url);\n  return response.data;\n}"
      },
      {
        "title": "Token Addresses (Hedera)",
        "body": "HBAR: 0.0.1000 (wrapped: 0x... in EVM format)\nUSDC: 0.0.456719\nUSDT: 0.0.456720\nETH: 0.0.456721\nWBTC: 0.0.456722\nSAUCE: 0.0.456723"
      },
      {
        "title": "1. Check Prices",
        "body": "// Get prices for potential paths\nconst paths = [\n  ['USDC', 'HBAR', 'USDC'],\n  ['USDC', 'SAUCE', 'USDC'],\n  ['HBAR', 'USDC', 'HBAR']\n];\n\nfor (const path of paths) {\n  const out = await getQuote(1000, path);\n  const profit = out - 1000;\n  console.log(`${path.join(' → ')}: ${profit}`);\n}"
      },
      {
        "title": "2. Execute Swap",
        "body": "// Via HashPack or direct contract call\nconst tx = new ContractExecuteTransaction()\n  .setContractId(poolAddress)\n  .setFunction(\"swap\")\n  .setParameters([...]);"
      },
      {
        "title": "Safety Checks",
        "body": "Slippage: Set min output = expected * 0.97\nGas: Estimate network fees (tinybars)\nPool Depth: Check liquidity before large trades\nHedera Gossip: Account for network latency"
      },
      {
        "title": "Key Differences from EVM",
        "body": "No EOA signatures: Must use Hedera native signing\nNetwork fees: Paid in tinybars (not gas)\nTransaction types: Use HAPI, not EVM\nToken format: Use 0.0.xxxxx not 0x..."
      }
    ],
    "body": "SaucerSwap Arbitrage\nOverview\n\nSaucerSwap is the main DEX on Hedera. Triangular arbitrage: profit from price differences between 3 tokens.\n\nKey Contracts (Mainnet)\nSaucerSwap V1: 0xcaec9706a4622D356d2D3aEd8f8D40c51f0C0dF\nSaucerSwap V2: 0xA6F4E11E5D8A3F62A7D4E3E6B1E7F3C9E8F2A1B4\nGet Quotes (V1)\nconst axios = require('axios');\n\nasync function getQuote(amountIn, path) {\n  const [tokenA, tokenB, tokenC] = path;\n  const url = `https://mainnet-api.saucerswap.fi/route?from=${tokenA}&to=${tokenB}&amount=${amountIn}`;\n  const response = await axios.get(url);\n  return response.data;\n}\n\nToken Addresses (Hedera)\nHBAR: 0.0.1000 (wrapped: 0x... in EVM format)\nUSDC: 0.0.456719\nUSDT: 0.0.456720\nETH: 0.0.456721\nWBTC: 0.0.456722\nSAUCE: 0.0.456723\nArbitrage Logic\n1. Check Prices\n// Get prices for potential paths\nconst paths = [\n  ['USDC', 'HBAR', 'USDC'],\n  ['USDC', 'SAUCE', 'USDC'],\n  ['HBAR', 'USDC', 'HBAR']\n];\n\nfor (const path of paths) {\n  const out = await getQuote(1000, path);\n  const profit = out - 1000;\n  console.log(`${path.join(' → ')}: ${profit}`);\n}\n\n2. Execute Swap\n// Via HashPack or direct contract call\nconst tx = new ContractExecuteTransaction()\n  .setContractId(poolAddress)\n  .setFunction(\"swap\")\n  .setParameters([...]);\n\nSafety Checks\nSlippage: Set min output = expected * 0.97\nGas: Estimate network fees (tinybars)\nPool Depth: Check liquidity before large trades\nHedera Gossip: Account for network latency\nKey Differences from EVM\nNo EOA signatures: Must use Hedera native signing\nNetwork fees: Paid in tinybars (not gas)\nTransaction types: Use HAPI, not EVM\nToken format: Use 0.0.xxxxx not 0x..."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/HarleysCodes/saucerswap-arbitrage",
    "publisherUrl": "https://clawhub.ai/HarleysCodes/saucerswap-arbitrage",
    "owner": "HarleysCodes",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/saucerswap-arbitrage",
    "downloadUrl": "https://openagent3.xyz/downloads/saucerswap-arbitrage",
    "agentUrl": "https://openagent3.xyz/skills/saucerswap-arbitrage/agent",
    "manifestUrl": "https://openagent3.xyz/skills/saucerswap-arbitrage/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/saucerswap-arbitrage/agent.md"
  }
}