# Load the block producer plugin, so we can produce blocks
plugin = eos::producer_plugin
# As well as API and HTTP plugins
plugin = eos::wallet_api_plugin
plugin = eos::chain_api_plugin
plugin = eos::http_plugin
```
...
...
@@ -284,36 +285,25 @@ cd ~/eos/build/programs/eosd/
### Run eos-walletd and importing account key
Before running the API commands you need to start EOS wallet process and import private key of an account you will be authorizing the transactions under.
Before running API commands you need to import the private key of an account you will be authorizing the transactions under into the EOS wallet.
```commandline
cd ~/eos/build/programs/
./eos-walletd
```
You need to make sure that the port number in `cd ~/eos/build/programs/eos-walled/data-dir/config.ini` does not conflict with the port number `eosd` is running on (check in `~/eos/build/programs/eosd/data-dir/config.ini`). Change the line in `cd ~/eos/build/programs/eos-walled/data-dir/config.ini` to:
```commandline
http-server-endpoint = 127.0.0.1:8887
```
Leave `eos-walletd` running.
As you've previously added `plugin = eos::wallet_api_plugin` into `config.ini`, EOS wallet will be running as a part of `eosd` process.
For testing purposes we will be logging in the wallet with a pre-created account `inita` from the `genesis.json` file.
For testing purposes you can use a pre-created account `inita` from the `genesis.json` file.
To login you need to run a command importing an active (not owner!) private key from `inita` account (you can find it in `~/eos/build/programs/eosd/data-dir/config.ini`) to the wallet.
```commandline
cd ~/eos/build/programs/eosc/
./eosc --wallet-port 8887 wallet create # You get a password that you need to save to be able to lock/unlock the wallet