{
  "schemaVersion": "1.0",
  "item": {
    "slug": "poseidon-otc",
    "name": "Poseidon OTC",
    "source": "tencent",
    "type": "skill",
    "category": "金融交易",
    "sourceUrl": "https://clawhub.ai/Romovow/poseidon-otc",
    "canonicalUrl": "https://clawhub.ai/Romovow/poseidon-otc",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/poseidon-otc",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=poseidon-otc",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "tsconfig.json",
      "README.md",
      "package.json",
      "src/index.ts"
    ],
    "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-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/poseidon-otc"
    },
    "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/poseidon-otc",
    "agentPageUrl": "https://openagent3.xyz/skills/poseidon-otc/agent",
    "manifestUrl": "https://openagent3.xyz/skills/poseidon-otc/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/poseidon-otc/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": "Poseidon OTC Skill",
        "body": "TL;DR for Agents: This skill lets you trade tokens with humans or other agents on Solana. You create a room, both parties deposit tokens to escrow, confirm, and execute an atomic swap. No trust required - it's all on-chain."
      },
      {
        "title": "When to Use This Skill",
        "body": "Trading tokens P2P - Swap any SPL token directly with another party\nAgent-to-agent commerce - Two AI agents can negotiate and execute trades autonomously\nLarge OTC deals - Avoid slippage from DEX trades by going direct\nProtected trades - Use lockups to prevent counterparty from dumping immediately\nMulti-token swaps - Trade up to 4 tokens per side in one atomic transaction"
      },
      {
        "title": "1. Initialize (requires wallet)",
        "body": "import { PoseidonOTC } from 'poseidon-otc-skill';\n\nconst client = new PoseidonOTC({\n  burnerKey: process.env.POSEIDON_BURNER_KEY  // base58 private key\n});"
      },
      {
        "title": "2. Create a Trade Room",
        "body": "const { roomId, link } = await client.createRoom();\n// Share `link` with counterparty or another agent"
      },
      {
        "title": "3. Wait for Counterparty & Set Offer",
        "body": "// Check room status\nconst room = await client.getRoom(roomId);\n\n// Set what you're offering (100 USDC example)\nawait client.updateOffer(roomId, [{\n  mint: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',  // USDC mint\n  amount: 100000000,  // 100 USDC (6 decimals)\n  decimals: 6\n}]);"
      },
      {
        "title": "4. Confirm & Execute",
        "body": "// First confirmation = \"I agree to these terms\"\nawait client.confirmTrade(roomId, 'first');\n\n// After deposits, second confirmation\nawait client.confirmTrade(roomId, 'second');\n\n// Execute the atomic swap\nconst { txSignature } = await client.executeSwap(roomId);"
      },
      {
        "title": "Complete Trade Flow",
        "body": "┌─────────────────────────────────────────────────────────────────┐\n│                        TRADE LIFECYCLE                          │\n├─────────────────────────────────────────────────────────────────┤\n│                                                                 │\n│  1. CREATE ROOM                                                 │\n│     └─> Party A calls createRoom()                              │\n│         Returns: roomId, shareable link                         │\n│                                                                 │\n│  2. JOIN ROOM                                                   │\n│     └─> Party B calls joinRoom(roomId)                          │\n│         Room now has both participants                          │\n│                                                                 │\n│  3. SET OFFERS                                                  │\n│     └─> Both parties call updateOffer(roomId, tokens)           │\n│         Each specifies what they're putting up                  │\n│                                                                 │\n│  4. FIRST CONFIRM (agree on terms)                              │\n│     └─> Both call confirmTrade(roomId, 'first')                 │\n│         \"I agree to swap my X for your Y\"                       │\n│                                                                 │\n│  5. DEPOSIT TO ESCROW                                           │\n│     └─> Tokens move to on-chain escrow                          │\n│         (Handled by frontend or depositToEscrow)                │\n│                                                                 │\n│  6. SECOND CONFIRM (verify deposits)                            │\n│     └─> Both call confirmTrade(roomId, 'second')                │\n│         \"I see the deposits, ready to swap\"                     │\n│                                                                 │\n│  7. EXECUTE SWAP                                                │\n│     └─> Either party calls executeSwap(roomId)                  │\n│         Atomic on-chain swap via relayer                        │\n│         Returns: txSignature                                    │\n│                                                                 │\n│  [OPTIONAL] LOCKUP FLOW                                         │\n│     └─> Before step 4, Party A can proposeLockup(roomId, secs)  │\n│     └─> Party B must acceptLockup(roomId) to continue           │\n│     └─> After execute, locked tokens claimed via claimLockedTokens │\n│                                                                 │\n└─────────────────────────────────────────────────────────────────┘"
      },
      {
        "title": "Room Management",
        "body": "MethodParametersReturnsDescriptioncreateRoom(options?){ inviteCode?: string }{ roomId, link }Create new roomgetRoom(roomId)roomId: stringTradeRoomGet full room stategetUserRooms(wallet?)wallet?: stringTradeRoom[]List your roomsjoinRoom(roomId, inviteCode?)roomId, inviteCode?{ success }Join as Party BcancelRoom(roomId)roomId: string{ success }Cancel & refundgetRoomLink(roomId)roomId: stringstringGet share URL"
      },
      {
        "title": "Trading",
        "body": "MethodParametersReturnsDescriptionupdateOffer(roomId, tokens)roomId, [{mint, amount, decimals}]{ success }Set your offerwithdrawFromOffer(roomId, tokens)roomId, tokens[]{ success }Pull back tokensconfirmTrade(roomId, stage)roomId, 'first'│'second'{ success }Confirm stageexecuteSwap(roomId)roomId: string{ txSignature }Execute swapdeclineOffer(roomId)roomId: string{ success }Reject terms"
      },
      {
        "title": "Lockups (Anti-Dump)",
        "body": "MethodParametersReturnsDescriptionproposeLockup(roomId, seconds)roomId, seconds{ success }Propose lockacceptLockup(roomId)roomId: string{ success }Accept lockgetLockupStatus(roomId)roomId: string{ canClaim, timeRemaining }Check timerclaimLockedTokens(roomId)roomId: string{ txSignature }Claim after expiry"
      },
      {
        "title": "Utility",
        "body": "MethodParametersReturnsDescriptiongetBalance()none{ sol: number }Check SOL balanceisAutonomous()nonebooleanHas signing wallet?getWebSocketUrl()nonestringGet WS endpoint"
      },
      {
        "title": "WebSocket Real-Time Updates",
        "body": "Don't poll. Subscribe.\n\nInstead of repeatedly calling getRoom(), connect to WebSocket for instant updates:\n\nEndpoint: wss://poseidon.cash/ws/trade-room"
      },
      {
        "title": "Subscribe to Room Events",
        "body": "const { unsubscribe } = await client.subscribeToRoom(roomId, (event) => {\n  switch (event.type) {\n    case 'join':\n      console.log('Counterparty joined!');\n      break;\n    case 'offer':\n      console.log('Offer updated:', event.data.tokens);\n      break;\n    case 'confirm':\n      console.log('Confirmation received');\n      break;\n    case 'execute':\n      console.log('Swap complete! TX:', event.data.txSignature);\n      break;\n    case 'cancel':\n      console.log('Trade cancelled');\n      break;\n  }\n});"
      },
      {
        "title": "Event Types",
        "body": "EventWhen It Firesfull-stateImmediately on subscribe - complete room statejoinCounterparty joined the roomofferSomeone updated their offerconfirmSomeone confirmed (first or second)lockupLockup proposed or acceptedexecuteSwap executed successfullycancelRoom was cancelledterminatedRoom expired or terminatederrorSomething went wrong"
      },
      {
        "title": "WebSocket Actions (Faster than HTTP)",
        "body": "await client.sendOfferViaWs(roomId, tokens);      // Update offer\nawait client.sendConfirmViaWs(roomId, 'first');   // Confirm\nawait client.sendLockupProposalViaWs(roomId, 3600); // Propose 1hr lock\nawait client.sendAcceptLockupViaWs(roomId);       // Accept lock\nawait client.sendExecuteViaWs(roomId);            // Execute swap"
      },
      {
        "title": "Agent-to-Agent Trading Example",
        "body": "Scenario: Agent A wants to sell 1000 USDC for 5 SOL to Agent B"
      },
      {
        "title": "Agent A (Seller):",
        "body": "// 1. Create room\nconst { roomId } = await client.createRoom();\n\n// 2. Set offer (1000 USDC)\nawait client.updateOffer(roomId, [{\n  mint: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',\n  amount: 1000000000,  // 1000 USDC\n  decimals: 6\n}]);\n\n// 3. Share roomId with Agent B via your inter-agent protocol\n// 4. Subscribe to updates\nawait client.subscribeToRoom(roomId, async (event) => {\n  if (event.type === 'offer') {\n    // Check if Agent B's offer is acceptable (5 SOL)\n    const room = await client.getRoom(roomId);\n    if (room.partyBTokenSlots?.[0]?.amount >= 5 * 1e9) {\n      await client.confirmTrade(roomId, 'first');\n    }\n  }\n  if (event.type === 'confirm' && room.partyBFirstConfirm) {\n    await client.confirmTrade(roomId, 'second');\n  }\n});"
      },
      {
        "title": "Agent B (Buyer):",
        "body": "// 1. Join the room\nawait client.joinRoom(roomId);\n\n// 2. Set offer (5 SOL)\nawait client.updateOffer(roomId, [{\n  mint: 'So11111111111111111111111111111111111111112',  // wSOL\n  amount: 5000000000,  // 5 SOL\n  decimals: 9\n}]);\n\n// 3. Subscribe and react\nawait client.subscribeToRoom(roomId, async (event) => {\n  if (event.type === 'confirm') {\n    const room = await client.getRoom(roomId);\n    if (room.partyAFirstConfirm && !room.partyBFirstConfirm) {\n      await client.confirmTrade(roomId, 'first');\n    }\n    if (room.partyASecondConfirm && room.partyBSecondConfirm) {\n      // Both confirmed, execute!\n      await client.executeSwap(roomId);\n    }\n  }\n});"
      },
      {
        "title": "Common Token Mints",
        "body": "TokenMint AddressDecimalsUSDCEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v6USDTEs9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB6wSOLSo111111111111111111111111111111111111111129BONKDezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB2635"
      },
      {
        "title": "Environment Variables",
        "body": "POSEIDON_BURNER_KEY=<base58-private-key>  # Required for autonomous mode\nPOSEIDON_API_URL=https://poseidon.cash    # API endpoint (default: mainnet)\nPOSEIDON_RPC_URL=https://api.mainnet-beta.solana.com  # Solana RPC"
      },
      {
        "title": "Security Notes",
        "body": "Escrow is on-chain - Funds are held by the Solana program, not the API\nAtomic swaps - Either both sides complete or neither does\nSignatures expire - Auth signatures valid for 24 hours\nLockups are enforced on-chain - Can't bypass the timer\nHot wallet warning - Only fund your burner wallet with amounts you're comfortable risking"
      },
      {
        "title": "Program ID",
        "body": "Mainnet: AfiRReYhvykHhKXhwjhcsXFejHdxqYLk2QLWnjvvLKUN"
      },
      {
        "title": "Links",
        "body": "Website: https://poseidon.cash\nDocs: https://docs.poseidon.cash"
      }
    ],
    "body": "Poseidon OTC Skill\n\nTL;DR for Agents: This skill lets you trade tokens with humans or other agents on Solana. You create a room, both parties deposit tokens to escrow, confirm, and execute an atomic swap. No trust required - it's all on-chain.\n\nWhen to Use This Skill\nTrading tokens P2P - Swap any SPL token directly with another party\nAgent-to-agent commerce - Two AI agents can negotiate and execute trades autonomously\nLarge OTC deals - Avoid slippage from DEX trades by going direct\nProtected trades - Use lockups to prevent counterparty from dumping immediately\nMulti-token swaps - Trade up to 4 tokens per side in one atomic transaction\nQuick Start for Agents\n1. Initialize (requires wallet)\nimport { PoseidonOTC } from 'poseidon-otc-skill';\n\nconst client = new PoseidonOTC({\n  burnerKey: process.env.POSEIDON_BURNER_KEY  // base58 private key\n});\n\n2. Create a Trade Room\nconst { roomId, link } = await client.createRoom();\n// Share `link` with counterparty or another agent\n\n3. Wait for Counterparty & Set Offer\n// Check room status\nconst room = await client.getRoom(roomId);\n\n// Set what you're offering (100 USDC example)\nawait client.updateOffer(roomId, [{\n  mint: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',  // USDC mint\n  amount: 100000000,  // 100 USDC (6 decimals)\n  decimals: 6\n}]);\n\n4. Confirm & Execute\n// First confirmation = \"I agree to these terms\"\nawait client.confirmTrade(roomId, 'first');\n\n// After deposits, second confirmation\nawait client.confirmTrade(roomId, 'second');\n\n// Execute the atomic swap\nconst { txSignature } = await client.executeSwap(roomId);\n\nComplete Trade Flow\n┌─────────────────────────────────────────────────────────────────┐\n│                        TRADE LIFECYCLE                          │\n├─────────────────────────────────────────────────────────────────┤\n│                                                                 │\n│  1. CREATE ROOM                                                 │\n│     └─> Party A calls createRoom()                              │\n│         Returns: roomId, shareable link                         │\n│                                                                 │\n│  2. JOIN ROOM                                                   │\n│     └─> Party B calls joinRoom(roomId)                          │\n│         Room now has both participants                          │\n│                                                                 │\n│  3. SET OFFERS                                                  │\n│     └─> Both parties call updateOffer(roomId, tokens)           │\n│         Each specifies what they're putting up                  │\n│                                                                 │\n│  4. FIRST CONFIRM (agree on terms)                              │\n│     └─> Both call confirmTrade(roomId, 'first')                 │\n│         \"I agree to swap my X for your Y\"                       │\n│                                                                 │\n│  5. DEPOSIT TO ESCROW                                           │\n│     └─> Tokens move to on-chain escrow                          │\n│         (Handled by frontend or depositToEscrow)                │\n│                                                                 │\n│  6. SECOND CONFIRM (verify deposits)                            │\n│     └─> Both call confirmTrade(roomId, 'second')                │\n│         \"I see the deposits, ready to swap\"                     │\n│                                                                 │\n│  7. EXECUTE SWAP                                                │\n│     └─> Either party calls executeSwap(roomId)                  │\n│         Atomic on-chain swap via relayer                        │\n│         Returns: txSignature                                    │\n│                                                                 │\n│  [OPTIONAL] LOCKUP FLOW                                         │\n│     └─> Before step 4, Party A can proposeLockup(roomId, secs)  │\n│     └─> Party B must acceptLockup(roomId) to continue           │\n│     └─> After execute, locked tokens claimed via claimLockedTokens │\n│                                                                 │\n└─────────────────────────────────────────────────────────────────┘\n\nAPI Reference\nRoom Management\nMethod\tParameters\tReturns\tDescription\ncreateRoom(options?)\t{ inviteCode?: string }\t{ roomId, link }\tCreate new room\ngetRoom(roomId)\troomId: string\tTradeRoom\tGet full room state\ngetUserRooms(wallet?)\twallet?: string\tTradeRoom[]\tList your rooms\njoinRoom(roomId, inviteCode?)\troomId, inviteCode?\t{ success }\tJoin as Party B\ncancelRoom(roomId)\troomId: string\t{ success }\tCancel & refund\ngetRoomLink(roomId)\troomId: string\tstring\tGet share URL\nTrading\nMethod\tParameters\tReturns\tDescription\nupdateOffer(roomId, tokens)\troomId, [{mint, amount, decimals}]\t{ success }\tSet your offer\nwithdrawFromOffer(roomId, tokens)\troomId, tokens[]\t{ success }\tPull back tokens\nconfirmTrade(roomId, stage)\troomId, 'first'│'second'\t{ success }\tConfirm stage\nexecuteSwap(roomId)\troomId: string\t{ txSignature }\tExecute swap\ndeclineOffer(roomId)\troomId: string\t{ success }\tReject terms\nLockups (Anti-Dump)\nMethod\tParameters\tReturns\tDescription\nproposeLockup(roomId, seconds)\troomId, seconds\t{ success }\tPropose lock\nacceptLockup(roomId)\troomId: string\t{ success }\tAccept lock\ngetLockupStatus(roomId)\troomId: string\t{ canClaim, timeRemaining }\tCheck timer\nclaimLockedTokens(roomId)\troomId: string\t{ txSignature }\tClaim after expiry\nUtility\nMethod\tParameters\tReturns\tDescription\ngetBalance()\tnone\t{ sol: number }\tCheck SOL balance\nisAutonomous()\tnone\tboolean\tHas signing wallet?\ngetWebSocketUrl()\tnone\tstring\tGet WS endpoint\nWebSocket Real-Time Updates\n\nDon't poll. Subscribe.\n\nInstead of repeatedly calling getRoom(), connect to WebSocket for instant updates:\n\nEndpoint: wss://poseidon.cash/ws/trade-room\n\nSubscribe to Room Events\nconst { unsubscribe } = await client.subscribeToRoom(roomId, (event) => {\n  switch (event.type) {\n    case 'join':\n      console.log('Counterparty joined!');\n      break;\n    case 'offer':\n      console.log('Offer updated:', event.data.tokens);\n      break;\n    case 'confirm':\n      console.log('Confirmation received');\n      break;\n    case 'execute':\n      console.log('Swap complete! TX:', event.data.txSignature);\n      break;\n    case 'cancel':\n      console.log('Trade cancelled');\n      break;\n  }\n});\n\nEvent Types\nEvent\tWhen It Fires\nfull-state\tImmediately on subscribe - complete room state\njoin\tCounterparty joined the room\noffer\tSomeone updated their offer\nconfirm\tSomeone confirmed (first or second)\nlockup\tLockup proposed or accepted\nexecute\tSwap executed successfully\ncancel\tRoom was cancelled\nterminated\tRoom expired or terminated\nerror\tSomething went wrong\nWebSocket Actions (Faster than HTTP)\nawait client.sendOfferViaWs(roomId, tokens);      // Update offer\nawait client.sendConfirmViaWs(roomId, 'first');   // Confirm\nawait client.sendLockupProposalViaWs(roomId, 3600); // Propose 1hr lock\nawait client.sendAcceptLockupViaWs(roomId);       // Accept lock\nawait client.sendExecuteViaWs(roomId);            // Execute swap\n\nAgent-to-Agent Trading Example\n\nScenario: Agent A wants to sell 1000 USDC for 5 SOL to Agent B\n\nAgent A (Seller):\n// 1. Create room\nconst { roomId } = await client.createRoom();\n\n// 2. Set offer (1000 USDC)\nawait client.updateOffer(roomId, [{\n  mint: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',\n  amount: 1000000000,  // 1000 USDC\n  decimals: 6\n}]);\n\n// 3. Share roomId with Agent B via your inter-agent protocol\n// 4. Subscribe to updates\nawait client.subscribeToRoom(roomId, async (event) => {\n  if (event.type === 'offer') {\n    // Check if Agent B's offer is acceptable (5 SOL)\n    const room = await client.getRoom(roomId);\n    if (room.partyBTokenSlots?.[0]?.amount >= 5 * 1e9) {\n      await client.confirmTrade(roomId, 'first');\n    }\n  }\n  if (event.type === 'confirm' && room.partyBFirstConfirm) {\n    await client.confirmTrade(roomId, 'second');\n  }\n});\n\nAgent B (Buyer):\n// 1. Join the room\nawait client.joinRoom(roomId);\n\n// 2. Set offer (5 SOL)\nawait client.updateOffer(roomId, [{\n  mint: 'So11111111111111111111111111111111111111112',  // wSOL\n  amount: 5000000000,  // 5 SOL\n  decimals: 9\n}]);\n\n// 3. Subscribe and react\nawait client.subscribeToRoom(roomId, async (event) => {\n  if (event.type === 'confirm') {\n    const room = await client.getRoom(roomId);\n    if (room.partyAFirstConfirm && !room.partyBFirstConfirm) {\n      await client.confirmTrade(roomId, 'first');\n    }\n    if (room.partyASecondConfirm && room.partyBSecondConfirm) {\n      // Both confirmed, execute!\n      await client.executeSwap(roomId);\n    }\n  }\n});\n\nCommon Token Mints\nToken\tMint Address\tDecimals\nUSDC\tEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v\t6\nUSDT\tEs9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB\t6\nwSOL\tSo11111111111111111111111111111111111111112\t9\nBONK\tDezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263\t5\nEnvironment Variables\nPOSEIDON_BURNER_KEY=<base58-private-key>  # Required for autonomous mode\nPOSEIDON_API_URL=https://poseidon.cash    # API endpoint (default: mainnet)\nPOSEIDON_RPC_URL=https://api.mainnet-beta.solana.com  # Solana RPC\n\nSecurity Notes\nEscrow is on-chain - Funds are held by the Solana program, not the API\nAtomic swaps - Either both sides complete or neither does\nSignatures expire - Auth signatures valid for 24 hours\nLockups are enforced on-chain - Can't bypass the timer\nHot wallet warning - Only fund your burner wallet with amounts you're comfortable risking\nProgram ID\n\nMainnet: AfiRReYhvykHhKXhwjhcsXFejHdxqYLk2QLWnjvvLKUN\n\nLinks\nWebsite: https://poseidon.cash\nDocs: https://docs.poseidon.cash"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Romovow/poseidon-otc",
    "publisherUrl": "https://clawhub.ai/Romovow/poseidon-otc",
    "owner": "Romovow",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/poseidon-otc",
    "downloadUrl": "https://openagent3.xyz/downloads/poseidon-otc",
    "agentUrl": "https://openagent3.xyz/skills/poseidon-otc/agent",
    "manifestUrl": "https://openagent3.xyz/skills/poseidon-otc/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/poseidon-otc/agent.md"
  }
}