← 返回 Skills 市场
mrsirg97-rgb

Torch Prediction Market Kit

作者 mr brightside · GitHub ↗ · v2.0.3
cross-platform ✓ 安全检测通过
740
总下载
0
收藏
0
当前安装
7
版本数
在 OpenClaw 中安装
/install torchpredictionmarketkit
功能描述
Autonomous vault-based prediction market bot for Torch Market on Solana. Creates binary prediction markets as Torch tokens — the bonding curve provides price...
安全使用建议
This package appears to be what it claims, but take these practical precautions before installing or running it: - Do not supply a private key that holds funds: SOLANA_PRIVATE_KEY is optional and the author expects a disposable controller key (~0.01 SOL). If you provide a persistent key, ensure it has no funds. - Verify the vault (VAULT_CREATOR) you point the bot at is controlled by you and properly configured; a misconfigured vault or incorrect authority could allow unintended on-chain actions. - Review and lock down markets.json before running. The bot will read and write this file and will perform on‑chain actions based on its contents; validate initialLiquidity and other fields. - Use a testnet/devnet or a forked mainnet in a smoke test to confirm behavior before using real funds. - Confirm the bundled source matches the upstream repo linked (kit-source) and that you trust the published code and audit claims. - Ensure the SOLANA_RPC_URL RPC endpoint is trustworthy (malicious or buggy RPC endpoints can provide bad data or behave unexpectedly). If you follow these steps, the skill is internally coherent and appropriate for its stated on‑chain market‑making use case.
功能分析
Type: OpenClaw Skill Name: torchpredictionmarketkit Version: 2.0.3 The OpenClaw AgentSkills skill bundle for the Torch Prediction Market Kit is benign. It demonstrates robust security practices, including the use of a disposable, in-process generated agent keypair (or an optional, low-value `SOLANA_PRIVATE_KEY` explicitly marked sensitive), a vault-first custody model where all funds are routed through a user-controlled vault, and strict input validation for `markets.json` (e.g., `metadataUri` domain allowlist, `initialLiquidityLamports` cap at 10 SOL, `oracle.asset` allowlist). The `SKILL.md` explicitly sets `disable-model-invocation: true`, preventing autonomous execution, and the documentation clearly outlines the bot's capabilities and security model, with no evidence of prompt injection attempts or malicious intent. External network calls are limited to read-only public APIs (CoinGecko, Irys) with no credentials, and dependencies are minimal and pinned.
能力评估
Purpose & Capability
Name/description (create markets, seed liquidity through a vault, monitor and resolve using CoinGecko) line up with required env vars (SOLANA_RPC_URL, VAULT_CREATOR, optional SOLANA_PRIVATE_KEY), the included torchsdk-based code, and the declared program ID. The requested environment and APIs are expected for a Solana market bot.
Instruction Scope
Runtime instructions are focused: read markets.json, build and sign Solana transactions via the bundled SDK, route SOL through the declared vault, and query CoinGecko for price data. The bot writes back to markets.json (persisting state) which is expected for a file-based state approach. No opaque data collection, unexpected endpoints, or unrelated system paths are referenced.
Install Mechanism
There is no forced download-from-URL; the SDK and bot source are bundled in the package files provided. SKILL.md lists an optional npm install; that is a standard, low-to-moderate risk install mechanism. Minor inconsistency: SKILL.md/metadata say 'instruction-only' yet code files are bundled — not a security issue but worth noting for user's expectations.
Credentials
The env vars requested are proportional and expected: an HTTPS Solana RPC URL and the vault creator pubkey are required; a disposable controller private key is optional. No unrelated secrets or broad credentials are requested.
Persistence & Privilege
The skill does not request always:true and sets disable-model-invocation:true (it will not be autonomously invoked by the model). It runs as a normal agent process that signs transactions locally; this privilege is necessary for an on‑chain bot and is proportionate to its purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install torchpredictionmarketkit
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /torchpredictionmarketkit 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.3
- Updated kit dependency to torch-prediction-market-kit@^2.0.2. - Bumped skill version to 2.0.3 in all metadata. - No functional or code changes included in this release. - address security issues from previous audit
v2.0.2
- Version bump to 2.0.2 with no file or functionality changes. - Metadata updated to reflect new version number.
v2.0.1
- Updated torchsdk dependency from v3.7.22 to v3.7.23 for the latest protocol compatibility. - Bumped package version to 2.0.1. - No other functionality or interface changes.
v2.0.0
**Major update with protocol, dependency, and verification improvements.** - Upgraded to torchsdk v3.7.22 and latest Torch Market protocol for enhanced performance and compatibility. - Now supports optional SOLANA_PRIVATE_KEY environment variable (improves agent wallet flexibility). - Formalized environment variable requirements (SOLANA_RPC_URL, VAULT_CREATOR required; SOLANA_PRIVATE_KEY optional). - Added verification.md for better integration and deployment assurance. - Improved install instructions and ecosystem metadata. - Maintains all security, custody, and agent-safety features from previous versions.
v1.0.2
Version 1.0.2 is a version bump with no file changes. - Version updated from 1.0.1 to 1.0.2. - No other modifications detected. - update source code included to import from the torchsdk bundled in the lib and not the npm package
v1.0.1
Version 1.0.1 — Minor kit version bump - Updated npm install instructions and metadata to reference [email protected] instead of @1.0.0. - No code or feature changes; documentation now reflects the latest package version. - All usage, environment requirements, and protocol details remain unchanged. - include withTimeout as a safety mechanism on rpc timeouts to address concerns
v1.0.0
Initial release of torch-prediction-market-bot — an autonomous Solana prediction market creator and market maker for Torch Market. - Introduces a vault-based autonomous bot for managing binary prediction markets as Torch tokens on Solana. - Creates, seeds, and resolves prediction markets using on-chain bonding curves and an oracle (CoinGecko or manual). - Ensures secure custody: all SOL and tokens route through a human-controlled vault; agent wallet is disposable and holds nothing of value. - Requires only SOLANA_RPC_URL and VAULT_CREATOR environment variables for setup. - No external API or server dependency; full auditability via included source and bundled SDK. - Settlement is token-as-signal — token price reflects prediction instead of direct payout.
元数据
Slug torchpredictionmarketkit
版本 2.0.3
许可证
累计安装 0
当前安装数 0
历史版本数 7
常见问题

Torch Prediction Market Kit 是什么?

Autonomous vault-based prediction market bot for Torch Market on Solana. Creates binary prediction markets as Torch tokens — the bonding curve provides price... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 740 次。

如何安装 Torch Prediction Market Kit?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install torchpredictionmarketkit」即可一键安装,无需额外配置。

Torch Prediction Market Kit 是免费的吗?

是的,Torch Prediction Market Kit 完全免费(开源免费),可自由下载、安装和使用。

Torch Prediction Market Kit 支持哪些平台?

Torch Prediction Market Kit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Torch Prediction Market Kit?

由 mr brightside(@mrsirg97-rgb)开发并维护,当前版本 v2.0.3。

💬 留言讨论