CLI Wallet - ChristianDunst/eos_wiki GitHub Wiki
Program: eos-walletd Path: eos/build/programs/eos-walletd
To store private keys that will be used to sign transactions sent to the block chain. Please note that this is a local process running on your local machine and that it also stores your private keys locally.
Start eos-walletd process on your local instance as follows:
$ eos-walletd
You will notice that it creates a folder called data-dir and contains a config.ini file. The configuration file contains the http server endpoint for incoming http connections and other parameters for cross origin resource sharing.
The default parameters should be sufficient for running a local instance of wallet process.
The command line tool to interact with eos-walletd is called “eosc”. It is found in eos/build/programs/eosc folder.
It provides the following commands to interact with eos-walletd:
$ eosc wallet create ${options}
Options:
-n,--name TEXT=default The name of the new wallet
If you don’t provide an optional name it creates a default wallet.
Open an already created wallet. You need to open a wallet (if you are not on default wallet) to operate on it.
$ eosc wallet open ${options}
Options:
-n,--name TEXT The name of the wallet to open
Locks a wallet.
$ eosc wallet lock ${options}
Options:
-n,--name TEXT The name of the wallet to lock
$ eosc wallet unlock ${options}
Options:
-n,--name TEXT The name of the wallet to unlock --password TEXT The password returned by wallet create
$ eosc wallet import ${options} key
Positionals:
key TEXT Private key in WIF format to import
Options:
-n,--name TEXT The name of the wallet to import key into
List opened wallets, * = unlocked
$ eosc wallet list
List of private keys from all unlocked wallets in wif format.
$ eosc wallet keys