首页龙虾技能列表 › Local Wallet Standard — 技能工具

Local Wallet Standard — 技能工具

v1.0.0

[自动翻译] Lightweight Wallet Signer CLI — generate wallets, derive addresses, and sign messages across EVM, Solana, Bitcoin, Cosmos, and Tron chains.

0· 336·0 当前·0 累计
by @njdawn·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/10
安全扫描
VirusTotal
可疑
查看报告
OpenClaw
可疑
medium confidence
The skill's stated purpose (local wallet CLI) matches the required tools and repo build flow, but the instructions include risky install behavior and lack secure handling for sensitive secrets (mnemonics), so proceed with caution and verify the code before use.
评估建议
This skill appears to implement a local wallet CLI and the build requirements (git/cargo) are reasonable, but you should not blindly run the curl|bash installer or supply real mnemonics until you verify the code. Actionable steps: (1) Inspect the GitHub repo and the install.sh script yourself (do not pipe to shell without review). (2) Prefer cloning and building from source locally (git clone && cargo build) rather than curl|bash. (3) Confirm how wallet JSON files are protected—look for encrypti...
详细分析 ▾
用途与能力
Name/description align with what the SKILL.md instructs: it builds a Rust CLI, requires git and cargo, and stores wallets under ~/.lws. Requiring git/cargo and optionally rustup is proportionate for a Rust CLI built from source.
指令范围
The runtime instructions tell users/agents to install via curl | bash from a raw GitHub URL and to pass full BIP-39 mnemonics on the command line (e.g., lws derive --mnemonic <PHRASE> and lws sign --mnemonic <PHRASE>). Passing secrets on the CLI can leak to shell history and process listings. The SKILL.md does not describe encrypting the wallet vault or secure handling of mnemonics, so instructions do not constrain or protect sensitive data.
安装机制
The installer is a curl -fsSL https://raw.githubusercontent.com/... | bash pipeline. GitHub raw content is a known host, but piping a remote install script to a shell executes remote code without an on-disk review and is higher risk. The installer may install rustup and build toolchains, which modify the system environment.
凭证需求
The skill declares no required environment variables, which is fine, but it stores wallet descriptors under ~/.lws and expects users to supply raw mnemonics. There is no mention of vault encryption, passphrase protection, or secure storage. That absence is disproportionate for a tool that handles private keys and mnemonics.
持久化与权限
The skill is not marked always:true and does not request elevated or cross-skill configuration. The installer writes to the user's home directory (~/.lws) and modifies shell config to add to PATH, which is expected for a CLI but should be reviewed by the user before permitting.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

🖥️ OSmacOS · Linux

版本

latestv1.0.02026/2/28

Initial release of lws: Lightweight Wallet Signer CLI. - Generate BIP-39 mnemonics, derive addresses, and sign messages for EVM, Solana, Bitcoin, Cosmos, and Tron chains. - Minimal, offline-first CLI. - Wallet management: create, list, and store wallets locally. - Easy installation script and update/uninstall commands included. - Works on macOS and Linux; requires git and Rust.

● 可疑

安装命令 点击复制

官方npx clawhub@latest install lws
镜像加速npx clawhub@latest install lws --registry https://cn.clawhub-mirror.com

技能文档

Minimal, offline-first CLI for generating wallets, deriving addresses, and signing messages across multiple chains.

Installation

One-liner:

curl -fsSL https://raw.githubusercontent.com/dawnlabsai/lws/main/lws/install.sh | bash

The installer will:

  • Install Rust via rustup if not already present
  • Clone the repo and build from source
  • Place the lws binary at ~/.lws/bin/lws
  • Add ~/.lws/bin to your shell's PATH (supports zsh, bash, fish)

Set LWS_INSTALL_DIR to override the install location.

From source:

git clone https://github.com/dawnlabsai/lws.git
cd lws/lws
cargo build --workspace --release
cp target/release/lws ~/.lws/bin/lws

Commands

lws generate

Generate a new BIP-39 mnemonic phrase.

lws generate [--words 12|24]
  • --words — Number of mnemonic words, 12 or 24 (default: 12)

lws derive

Derive an address from a mnemonic.

lws derive --mnemonic  --chain  [--index 0]
  • --mnemonic — BIP-39 mnemonic phrase (required)
  • --chain — Chain type: evm, solana, bitcoin, cosmos, tron (required)
  • --index — Account index (default: 0)

lws sign

Sign a message with a mnemonic-derived key.

lws sign --mnemonic  --chain  --message  [--index 0]
  • --mnemonic — BIP-39 mnemonic phrase (required)
  • --chain — Chain type (required)
  • --message — Message to sign (required)
  • --index — Account index (default: 0)

lws info

Show the vault path and list supported chains.

lws info

lws create-wallet

Create a new wallet — generates a mnemonic and saves a wallet descriptor to the vault.

lws create-wallet --name  --chain  [--words 12|24]
  • --name — Wallet name (required)
  • --chain — Chain type (required)
  • --words — Mnemonic word count (default: 12)

lws list-wallets

List all saved wallets in the vault.

lws list-wallets

lws update

Update lws to the latest version by building from the latest commit.

lws update [--force]
  • --force — Rebuild even if already on the latest commit

lws uninstall

Remove lws from the system.

lws uninstall [--purge]
  • --purge — Also remove all wallet data and config (~/.lws)

Removes the binary, cleans PATH entries from shell config files, and optionally deletes the entire ~/.lws directory. Prompts for confirmation before proceeding.

File Layout

~/.lws/
├── bin/
│   └── lws              # CLI binary
└── wallets/
    └── .json  # Wallet descriptors

数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务