import
Command
clio wallet import [OPTIONS]
Where
- [OPTIONS] = See Options in Command Usage section below.
Note: The arguments and options enclosed in square brackets are optional.
Description
Imports private key into wallet. This command will launch kiod
if it is not already running.
Command Usage
The following information shows the different positionals and options you can use with the clio wallet import
command:
Positionals:
- none
Options
-h,--help
- Print this help message and exit-n, --name
TEXT - The name of the wallet to import key into.--private-key
TEXT - Private key in WIF format to import.
Requirements
- Install the currently supported version of
clio
andkiod
.
| The clio
and kiod
tools are bundled with the Wire software. Installing Wire core will install the clio
and kiod
command line tools.
Examples
- Import a private key to the default wallet. The wallet must be open and unlocked.
clio wallet import
The command asks for the private key. Enter it.
5KDNWQvY2seBPVUz7MiiaEDGTwACfuXu78bwZu7w2UDM9A3u3Fs
Example Output
private key: imported private key for: EOS5zG7PsdtzQ9achTdRtXwHieL7yyigBFiJDRAQonqBsfKyL3XhC
- Import a private key to a named wallet. The wallet must be
open
andunlocked.
clio wallet import --name my_wallet --private-key 5KDNWQvY2seBPVUz7MiiaEDGTwACfuXu78bwZu7w2UDM9A3u3Fs
Where
--name
my_wallet = Tells the clio wallet import
command to import the key to my_wallet
--private-key
5KDNWQvY2seBPVUz7MiiaEDGTwACfuXu78bwZu7w2UDM9A3u3Fs = Tells the clio wallet import
command the private key to import
Example Output
imported private key for: EOS5zG7PsdtzQ9achTdRtXwHieL7yyigBFiJDRAQonqBsfKyL3XhC