← 返回 Skills 市场
inspi-writer001

Solana + Polymarket + X Wallet Agent

作者 inspiration_gx · GitHub ↗ · v1.1.2
macoslinux ⚠ suspicious
396
总下载
0
收藏
1
当前安装
7
版本数
在 OpenClaw 中安装
/install raphael-solana
功能描述
Manage Solana and Polygon wallets, run Polymarket weather arbitrage, post to X/Twitter, and execute Raydium swaps — all from natural language.
安全使用建议
Before installing or providing secrets: - Review the full source yourself (repo URL is provided) or have someone audit it; this skill will be able to decrypt wallets if you provide MASTER_ENCRYPTION_PASSWORD_CRYPTO + MASTER_ENCRYPTED + MASTER_SALT. - Expect the skill to store state under a data directory (default ~/.raphael) — wallet records, cached API creds, and PID files — and to make network calls to Solana RPC, Polygon RPC, pumpportal.fun, clob.polymarket.com and X/Twitter APIs. - The SKILL.md makes some inaccurate claims: it says the CLI reads only certain env vars and points to ~/.openclaw/.env for credentials, but the code also reads optional envs (POLYGON_RPC_URL, RAPHAEL_DATA_DIR, etc.) and writes to ~/.raphael by default. Do not assume the skill is limited to only the listed variables. - Treat MASTER_ENCRYPTION_PASSWORD_CRYPTO as a high-value secret. If you proceed, use a dedicated low-value/test wallet first (dry-run mode) and avoid putting large funds under the managed wallets until you are satisfied. - Prefer running the skill in an isolated environment (separate user account or VM), and verify the npm dependencies and package.json if running npm install. - Use the skill's dry-run options and start with small tests: create a wallet, list balances, and run the scanner with --dry-run and minimal privileges before enabling live trading or auto-posting. If you want, I can point to specific files/lines to check (e.g., where stored files are written and where network requests are made) or summarize exactly what would happen when you create a wallet or start the scanner.
功能分析
Type: OpenClaw Skill Name: solana-wallet Version: 1.1.2 The skill bundle is a legitimate and well-structured tool for managing Solana/EVM wallets and executing automated trading strategies on Polymarket and pump.fun. It implements a secure local encryption model in `src/crypto.ts` using AES-256-GCM and PBKDF2 to protect private keys, requiring a user-provided master password that is never stored on disk. All network interactions in files like `src/polymarketClob.ts`, `src/xClient.ts`, and `src/swap.ts` are directed to official API endpoints (Twitter, Polymarket, Raydium, and Open-Meteo). The background daemon logic in `bin/solana-wallet.ts` is a standard implementation for long-running scanners, and the `SKILL.md` documentation provides clear safety warnings and operational transparency without any signs of prompt injection or malicious intent.
能力评估
Purpose & Capability
The code implements Solana + EVM wallet management, Polymarket CLOB order placement, Raydium swaps, a pump.fun/screener, and X/Twitter posting — which aligns with the skill name/description. The required secrets (master encryption values and X API tokens) are consistent with those capabilities: the master password decrypts locally stored keys and the X tokens are required to post and read tweets. The Polymarket integration uses wallet EIP-712 signatures to derive API credentials, which is expected for that API model.
Instruction Scope
SKILL.md asserts the CLI 'reads only the specific env vars listed', but the code reads additional environment variables and paths (e.g., POLYGON_RPC_URL / POLYGON_RPC, RAPHAEL_DATA_DIR, EVM_WALLET_STORE_PATH, PUMPPORTAL_WS). The skill also writes wallet stores and caches to a data directory (default ~/.raphael) even though README/installation text emphasizes ~/.openclaw/.env for credentials. The skill opens network connections to multiple external services (Solana RPC, Polygon RPC, pumpportal.fun websocket, clob.polymarket.com, Twitter/X APIs) — expected for functionality, but SKILL.md understates which envs/paths are used and where persistent state is stored.
Install Mechanism
The registry entry indicates 'instruction-only' but the package includes package.json, a bin/ script, and a node install hint in SKILL.md (install.node: ["."]). In practice the skill bundles Node.js code and depends on npm packages (ethers, @solana/web3.js, twitter-api-v2, etc.). That is a common approach but it means runtime dependencies will be installed from public registries — moderate risk compared to pure instruction-only skills. There is no download-from-arbitrary-URL pattern in the manifest, and code is included in the package, not pulled from an obscure host.
Credentials
The required environment variables are relevant to the skill (MASTER_* values to decrypt local wallets, SOLANA_RPC_URL for Solana RPC, and multiple X/Twitter tokens for posting/searching). Requiring the master encryption password is high privilege and appropriate for a wallet manager, but it means the operator must trust the skill with the ability to decrypt private keys (even though keys are stored encrypted on disk). No unrelated cloud or admin credentials are requested, which is good, but the quantity of X/Twitter tokens (api key/secret + access token/secret + bearer) is high — expected for full read/write Twitter API access.
Persistence & Privilege
The skill writes persistent state (wallets.json, evm-wallets.json, PID files and other files) into a data directory (default ~/.raphael). It does not set always:true and doesn't request system-wide privileges, but it will persist wallet records (encrypted private keys) and cache derived Polymarket API credentials. This is expected for a wallet/trading skill but increases the attack surface (encrypted blobs & caches remain on disk).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install raphael-solana
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /raphael-solana 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.2
Fix: surface full Raydium error on quote failure; add USDC_MINT mainnet constant; CLI swap now supports any input mint with SOL/USDC aliases
v1.1.1
Fix: ESM import error for TwitterApiReadWrite/Readonly - changed to import type
v1.1.0
Bundle source code into skill package; auto-install deps via install.node; replace RAPHAEL_INSTALL_DIR with {baseDir}
v1.0.3
Fix: source repo link added prominently; plugin tools origin explained (src/plugin.ts); homepage URL corrected
v1.0.2
Fix: all env vars declared in frontmatter and body; removed ambiguous shell session wording; complete env var reference table added
v1.0.1
Fix: RAPHAEL_INSTALL_DIR replaces hardcoded path; X credentials declared; credential model documented; instruction tone softened
v1.0.0
Initial release: Solana/EVM wallets, Raydium swaps, Polymarket weather arb, X/Twitter strategy
元数据
Slug raphael-solana
版本 1.1.2
许可证
累计安装 2
当前安装数 1
历史版本数 7
常见问题

Solana + Polymarket + X Wallet Agent 是什么?

Manage Solana and Polygon wallets, run Polymarket weather arbitrage, post to X/Twitter, and execute Raydium swaps — all from natural language. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 396 次。

如何安装 Solana + Polymarket + X Wallet Agent?

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

Solana + Polymarket + X Wallet Agent 是免费的吗?

是的,Solana + Polymarket + X Wallet Agent 完全免费(开源免费),可自由下载、安装和使用。

Solana + Polymarket + X Wallet Agent 支持哪些平台?

Solana + Polymarket + X Wallet Agent 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(macos, linux)。

谁开发了 Solana + Polymarket + X Wallet Agent?

由 inspiration_gx(@inspi-writer001)开发并维护,当前版本 v1.1.2。

💬 留言讨论