/install lws
LWS CLI
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
rustupif not already present - Clone the repo and build from source
- Place the
lwsbinary at~/.lws/bin/lws - Add
~/.lws/binto your shell'sPATH(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 \x3CPHRASE> --chain \x3CCHAIN> [--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 \x3CPHRASE> --chain \x3CCHAIN> --message \x3CMSG> [--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 \x3CNAME> --chain \x3CCHAIN> [--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/
└── \x3Cwallet-id>.json # Wallet descriptors
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install lws - 安装完成后,直接呼叫该 Skill 的名称或使用
/lws触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Local Wallet Standard 是什么?
Lightweight Wallet Signer CLI — generate wallets, derive addresses, and sign messages across EVM, Solana, Bitcoin, Cosmos, and Tron chains. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 424 次。
如何安装 Local Wallet Standard?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install lws」即可一键安装,无需额外配置。
Local Wallet Standard 是免费的吗?
是的,Local Wallet Standard 完全免费(开源免费),可自由下载、安装和使用。
Local Wallet Standard 支持哪些平台?
Local Wallet Standard 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux)。
谁开发了 Local Wallet Standard?
由 njdawn(@njdawn)开发并维护,当前版本 v1.0.0。