微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

Local Wallet Standard

Local Wallet Standard · v1.0.0
安全 unknown 级 作者 njdawn 公开目录收录
1k 下载 0 安装 2.8k 收藏 4 浏览

简介

Local Wallet Standard

原始描述

Lightweight Wallet Signer CLI — generate wallets, derive addresses, and sign messages across EVM, Solana, Bitcoin, Cosmos, and Tron chains.

通过你的 Agent 添加

安装目录:lws/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/local-wallet-standard/
Codex CLI~/.codex/skills/local-wallet-standard/
DeepSeek Harness~/.agents/skills/local-wallet-standard/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: lws description: Lightweight Wallet Signer CLI — generate wallets, derive addresses, and sign messages across EVM, Solana, Bitcoin, Cosmos, and Tron chains. version: 0.1.0 metadata: openclaw: requires: bins: - git - cargo homepage: https://github.com/dawnlabsai/lws os: - darwin - linux

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:

  1. Install Rust via rustup if not already present
  2. Clone the repo and build from source
  3. Place the lws binary at ~/.lws/bin/lws
  4. 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 <PHRASE> --chain <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 <PHRASE> --chain <CHAIN> --message <MSG> [--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 <NAME> --chain <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/
    └── <wallet-id>.json  # Wallet descriptors

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill