← 返回 Skills 市场
zhentan

Solana Wallet Rpc

作者 zhen · GitHub ↗ · v1.5.0 · MIT-0
cross-platform ✓ 安全检测通过
213
总下载
0
收藏
0
当前安装
6
版本数
在 OpenClaw 中安装
/install solana-wallet-rpc
功能描述
Portable Solana wallet operations for agents. Use when an agent needs a Solana wallet for devnet or mainnet workflows such as creating a wallet, getting a wa...
安全使用建议
This skill appears to be what it says: a local Solana wallet helper. Before installing or running it: - Inspect the included script (already provided) and package.json — no hidden remote endpoints or obfuscated code were found. - Be explicit about which key to use: set SOLANA_WALLET_KEYPAIR or pass --keypair to avoid accidentally using an existing wallet in ~/.config/solana or ~/.solana. - Keep defaults on devnet unless you intentionally switch to mainnet (change SOLANA_RPC_URL) and understand the consequences. - Don’t run fund-moving commands unless you explicitly pass --execute and confirm the keypath; the script enforces this for deposits but double-check. - Run npm install from a trusted environment and consider auditing dependency versions or installing in an isolated environment (container) if you are cautious. - Backup any real wallets before experimenting and never provide private keys to unknown skills or remote services.
功能分析
Type: OpenClaw Skill Name: solana-wallet-rpc Version: 1.5.0 The skill provides standard Solana wallet management capabilities, including keypair generation, message signing, and transaction handling for the RockPaperClaw ecosystem. The implementation in `scripts/solana_wallet.cjs` follows security best practices for local secret management, such as setting restrictive file permissions (0600) and implementing a mandatory preview mode for fund-moving operations. No evidence of data exfiltration or unauthorized execution was found; the logic is transparent and aligns with the safety instructions provided in `SKILL.md`.
能力评估
Purpose & Capability
The name/description match the implementation: the script provides wallet creation, address/balance checks, signing, devnet airdrops, and a RockPaperClaw deposit helper. The dependencies (@solana/web3.js, spl-token, tweetnacl, bs58) and the included code are appropriate for these capabilities.
Instruction Scope
Runtime instructions and the script legitimately access local keypair files and the network RPC URL. The skill defaults to devnet and warns about signing opaque payloads. One notable behavior: the script will auto-discover keypair files in common locations (e.g., ~/.config/solana/id.json, ~/.solana/id.json, ~/.openclaw/...), which is convenient but means the skill can load an existing wallet from the user's home directory unless you explicitly set SOLANA_WALLET_KEYPAIR. Fund-moving commands (deposit) require an explicit --keypair or env var. This auto-discovery is coherent with the purpose but is a privacy/safety consideration you should be aware of.
Install Mechanism
There is no remote download/install automation; the SKILL.md instructs you to run npm install inside the skill directory. The packages are well-known Solana/crypto libraries from npm; this is expected for a Node runtime. Because npm install will fetch code from public registries, follow normal precautions (review package versions, run in a constrained environment if desired).
Credentials
The skill declares no required registry-level env vars. It uses a small set of local environment variables (SOLANA_RPC_URL, SOLANA_WALLET_KEYPAIR, SOLANA_WALLET_OVERWRITE) that are directly relevant to wallet selection, RPC endpoint, and overwriting a key file. No unrelated credentials or external tokens are requested.
Persistence & Privilege
The skill does not request always:true and will not be force-included. It writes and reads keypair files in user paths under the home directory (and creates ~/.openclaw/wallets by default), which is expected for a wallet helper and scoped to its own data; it does not attempt to modify other skills or system-wide agent configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install solana-wallet-rpc
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /solana-wallet-rpc 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.5.0
No code or documentation changes detected in this version. - Version bumped to 1.5.0 with no accompanying file changes. - No user-visible features or fixes.
v1.4.0
No user-facing changes in this release. - Version bump to 1.4.0. - No file changes detected.
v1.3.0
solana-wallet-rpc 1.3.0 - Clarified that environment variables are only required for this wallet helper and not for the main RockPaperClaw skill. - Updated the RockPaperClaw deposit alias section to align recommended workflow with the primary RockPaperClaw skill, encouraging users to use this wallet skill just as a transaction signer. - Minor documentation adjustments, improved clarity on local vs. external workflow separation. - Removed the version field from the SKILL.md header.
v1.2.0
**Expanded RockPaperClaw workflows and added USDC token support.** - Added `rockpaperclaw-deposit` command with preview and explicit execution safeguards. - Now requires `@solana/spl-token` to support USDC operations for RockPaperClaw. - Improved safety: fund-moving commands require explicit `--execute` and keypair. - Updated docs to clarify USDC funding flow and canonical mint details. - Minor clarifications and scope notes throughout documentation.
v1.1.0
- Added a new portable package system with dedicated package.json for scoped Solana and crypto dependencies. - Changed script entry point from solana_wallet.js to solana_wallet.cjs with updated commands. - Introduced a create-wallet command for generating new Solana wallet keypairs. - Improved configuration: supports wallet/keypair file path overrides, network selects, and overwrite protections via new environment variables. - Enhanced documentation with setup, usage, and safety warnings for private key handling. - Removed the obsolete JS script in favor of the new CJS implementation.
v1.0.0
Initial release of Solana wallet portable operations. - Provides command-line tools for Solana wallet workflows (address, balance, airdrop, message signing/verifying). - Defaults safely to Solana devnet unless another network is explicitly requested. - Clear safety rules: does not send funds or sign opaque payloads without user approval. - Outputs wallet data in structured JSON for easy reuse. - Allows configuration via environment variables for network and keypair selection.
元数据
Slug solana-wallet-rpc
版本 1.5.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 6
常见问题

Solana Wallet Rpc 是什么?

Portable Solana wallet operations for agents. Use when an agent needs a Solana wallet for devnet or mainnet workflows such as creating a wallet, getting a wa... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 213 次。

如何安装 Solana Wallet Rpc?

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

Solana Wallet Rpc 是免费的吗?

是的,Solana Wallet Rpc 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Solana Wallet Rpc 支持哪些平台?

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

谁开发了 Solana Wallet Rpc?

由 zhen(@zhentan)开发并维护,当前版本 v1.5.0。

💬 留言讨论