{
  "schemaVersion": "1.0",
  "item": {
    "slug": "solana-payments-wallet-dev",
    "name": "solana-payments-wallet-dev",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/tilo-14/solana-payments-wallet-dev",
    "canonicalUrl": "https://clawhub.ai/tilo-14/solana-payments-wallet-dev",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/solana-payments-wallet-dev",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=solana-payments-wallet-dev",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/payments.md",
      "references/sign-with-adapter.md",
      "references/nullifiers.md",
      "references/sign-with-privy.md",
      "references/wallets.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-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/solana-payments-wallet-dev"
    },
    "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/solana-payments-wallet-dev",
    "agentPageUrl": "https://openagent3.xyz/skills/solana-payments-wallet-dev/agent",
    "manifestUrl": "https://openagent3.xyz/skills/solana-payments-wallet-dev/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/solana-payments-wallet-dev/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": "Payments and wallets",
        "body": "Build payment flows and wallet integrations using light-token on Solana. The light-token API matches SPL-token and extends it to include the light token program.\n\nCreation costSPLlight-tokenToken Account~2,000,000 lamports~11,000 lamports"
      },
      {
        "title": "Workflow",
        "body": "Clarify intent\n\nRecommend plan mode, if it's not activated\nUse AskUserQuestion to resolve blind spots\nAll questions must be resolved before execution\n\n\nIdentify references and skills\n\nMatch task to domain references below\nLocate relevant documentation and examples\n\n\nWrite plan file (YAML task format)\n\nUse AskUserQuestion for anything unclear — never guess or assume\nIdentify blockers: permissions, dependencies, unknowns\nPlan must be complete before execution begins\n\n\nExecute\n\nUse Task tool with subagents for parallel research\nSubagents load skills via Skill tool\nTrack progress with TodoWrite\n\n\nWhen stuck: ask to spawn a read-only subagent with Read, Glob, Grep, and DeepWiki MCP access, loading skills/ask-mcp. Scope reads to skill references, example repos, and docs."
      },
      {
        "title": "API overview",
        "body": "OperationSPLlight-token (action / instruction)ReceivegetOrCreateAssociatedTokenAccount()loadAta() / createLoadAtaInstructions()TransfercreateTransferInstruction()transferInterface() / createTransferInterfaceInstructions()Get balancegetAccount()getAtaInterface()Tx historygetSignaturesForAddress()rpc.getSignaturesForOwnerInterface()Wrap from SPLN/Awrap() / createWrapInstruction()Unwrap to SPLN/Aunwrap() / createUnwrapInstructions()Register SPL mintN/AcreateSplInterface() / LightTokenProgram.createSplInterface()Create mintcreateMint()createMintInterface()\n\nPlural functions (createTransferInterfaceInstructions, createUnwrapInstructions) return TransactionInstruction[][] — each inner array is one transaction. They handle loading cold accounts automatically."
      },
      {
        "title": "Domain references",
        "body": "TaskReferenceBuild payment flows (receive, send, balance, history, wrap/unwrap)payments.mdBuild wallet UI (display tokens, transfer, wrap/unwrap)wallets.mdSign with Wallet Adapter or Mobile Wallet Adaptersign-with-adapter.mdSign with Privy (embedded wallet provider)sign-with-privy.mdPrevent duplicate actions (double-spend prevention)nullifiers.md"
      },
      {
        "title": "Setup",
        "body": "npm install @lightprotocol/compressed-token@beta @lightprotocol/stateless.js@beta @solana/web3.js @solana/spl-token\n\nimport { createRpc } from \"@lightprotocol/stateless.js\";\nimport {\n  createLoadAtaInstructions,\n  loadAta,\n  createTransferInterfaceInstructions,\n  transferInterface,\n  createUnwrapInstructions,\n  unwrap,\n  getAssociatedTokenAddressInterface,\n  getAtaInterface,\n  wrap,\n} from \"@lightprotocol/compressed-token/unified\";\n\nconst rpc = createRpc(RPC_ENDPOINT);"
      },
      {
        "title": "Resources",
        "body": "Payments docs\nWallets docs\nGitHub examples\nNullifier program"
      },
      {
        "title": "SDK references",
        "body": "PackageLink@lightprotocol/stateless.jsAPI docs@lightprotocol/compressed-tokenAPI docs@lightprotocol/nullifier-programnpm"
      },
      {
        "title": "Security",
        "body": "The Privy signing examples transmit secrets to an external API — review sign-with-privy.md before running.\n\nDeclared dependencies. HELIUS_RPC_URL is required for all examples. The Privy signing flow additionally requires PRIVY_APP_ID, PRIVY_APP_SECRET, TREASURY_WALLET_ID, and TREASURY_AUTHORIZATION_KEY — get these at privy.io. Load secrets from a secrets manager, not agent-global environment.\nPrivy signing flow. PRIVY_APP_SECRET and TREASURY_AUTHORIZATION_KEY are sent to Privy's signing API. Verify these only reach Privy's official endpoints. See sign-with-privy.md.\nSubagent scope. When stuck, the skill asks to spawn a read-only subagent with Read, Glob, Grep scoped to skill references, example repos, and docs.\nInstall source. npx skills add Lightprotocol/skills from Lightprotocol/skills.\nAudited protocol. Audit reports at github.com/Lightprotocol/light-protocol/tree/main/audits."
      }
    ],
    "body": "Payments and wallets\n\nBuild payment flows and wallet integrations using light-token on Solana. The light-token API matches SPL-token and extends it to include the light token program.\n\nCreation cost\tSPL\tlight-token\nToken Account\t~2,000,000 lamports\t~11,000 lamports\nWorkflow\nClarify intent\nRecommend plan mode, if it's not activated\nUse AskUserQuestion to resolve blind spots\nAll questions must be resolved before execution\nIdentify references and skills\nMatch task to domain references below\nLocate relevant documentation and examples\nWrite plan file (YAML task format)\nUse AskUserQuestion for anything unclear — never guess or assume\nIdentify blockers: permissions, dependencies, unknowns\nPlan must be complete before execution begins\nExecute\nUse Task tool with subagents for parallel research\nSubagents load skills via Skill tool\nTrack progress with TodoWrite\nWhen stuck: ask to spawn a read-only subagent with Read, Glob, Grep, and DeepWiki MCP access, loading skills/ask-mcp. Scope reads to skill references, example repos, and docs.\nAPI overview\nOperation\tSPL\tlight-token (action / instruction)\nReceive\tgetOrCreateAssociatedTokenAccount()\tloadAta() / createLoadAtaInstructions()\nTransfer\tcreateTransferInstruction()\ttransferInterface() / createTransferInterfaceInstructions()\nGet balance\tgetAccount()\tgetAtaInterface()\nTx history\tgetSignaturesForAddress()\trpc.getSignaturesForOwnerInterface()\nWrap from SPL\tN/A\twrap() / createWrapInstruction()\nUnwrap to SPL\tN/A\tunwrap() / createUnwrapInstructions()\nRegister SPL mint\tN/A\tcreateSplInterface() / LightTokenProgram.createSplInterface()\nCreate mint\tcreateMint()\tcreateMintInterface()\n\nPlural functions (createTransferInterfaceInstructions, createUnwrapInstructions) return TransactionInstruction[][] — each inner array is one transaction. They handle loading cold accounts automatically.\n\nDomain references\nTask\tReference\nBuild payment flows (receive, send, balance, history, wrap/unwrap)\tpayments.md\nBuild wallet UI (display tokens, transfer, wrap/unwrap)\twallets.md\nSign with Wallet Adapter or Mobile Wallet Adapter\tsign-with-adapter.md\nSign with Privy (embedded wallet provider)\tsign-with-privy.md\nPrevent duplicate actions (double-spend prevention)\tnullifiers.md\nSetup\nnpm install @lightprotocol/compressed-token@beta @lightprotocol/stateless.js@beta @solana/web3.js @solana/spl-token\n\nimport { createRpc } from \"@lightprotocol/stateless.js\";\nimport {\n  createLoadAtaInstructions,\n  loadAta,\n  createTransferInterfaceInstructions,\n  transferInterface,\n  createUnwrapInstructions,\n  unwrap,\n  getAssociatedTokenAddressInterface,\n  getAtaInterface,\n  wrap,\n} from \"@lightprotocol/compressed-token/unified\";\n\nconst rpc = createRpc(RPC_ENDPOINT);\n\nResources\nPayments docs\nWallets docs\nGitHub examples\nNullifier program\nSDK references\nPackage\tLink\n@lightprotocol/stateless.js\tAPI docs\n@lightprotocol/compressed-token\tAPI docs\n@lightprotocol/nullifier-program\tnpm\nSecurity\n\nThe Privy signing examples transmit secrets to an external API — review sign-with-privy.md before running.\n\nDeclared dependencies. HELIUS_RPC_URL is required for all examples. The Privy signing flow additionally requires PRIVY_APP_ID, PRIVY_APP_SECRET, TREASURY_WALLET_ID, and TREASURY_AUTHORIZATION_KEY — get these at privy.io. Load secrets from a secrets manager, not agent-global environment.\nPrivy signing flow. PRIVY_APP_SECRET and TREASURY_AUTHORIZATION_KEY are sent to Privy's signing API. Verify these only reach Privy's official endpoints. See sign-with-privy.md.\nSubagent scope. When stuck, the skill asks to spawn a read-only subagent with Read, Glob, Grep scoped to skill references, example repos, and docs.\nInstall source. npx skills add Lightprotocol/skills from Lightprotocol/skills.\nAudited protocol. Audit reports at github.com/Lightprotocol/light-protocol/tree/main/audits."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/tilo-14/solana-payments-wallet-dev",
    "publisherUrl": "https://clawhub.ai/tilo-14/solana-payments-wallet-dev",
    "owner": "tilo-14",
    "version": "1.0.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/solana-payments-wallet-dev",
    "downloadUrl": "https://openagent3.xyz/downloads/solana-payments-wallet-dev",
    "agentUrl": "https://openagent3.xyz/skills/solana-payments-wallet-dev/agent",
    "manifestUrl": "https://openagent3.xyz/skills/solana-payments-wallet-dev/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/solana-payments-wallet-dev/agent.md"
  }
}