web3-wallet
web3 wallet: Create, import, show, export, and reset wallets.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
web3 wallet: Create, import, show, export, and reset wallets.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Getting started: Create a wallet and send your first transaction.
web3 balance: Check native token and ERC-20 token balances.
web3 send: Send native tokens or ERC-20 tokens to an address.
web3 CLI: Shared patterns for key management, global flags, and security rules.
| name | web3-wallet |
| version | 1.0.0 |
| description | web3 wallet: Create, import, show, export, and reset wallets. |
| metadata | {"openclaw":{"category":"web3","requires":{"bins":["web3"],"skills":["web3-shared"]}}} |
PREREQUISITE: Read
../web3-shared/SKILL.mdfor key management, global flags, and security rules.
Manage wallet lifecycle — create keys, import existing keys, view addresses, export mnemonics, and reset the keystore.
| Subcommand | Description |
|---|---|
create | Generate a new wallet with random EVM keys |
import-key <CHAIN> | Import a private key for a specific chain (reads from stdin) |
import-mnemonic | Import a BIP-39 mnemonic phrase (reads from stdin) — coming Phase 2 |
show | Show wallet information (addresses, chains, source) |
addresses | Show all derived addresses |
export | Export mnemonic to stdout (requires --confirm) |
reset | Delete the encrypted keystore |
web3 wallet create
web3 wallet create --force # overwrite existing wallet
echo "0xYOUR_PRIVATE_KEY" | web3 wallet import-key ethereum
echo "0xYOUR_PRIVATE_KEY" | web3 wallet import-key ethereum --force
web3 wallet show
web3 wallet show --output json
web3 wallet addresses
web3 wallet addresses --output json
web3 wallet export --confirm
web3 wallet reset # interactive confirmation prompt
web3 wallet reset --force # skip confirmation
| Subcommand | Flag | Required | Default | Description |
|---|---|---|---|---|
create | --force | — | false | Overwrite existing wallet |
import-key | <CHAIN> | ✓ | — | Chain to import the key for (e.g., ethereum) |
import-key | --force | — | false | Overwrite existing wallet |
import-mnemonic | --force | — | false | Overwrite existing wallet |
export | --confirm | ✓ | — | Confirm you want to display the mnemonic |
reset | --force | — | false | Skip confirmation prompt |
WEB3_PRIVATE_KEY env var overrides the stored wallet when set.[!CAUTION]
exportdisplays your mnemonic in plain text — never run this in shared terminals or logs.resetpermanently deletes your encrypted keystore — all private keys will be lost. Confirm with the user before executing either command.