{
  "schemaVersion": "1.0",
  "item": {
    "slug": "bitcoin-arkade",
    "name": "Build apps with Bitcoin and Stablecoins on Arkade",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/tiero/bitcoin-arkade",
    "canonicalUrl": "https://clawhub.ai/tiero/bitcoin-arkade",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/bitcoin-arkade",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=bitcoin-arkade",
    "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/bitcoin-arkade"
    },
    "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/bitcoin-arkade",
    "agentPageUrl": "https://openagent3.xyz/skills/bitcoin-arkade/agent",
    "manifestUrl": "https://openagent3.xyz/skills/bitcoin-arkade/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/bitcoin-arkade/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": "Arkade SDK Development Guide",
        "body": "Arkade is a programmable Bitcoin execution layer. It uses VTXOs (Virtual Transaction Outputs) to enable instant offchain Bitcoin transactions with near-zero fees, while users retain full self-custody and unilateral exit rights. No changes to Bitcoin are required."
      },
      {
        "title": "SDK Installation & Setup",
        "body": "npm install @arkade-os/sdk\n\nRequires Node.js >= 22.\n\nimport { SingleKey, Wallet } from \"@arkade-os/sdk\";\n\n// Create an identity (private key)\nconst identity = SingleKey.fromHex(\"your-private-key-hex\");\n// Or generate a new one:\n// const identity = SingleKey.fromRandomBytes();\n\nconst wallet = await Wallet.create({\n  identity,\n  arkServerUrl: \"https://arkade.computer\",\n});\n\nconst address = await wallet.getAddress();\nconsole.log(\"Ark Address:\", address);\n\nFor production, always use a secure key management solution rather than hardcoded keys."
      },
      {
        "title": "Addresses",
        "body": "// Offchain Ark address (ark1.../tark1...) — for instant payments\nconst arkAddress = await wallet.getAddress();\n\n// Boarding address — for receiving onchain BTC to be onboarded later\nconst boardingAddress = await wallet.getBoardingAddress();"
      },
      {
        "title": "Balances",
        "body": "const balance = await wallet.getBalance();\n\nconsole.log(\"Available:\", balance.available, \"sats\"); // spendable now\nconsole.log(\"Total:\", balance.total, \"sats\"); // includes recoverable\nconsole.log(\"Settled:\", balance.settled, \"sats\"); // Bitcoin-anchored\nconsole.log(\"Preconfirmed:\", balance.preconfirmed, \"sats\"); // cosigned\n\n// Pending onchain deposits\nconsole.log(\"Boarding:\", balance.boarding.total, \"sats\");"
      },
      {
        "title": "Sending Payments",
        "body": "// Send to an Ark address — instant, near-zero fees\nconst txid = await wallet.sendBitcoin({\n  address: \"ark1...\",\n  amount: 50000, // satoshis\n});\n\nFor onchain destinations (bc1.../tb1...), use the Ramps offboard flow below. For Lightning invoices, use @arkade-os/boltz-swap."
      },
      {
        "title": "Receiving Payments",
        "body": "const address = await wallet.getAddress();\n// Share this address with the sender\n\n// Monitor for incoming funds\nconst stop = wallet.notifyIncomingFunds(async (notification) => {\n  if (notification.type === \"vtxo\") {\n    for (const vtxo of notification.vtxos) {\n      console.log(`Received ${vtxo.amount} sats`);\n    }\n  }\n});\n\n// Call stop() when done listening"
      },
      {
        "title": "VTXOs",
        "body": "const vtxos = await wallet.getVtxos();\nfor (const vtxo of vtxos) {\n  console.log(vtxo.txid, vtxo.amount, vtxo.status);\n}"
      },
      {
        "title": "Onchain Ramps (Onboard / Offboard)",
        "body": "Convert between onchain Bitcoin UTXOs and offchain Arkade VTXOs. Best for large transfers; for everyday amounts, Lightning swaps have lower overhead.\n\nimport { Ramps } from \"@arkade-os/sdk\";\n\nconst ramps = new Ramps(wallet);\n\n// Get fee info from the Ark server\nconst info = await wallet.arkProvider.getInfo();\n\n// Onboard: convert boarding UTXOs to VTXOs\nconst commitmentTxid = await ramps.onboard(info.fees);\n\n// Offboard: convert VTXOs to onchain BTC\nconst exitTxid = await ramps.offboard(\n  \"bc1q...\", // destination onchain address\n  info.fees,\n  // amount, // optional — defaults to all available\n);"
      },
      {
        "title": "Lightning Network",
        "body": "npm install @arkade-os/boltz-swap\n\nLightning integration uses Boltz submarine swaps to bridge between Arkade and the Lightning Network.\n\nimport { ArkadeLightning, BoltzSwapProvider } from \"@arkade-os/boltz-swap\";\n\nconst swapProvider = new BoltzSwapProvider({\n  apiUrl: \"https://api.ark.boltz.exchange\",\n  network: \"bitcoin\",\n});\n\nconst lightning = new ArkadeLightning({\n  wallet,\n  swapProvider,\n});\n\n// Receive via Lightning (reverse swap)\nconst { invoice, paymentHash } = await lightning.createLightningInvoice({\n  amount: 25000,\n});\nconsole.log(\"Pay this:\", invoice);\n\n// Send via Lightning (submarine swap)\nconst result = await lightning.sendLightningPayment({\n  invoice: \"lnbc...\",\n});\nconsole.log(\"Preimage:\", result.preimage);"
      },
      {
        "title": "Boltz API Endpoints",
        "body": "NetworkURLBitcoin mainnethttps://api.ark.boltz.exchangeMutinynethttps://api.boltz.mutinynet.arkade.shRegtest (local)http://localhost:9069"
      },
      {
        "title": "Skill Classes (this package)",
        "body": "This package (@arkade-os/skill) provides higher-level wrapper classes over the SDK:\n\nnpm install @arkade-os/skill\n\nimport { Wallet, SingleKey } from \"@arkade-os/sdk\";\nimport {\n  ArkadeBitcoinSkill,\n  ArkaLightningSkill,\n  LendaSwapSkill,\n} from \"@arkade-os/skill\";\n\nconst wallet = await Wallet.create({\n  identity: SingleKey.fromHex(privateKeyHex),\n  arkServerUrl: \"https://arkade.computer\",\n});\n\n// Bitcoin: addresses, balances, send/receive, onboard/offboard\nconst bitcoin = new ArkadeBitcoinSkill(wallet);\nconst balance = await bitcoin.getBalance();\nawait bitcoin.send({ address: \"ark1...\", amount: 50000 });\n\n// Lightning: invoices, payments via Boltz\nconst lightning = new ArkaLightningSkill({ wallet, network: \"bitcoin\" });\nconst inv = await lightning.createInvoice({ amount: 25000 });\n\n// Stablecoin swaps: BTC <-> USDC/USDT\nconst lendaswap = new LendaSwapSkill({ wallet });\nconst quote = await lendaswap.getQuoteBtcToStablecoin(100000, \"usdc_pol\");"
      },
      {
        "title": "ArkadeBitcoinSkill",
        "body": "getArkAddress() / getBoardingAddress() — get addresses\ngetBalance() — balance breakdown (offchain + onchain)\nsend({ address, amount }) — send sats offchain\ngetTransactionHistory() — transaction list\nonboard(params) / offboard(params) — onchain ramps\nwaitForIncomingFunds(timeout?) — wait for incoming payment"
      },
      {
        "title": "ArkaLightningSkill",
        "body": "createInvoice({ amount, description? }) — Lightning invoice (reverse swap)\npayInvoice({ bolt11 }) — pay Lightning invoice (submarine swap)\ngetFees() / getLimits() — swap fees and limits\ngetPendingSwaps() / getSwapHistory() — swap tracking"
      },
      {
        "title": "LendaSwapSkill",
        "body": "getQuoteBtcToStablecoin(amount, token) / getQuoteStablecoinToBtc(amount, token)\nswapBtcToStablecoin(params) / swapStablecoinToBtc(params)\ngetSwapStatus(swapId) / getPendingSwaps() / getSwapHistory()\nclaimSwap(swapId) / refundSwap(swapId)\ngetAvailablePairs()"
      },
      {
        "title": "Stablecoin Swaps (LendaSwap)",
        "body": "Non-custodial BTC/stablecoin atomic swaps via HTLCs.\n\nSupported tokens: usdc_pol, usdc_eth, usdc_arb, usdt0_pol, usdt_eth, usdt_arb\n\nSupported chains: polygon, ethereum, arbitrum\n\nconst lendaswap = new LendaSwapSkill({ wallet });\n\n// Get quote\nconst quote = await lendaswap.getQuoteBtcToStablecoin(100000, \"usdc_pol\");\nconsole.log(\"You'll receive:\", quote.targetAmount, \"USDC\");\n\n// Execute swap (BTC -> USDC)\nconst swap = await lendaswap.swapBtcToStablecoin({\n  targetAddress: \"0x...\", // EVM address\n  targetToken: \"usdc_pol\",\n  targetChain: \"polygon\",\n  sourceAmount: 100000,\n});\nconsole.log(\"Swap ID:\", swap.swapId);\n\n// Check status\nconst status = await lendaswap.getSwapStatus(swap.swapId);\n\n// Claim completed swap\nconst claim = await lendaswap.claimSwap(swap.swapId);"
      },
      {
        "title": "Smart Contracts",
        "body": "Arkade supports any valid Tapscript as VTXO locking conditions, enabling programmable offchain Bitcoin.\n\nnpm install @arkade-os/sdk @scure/base\n\nimport {\n  RestArkProvider,\n  RestIndexerProvider,\n  SingleKey,\n  VtxoScript,\n  MultisigTapscript,\n  CSVMultisigTapscript,\n} from \"@arkade-os/sdk\";\nimport { hex } from \"@scure/base\";\n\nconst arkProvider = new RestArkProvider(\"https://mutinynet.arkade.sh\");\nconst indexerProvider = new RestIndexerProvider(\"https://mutinynet.arkade.sh\");\nconst info = await arkProvider.getInfo();\nconst serverPubkey = hex.decode(info.signerPubkey).slice(1);\n\nAvailable contract primitives:\n\nMultisigTapscript — N-of-N multisig\nCLTVMultisigTapscript — Multisig with absolute timelocks\nCSVMultisigTapscript — Multisig with relative timelocks\nVtxoScript — Combine spending paths into Taproot trees\n\nContract patterns in docs: HTLC/Hashlock, Escrow (3-path), Spilman channels, Dryja-Poon channels, Lightning channels, chain swaps, Oracle DLC.\n\nUse @scure/base for encoding, NOT bitcoinjs-lib.\n\nSee: https://docs.arkadeos.com/contracts/overview"
      },
      {
        "title": "Networks & Resources",
        "body": "NetworkServer URLExplorerBitcoin mainnethttps://arkade.computerhttps://arkade.spaceMutinynet (testnet)https://mutinynet.arkade.shhttps://explorer.mutinynet.arkade.shSignethttps://signet.arkade.shhttps://explorer.signet.arkade.shRegtest (local)http://localhost:7070—\n\nLocal development:\n\nnigiri start --ark\n\nThis starts a Bitcoin regtest node with an Arkade operator at http://localhost:7070."
      },
      {
        "title": "Key Concepts",
        "body": "VTXOs: Virtual Transaction Outputs — self-custodial offchain Bitcoin coins. States: preconfirmed, settled, recoverable, spent.\nBatch Swaps: How VTXOs achieve Bitcoin finality — multiple transactions batched into a single onchain settlement.\nPreconfirmation: Instant confirmation cosigned by the operator, before onchain settlement.\nVirtual Mempool: DAG-based offchain execution engine that processes Arkade transactions.\nUnilateral Exit: Users can always withdraw their funds onchain without operator cooperation.\nArk Addresses: ark1... (mainnet) / tark1... (testnet) — bech32m-encoded addresses containing server + user keys."
      },
      {
        "title": "Documentation",
        "body": "Full docs: https://docs.arkadeos.com\nTechnical primer: https://docs.arkadeos.com/primer\nWallet SDK v0.3: https://docs.arkadeos.com/wallets/v0.3/setup\nSmart contracts: https://docs.arkadeos.com/contracts/overview\nLightning swaps: https://docs.arkadeos.com/contracts/lightning-swaps\nLLM-friendly index: https://docs.arkadeos.com/llms.txt\nGitHub: https://github.com/arkade-os/skill"
      }
    ],
    "body": "Arkade SDK Development Guide\n\nArkade is a programmable Bitcoin execution layer. It uses VTXOs (Virtual Transaction Outputs) to enable instant offchain Bitcoin transactions with near-zero fees, while users retain full self-custody and unilateral exit rights. No changes to Bitcoin are required.\n\nSDK Installation & Setup\nnpm install @arkade-os/sdk\n\n\nRequires Node.js >= 22.\n\nimport { SingleKey, Wallet } from \"@arkade-os/sdk\";\n\n// Create an identity (private key)\nconst identity = SingleKey.fromHex(\"your-private-key-hex\");\n// Or generate a new one:\n// const identity = SingleKey.fromRandomBytes();\n\nconst wallet = await Wallet.create({\n  identity,\n  arkServerUrl: \"https://arkade.computer\",\n});\n\nconst address = await wallet.getAddress();\nconsole.log(\"Ark Address:\", address);\n\n\nFor production, always use a secure key management solution rather than hardcoded keys.\n\nCore Wallet Operations\nAddresses\n// Offchain Ark address (ark1.../tark1...) — for instant payments\nconst arkAddress = await wallet.getAddress();\n\n// Boarding address — for receiving onchain BTC to be onboarded later\nconst boardingAddress = await wallet.getBoardingAddress();\n\nBalances\nconst balance = await wallet.getBalance();\n\nconsole.log(\"Available:\", balance.available, \"sats\"); // spendable now\nconsole.log(\"Total:\", balance.total, \"sats\"); // includes recoverable\nconsole.log(\"Settled:\", balance.settled, \"sats\"); // Bitcoin-anchored\nconsole.log(\"Preconfirmed:\", balance.preconfirmed, \"sats\"); // cosigned\n\n// Pending onchain deposits\nconsole.log(\"Boarding:\", balance.boarding.total, \"sats\");\n\nSending Payments\n// Send to an Ark address — instant, near-zero fees\nconst txid = await wallet.sendBitcoin({\n  address: \"ark1...\",\n  amount: 50000, // satoshis\n});\n\n\nFor onchain destinations (bc1.../tb1...), use the Ramps offboard flow below. For Lightning invoices, use @arkade-os/boltz-swap.\n\nReceiving Payments\nconst address = await wallet.getAddress();\n// Share this address with the sender\n\n// Monitor for incoming funds\nconst stop = wallet.notifyIncomingFunds(async (notification) => {\n  if (notification.type === \"vtxo\") {\n    for (const vtxo of notification.vtxos) {\n      console.log(`Received ${vtxo.amount} sats`);\n    }\n  }\n});\n\n// Call stop() when done listening\n\nVTXOs\nconst vtxos = await wallet.getVtxos();\nfor (const vtxo of vtxos) {\n  console.log(vtxo.txid, vtxo.amount, vtxo.status);\n}\n\nOnchain Ramps (Onboard / Offboard)\n\nConvert between onchain Bitcoin UTXOs and offchain Arkade VTXOs. Best for large transfers; for everyday amounts, Lightning swaps have lower overhead.\n\nimport { Ramps } from \"@arkade-os/sdk\";\n\nconst ramps = new Ramps(wallet);\n\n// Get fee info from the Ark server\nconst info = await wallet.arkProvider.getInfo();\n\n// Onboard: convert boarding UTXOs to VTXOs\nconst commitmentTxid = await ramps.onboard(info.fees);\n\n// Offboard: convert VTXOs to onchain BTC\nconst exitTxid = await ramps.offboard(\n  \"bc1q...\", // destination onchain address\n  info.fees,\n  // amount, // optional — defaults to all available\n);\n\nLightning Network\nnpm install @arkade-os/boltz-swap\n\n\nLightning integration uses Boltz submarine swaps to bridge between Arkade and the Lightning Network.\n\nimport { ArkadeLightning, BoltzSwapProvider } from \"@arkade-os/boltz-swap\";\n\nconst swapProvider = new BoltzSwapProvider({\n  apiUrl: \"https://api.ark.boltz.exchange\",\n  network: \"bitcoin\",\n});\n\nconst lightning = new ArkadeLightning({\n  wallet,\n  swapProvider,\n});\n\n// Receive via Lightning (reverse swap)\nconst { invoice, paymentHash } = await lightning.createLightningInvoice({\n  amount: 25000,\n});\nconsole.log(\"Pay this:\", invoice);\n\n// Send via Lightning (submarine swap)\nconst result = await lightning.sendLightningPayment({\n  invoice: \"lnbc...\",\n});\nconsole.log(\"Preimage:\", result.preimage);\n\nBoltz API Endpoints\nNetwork\tURL\nBitcoin mainnet\thttps://api.ark.boltz.exchange\nMutinynet\thttps://api.boltz.mutinynet.arkade.sh\nRegtest (local)\thttp://localhost:9069\nSkill Classes (this package)\n\nThis package (@arkade-os/skill) provides higher-level wrapper classes over the SDK:\n\nnpm install @arkade-os/skill\n\nimport { Wallet, SingleKey } from \"@arkade-os/sdk\";\nimport {\n  ArkadeBitcoinSkill,\n  ArkaLightningSkill,\n  LendaSwapSkill,\n} from \"@arkade-os/skill\";\n\nconst wallet = await Wallet.create({\n  identity: SingleKey.fromHex(privateKeyHex),\n  arkServerUrl: \"https://arkade.computer\",\n});\n\n// Bitcoin: addresses, balances, send/receive, onboard/offboard\nconst bitcoin = new ArkadeBitcoinSkill(wallet);\nconst balance = await bitcoin.getBalance();\nawait bitcoin.send({ address: \"ark1...\", amount: 50000 });\n\n// Lightning: invoices, payments via Boltz\nconst lightning = new ArkaLightningSkill({ wallet, network: \"bitcoin\" });\nconst inv = await lightning.createInvoice({ amount: 25000 });\n\n// Stablecoin swaps: BTC <-> USDC/USDT\nconst lendaswap = new LendaSwapSkill({ wallet });\nconst quote = await lendaswap.getQuoteBtcToStablecoin(100000, \"usdc_pol\");\n\nArkadeBitcoinSkill\ngetArkAddress() / getBoardingAddress() — get addresses\ngetBalance() — balance breakdown (offchain + onchain)\nsend({ address, amount }) — send sats offchain\ngetTransactionHistory() — transaction list\nonboard(params) / offboard(params) — onchain ramps\nwaitForIncomingFunds(timeout?) — wait for incoming payment\nArkaLightningSkill\ncreateInvoice({ amount, description? }) — Lightning invoice (reverse swap)\npayInvoice({ bolt11 }) — pay Lightning invoice (submarine swap)\ngetFees() / getLimits() — swap fees and limits\ngetPendingSwaps() / getSwapHistory() — swap tracking\nLendaSwapSkill\ngetQuoteBtcToStablecoin(amount, token) / getQuoteStablecoinToBtc(amount, token)\nswapBtcToStablecoin(params) / swapStablecoinToBtc(params)\ngetSwapStatus(swapId) / getPendingSwaps() / getSwapHistory()\nclaimSwap(swapId) / refundSwap(swapId)\ngetAvailablePairs()\nStablecoin Swaps (LendaSwap)\n\nNon-custodial BTC/stablecoin atomic swaps via HTLCs.\n\nSupported tokens: usdc_pol, usdc_eth, usdc_arb, usdt0_pol, usdt_eth, usdt_arb\n\nSupported chains: polygon, ethereum, arbitrum\n\nconst lendaswap = new LendaSwapSkill({ wallet });\n\n// Get quote\nconst quote = await lendaswap.getQuoteBtcToStablecoin(100000, \"usdc_pol\");\nconsole.log(\"You'll receive:\", quote.targetAmount, \"USDC\");\n\n// Execute swap (BTC -> USDC)\nconst swap = await lendaswap.swapBtcToStablecoin({\n  targetAddress: \"0x...\", // EVM address\n  targetToken: \"usdc_pol\",\n  targetChain: \"polygon\",\n  sourceAmount: 100000,\n});\nconsole.log(\"Swap ID:\", swap.swapId);\n\n// Check status\nconst status = await lendaswap.getSwapStatus(swap.swapId);\n\n// Claim completed swap\nconst claim = await lendaswap.claimSwap(swap.swapId);\n\nSmart Contracts\n\nArkade supports any valid Tapscript as VTXO locking conditions, enabling programmable offchain Bitcoin.\n\nnpm install @arkade-os/sdk @scure/base\n\nimport {\n  RestArkProvider,\n  RestIndexerProvider,\n  SingleKey,\n  VtxoScript,\n  MultisigTapscript,\n  CSVMultisigTapscript,\n} from \"@arkade-os/sdk\";\nimport { hex } from \"@scure/base\";\n\nconst arkProvider = new RestArkProvider(\"https://mutinynet.arkade.sh\");\nconst indexerProvider = new RestIndexerProvider(\"https://mutinynet.arkade.sh\");\nconst info = await arkProvider.getInfo();\nconst serverPubkey = hex.decode(info.signerPubkey).slice(1);\n\n\nAvailable contract primitives:\n\nMultisigTapscript — N-of-N multisig\nCLTVMultisigTapscript — Multisig with absolute timelocks\nCSVMultisigTapscript — Multisig with relative timelocks\nVtxoScript — Combine spending paths into Taproot trees\n\nContract patterns in docs: HTLC/Hashlock, Escrow (3-path), Spilman channels, Dryja-Poon channels, Lightning channels, chain swaps, Oracle DLC.\n\nUse @scure/base for encoding, NOT bitcoinjs-lib.\n\nSee: https://docs.arkadeos.com/contracts/overview\n\nNetworks & Resources\nNetwork\tServer URL\tExplorer\nBitcoin mainnet\thttps://arkade.computer\thttps://arkade.space\nMutinynet (testnet)\thttps://mutinynet.arkade.sh\thttps://explorer.mutinynet.arkade.sh\nSignet\thttps://signet.arkade.sh\thttps://explorer.signet.arkade.sh\nRegtest (local)\thttp://localhost:7070\t—\n\nLocal development:\n\nnigiri start --ark\n\n\nThis starts a Bitcoin regtest node with an Arkade operator at http://localhost:7070.\n\nKey Concepts\nVTXOs: Virtual Transaction Outputs — self-custodial offchain Bitcoin coins. States: preconfirmed, settled, recoverable, spent.\nBatch Swaps: How VTXOs achieve Bitcoin finality — multiple transactions batched into a single onchain settlement.\nPreconfirmation: Instant confirmation cosigned by the operator, before onchain settlement.\nVirtual Mempool: DAG-based offchain execution engine that processes Arkade transactions.\nUnilateral Exit: Users can always withdraw their funds onchain without operator cooperation.\nArk Addresses: ark1... (mainnet) / tark1... (testnet) — bech32m-encoded addresses containing server + user keys.\nDocumentation\nFull docs: https://docs.arkadeos.com\nTechnical primer: https://docs.arkadeos.com/primer\nWallet SDK v0.3: https://docs.arkadeos.com/wallets/v0.3/setup\nSmart contracts: https://docs.arkadeos.com/contracts/overview\nLightning swaps: https://docs.arkadeos.com/contracts/lightning-swaps\nLLM-friendly index: https://docs.arkadeos.com/llms.txt\nGitHub: https://github.com/arkade-os/skill"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/tiero/bitcoin-arkade",
    "publisherUrl": "https://clawhub.ai/tiero/bitcoin-arkade",
    "owner": "tiero",
    "version": "0.2.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/bitcoin-arkade",
    "downloadUrl": "https://openagent3.xyz/downloads/bitcoin-arkade",
    "agentUrl": "https://openagent3.xyz/skills/bitcoin-arkade/agent",
    "manifestUrl": "https://openagent3.xyz/skills/bitcoin-arkade/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/bitcoin-arkade/agent.md"
  }
}