← Back to Skills Marketplace
Torch Prediction Market Kit
by
mr brightside
· GitHub ↗
· v2.0.3
740
Downloads
0
Stars
0
Active Installs
7
Versions
Install in OpenClaw
/install torchpredictionmarketkit
Description
Autonomous vault-based prediction market bot for Torch Market on Solana. Creates binary prediction markets as Torch tokens — the bonding curve provides price...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install torchpredictionmarketkit - After installation, invoke the skill by name or use
/torchpredictionmarketkit - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 740 downloads so far.
How do I install Torch Prediction Market Kit?
Run "/install torchpredictionmarketkit" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Torch Prediction Market Kit free?
Yes, Torch Prediction Market Kit is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Torch Prediction Market Kit support?
Torch Prediction Market Kit is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Torch Prediction Market Kit?
It is built and maintained by mr brightside (@mrsirg97-rgb); the current version is v2.0.3.
More Skills