← 返回 Skills 市场
spendit-ai

Solana

作者 spendit-ai · GitHub ↗ · v0.1.2
cross-platform ⚠ suspicious
2243
总下载
1
收藏
3
当前安装
3
版本数
在 OpenClaw 中安装
/install solana-skills
功能描述
Solana wallet operations - create wallets, check balances, send SOL/tokens, swap via Jupiter, launch tokens on Pump.fun
安全使用建议
This skill appears to do what it says, but it operates on your private key so treat it as high-risk: only install if you trust the code. Specific points to consider before installing: - SOLANA_PRIVATE_KEY gives full control of the wallet (can send funds). Use a throwaway wallet or one with minimal funds for testing. - initialize.py writes/overwrites a .env file in the current working directory; back up any existing .env first. - The SKILL.md suggests using 'solana-keygen grind' for vanity addresses but that binary is not declared — you must install it separately if you want that feature. - The skill will call external services: Jupiter API (requires JUPITER_API_KEY) and Solana RPC endpoints; network calls are expected for swaps and on-chain actions. - Review the pump.fun fee recipient and launch logic if you plan to use the token-launch feature — fees/recipients are hardcoded to Pump.fun program accounts. - Install Python dependencies in an isolated virtualenv and inspect the scripts locally before exporting your real private key into the environment. If you want, I can do a line-by-line review of any truncated sections of the scripts or help create a safe test procedure (devnet-only) and a guide to limit exposure (e.g., generate a new wallet, fund with minimal SOL, and test swaps on devnet).
功能分析
Type: OpenClaw Skill Name: solana-skills Version: 0.1.2 This skill is classified as suspicious due to its inherent high-risk capabilities, specifically the handling of cryptocurrency private keys and the execution of irreversible financial transactions on the Solana blockchain (sending SOL/tokens, swapping, launching tokens). While these actions are aligned with the stated purpose of a 'Solana wallet operations' skill, they represent significant financial risk if misused or compromised. The `scripts/initialize.py` script creates and saves a `SOLANA_PRIVATE_KEY` to a local `.env` file, and `scripts/jup_swap.py`, `scripts/pumpfun.py`, and `scripts/wallet.py` all load and use this key to sign transactions. No evidence of intentional malicious behavior, data exfiltration to unauthorized endpoints, or prompt injection attempts in `SKILL.md` was found, but the nature of the operations warrants a 'suspicious' classification.
能力评估
Purpose & Capability
Name/description match the code and runtime instructions: scripts perform wallet creation, balance checks, SOL/token transfers, Jupiter quotes/swaps, and Pump.fun token launches. The two required environment variables (SOLANA_PRIVATE_KEY and JUPITER_API_KEY) are used by the scripts and are appropriate for the declared features.
Instruction Scope
SKILL.md tells the user to run the included scripts and to store/export SOLANA_PRIVATE_KEY in .env which the code reads; initialize.py will create/overwrite a .env file (it warns but will write the key to disk). The README suggests using the external binary 'solana-keygen grind' for vanity keys but the skill does not declare that binary as required — this is an informational mismatch. No instructions request unrelated files or secret stores.
Install Mechanism
This is an instruction-only skill with requirements.txt and an explicit 'pip install -r requirements.txt' in SKILL.md. There is no automated install spec (no remote downloads or archive extraction). Risk from install is typical (Python packages from PyPI).
Credentials
The only required secrets are SOLANA_PRIVATE_KEY (primary credential) and JUPITER_API_KEY; both are used by the code. The scripts also optionally use SOLANA_RPC_URL and JUPITER_API_URL (reasonable). The requested env vars are proportionate to the functionality, but SOLANA_PRIVATE_KEY grants full control of the wallet — which is expected but sensitive.
Persistence & Privilege
The skill does not request always:true or other elevated persistent privileges. It contains runnable scripts but does not modify other skills or system-wide agent config. Note: as-built, if the agent is allowed to invoke skills autonomously it could use the provided private key to send transactions — this is normal for a wallet skill but important to understand.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install solana-skills
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /solana-skills 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.2
- Added Pump.fun token launch support, including new `scripts/pumpfun.py` script. - Updated documentation describing how to launch tokens on Pump.fun, with options for name, symbol, image, dev buy, and custom mint keys. - Expanded triggers to recognize "pumpfun", "pump.fun", and "launch token". - Examples and usage instructions added for launching and configuring Pump.fun tokens.
v0.1.1
- Improved formatting in code examples and command sections in SKILL.md for better readability. - No changes to skill functionality or requirements.
v0.1.0
Initial release with Solana wallet operations and Jupiter swaps. - Create new Solana wallets and manage private keys - Check SOL and SPL token balances - Send SOL and SPL tokens to other addresses - Swap SOL or tokens using the Jupiter aggregator - Choose network (mainnet, devnet, testnet) via command-line flag - Includes scripts and example commands for all operations
元数据
Slug solana-skills
版本 0.1.2
许可证
累计安装 3
当前安装数 3
历史版本数 3
常见问题

Solana 是什么?

Solana wallet operations - create wallets, check balances, send SOL/tokens, swap via Jupiter, launch tokens on Pump.fun. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2243 次。

如何安装 Solana?

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

Solana 是免费的吗?

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

Solana 支持哪些平台?

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

谁开发了 Solana?

由 spendit-ai(@spendit-ai)开发并维护,当前版本 v0.1.2。

💬 留言讨论