CLI Wallet - ChristianDunst/eos_wiki GitHub Wiki

1. Overview

Program: eos-walletd Path: eos/build/programs/eos-walletd

2. Purpose

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.

3. How to run the Wallet

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.

4. Available Commands

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:

Create

$ 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

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

Lock

Locks a wallet.

$ eosc wallet lock ${options}

Options:

-n,--name TEXT The name of the wallet to lock

Unlock wallet

$ eosc wallet unlock ${options}

Options:

-n,--name TEXT The name of the wallet to unlock --password TEXT The password returned by wallet create

Import private key into wallet

$ 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

List opened wallets, * = unlocked

$ eosc wallet list

Keys

List of private keys from all unlocked wallets in wif format.

$ eosc wallet keys
⚠️ **GitHub.com Fallback** ⚠️