keosd/BP Node executing simultaneously

Executing keosd, BP Docker simultaneously

Page herein, describes how to execute keosd and BP Docker simultaneously. Please note that this is not required in general cases.

Execute keosd

Execute the script file to drive keosd.

root@2515550468dc:/omnione-testnet# ./keosd_start.sh
root@2515550468dc:/omnione-testnet# info  2020-02-10T02:28:47.589 keosd wallet_plugin.cpp:42          plugin_initialize ] initializing wallet plugin
info  2020-02-10T02:28:47.589 keosd     http_plugin.cpp:465 plugin_initialize    ] configured http to listen on 127.0.0.1:9876
info  2020-02-10T02:28:47.589 keosd     http_plugin.cpp:625 add_handler          ] add api url: /v1/keosd/stop
info  2020-02-10T02:28:47.589 keosd     http_plugin.cpp:538 plugin_startup       ] start listening for http requests
info  2020-02-10T02:28:47.590 keosd     http_plugin.cpp:625 add_handler          ] add api url: /v1/node/get_supported_apis
info  2020-02-10T02:28:47.590 keosd     wallet_api_plugin.cpp:73 plugin_startup       ] starting wallet_api_plugin
info  2020-02-10T02:28:47.590 keosd     http_plugin.cpp:625 add_handler          ] add api url: /v1/wallet/create
info  2020-02-10T02:28:47.590 keosd     http_plugin.cpp:625 add_handler          ] add api url: /v1/wallet/create_key
info  2020-02-10T02:28:47.590 keosd     http_plugin.cpp:625 add_handler          ] add api url: /v1/wallet/get_public_keys
info  2020-02-10T02:28:47.590 keosd     http_plugin.cpp:625 add_handler          ] add api url: /v1/wallet/import_key
info  2020-02-10T02:28:47.590 keosd     http_plugin.cpp:625 add_handler          ] add api url: /v1/wallet/list_keys
info  2020-02-10T02:28:47.590 keosd     http_plugin.cpp:625 add_handler          ] add api url: /v1/wallet/list_wallets
info  2020-02-10T02:28:47.590 keosd     http_plugin.cpp:625 add_handler          ] add api url: /v1/wallet/lock
info  2020-02-10T02:28:47.590 keosd     http_plugin.cpp:625 add_handler          ] add api url: /v1/wallet/lock_all
info  2020-02-10T02:28:47.590 keosd     http_plugin.cpp:625 add_handler          ] add api url: /v1/wallet/open
info  2020-02-10T02:28:47.590 keosd     http_plugin.cpp:625 add_handler          ] add api url: /v1/wallet/remove_key
info  2020-02-10T02:28:47.590 keosd     http_plugin.cpp:625 add_handler          ] add api url: /v1/wallet/set_timeout
info  2020-02-10T02:28:47.590 keosd     http_plugin.cpp:625 add_handler          ] add api url: /v1/wallet/sign_digest
info  2020-02-10T02:28:47.590 keosd     http_plugin.cpp:625 add_handler          ] add api url: /v1/wallet/sign_transaction
info  2020-02-10T02:28:47.590 keosd     http_plugin.cpp:625 add_handler          ] add api url: /v1/wallet/unlock

keosd execution check

Check whether keosd is running properly

Creating Wallet

Save the password to the file by creating the wallet.

Check Wallet password

This command checks the password of stored wallet file.

Check Wallet unlock

Proceed to check Wallet's unlock. Upon initial creation, it becomes unlock status by default and must be unlocked by entering a password after the restart.

To unlock please execute the following command

BP Private Key settings

Checking Private Key

Check currently owned private keys.

Set Private Key by using the command as below with the confirmed key.

Signature settings

Open "config.ini" file to modify the value required for the signature Modify and save YOUR_NAME, YOUR_PUB_KEY with the currently owned value.

Modifying the script file

Open "gen_bp_start.sh" script file to delete and save some code. Below are the items to be deleted

  • --prodocer-name

  • --signature-provider

Executing nodeos

After proceeding all operations, nodeos can be executed.

Check if running properly

Check whether nodeos is running properly through log.

Terminate Docker by pressing Ctrl + p or q .

Reconnecting BP Node Docker

Use command as below to reconnect BP Node.

Check local directory Block data

When performing the initial BP Node deploying operation, it is executed to share date externally so that Block data can be checked from the outside.

Block data number is increasing as it appears from the above figure. To terminate, press ctrl + c.

Last updated

Was this helpful?