← Back to Skills Marketplace
Solana + Polymarket + X Wallet Agent
by
inspiration_gx
· GitHub ↗
· v1.1.2
396
Downloads
0
Stars
1
Active Installs
7
Versions
Install in OpenClaw
/install raphael-solana
Description
Manage Solana and Polygon wallets, run Polymarket weather arbitrage, post to X/Twitter, and execute Raydium swaps — all from natural language.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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).
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install raphael-solana - After installation, invoke the skill by name or use
/raphael-solana - Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Frequently Asked Questions
What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 396 downloads so far.
How do I install Solana + Polymarket + X Wallet Agent?
Run "/install raphael-solana" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Solana + Polymarket + X Wallet Agent free?
Yes, Solana + Polymarket + X Wallet Agent is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Solana + Polymarket + X Wallet Agent support?
Solana + Polymarket + X Wallet Agent is cross-platform and runs anywhere OpenClaw / Claude Code is available (macos, linux).
Who created Solana + Polymarket + X Wallet Agent?
It is built and maintained by inspiration_gx (@inspi-writer001); the current version is v1.1.2.
More Skills