wallet
wallet
Display information about the currently active wallet.
derand wallet
wallet add
Add a new wallet to the system.
Flags
| Parameter | Type | Meaning | Default |
|---|---|---|---|
--name | string | Wallet name | "" |
--auto | bool | Automatically generate a new seed phrase | false |
--private-key | string | Import wallet from private key | "" |
--seed-phrase | string | Import wallet from seed phrase | "" |
Example - Auto-Generate
derand wallet add --name "my-wallet" --auto
Example - Import from Private Key
derand wallet add --name "my-wallet" --private-key "0x..."
Example - Import from Seed Phrase
derand wallet add --name "my-wallet" --seed-phrase "word1 word2 ..."
wallet delete
Delete the current wallet.
derand wallet delete
Example
derand wallet delete
wallet get-private
Get the private key of the current wallet.
derand wallet get-private
Example
derand wallet get-private
warning
This command displays your private key. Use with caution and never share it with anyone.
wallet ls
List all available wallets.
derand wallet ls
Example
derand wallet ls
wallet switch
Switch to a different wallet.
derand wallet switch
Example
derand wallet switch