Eos: nodeos / cleos usability improvements

Created on 31 Mar 2018  ·  4Comments  ·  Source: EOSIO/eos

The user experience for developers attempting to setup and run a new node and then interact with it from the command line is very poor, we need to improve it.

  • [x] JSON Dumps of Transactions are not acceptable
  • [x] Console output from running transactions should be visible
  • [x] Account history should be readable
  • [x] hex blobs of action data are not readable
  • [x] configuration files should not need to be edited by default
  • [x] eosio dev key should be available to all wallets without import step
  • [x] producer plugin should be enabled by default
  • [ ] cleos should start keos as a background daemon if it is not currently running so that users don't need to think about this background process. - will be completed by #2094
  • [x] permission command line flags need to make "@active" optional
./nodeos -e -p eosio --plugin eosio::wallet_api_plugin --plugin eosio::chain_api_plugin --plugin eosio::account_history_api_plugin
needs testing - pass

Most helpful comment

Default system contract does not set an ABI and it needs to, setting bios fixes it.

All 4 comments

Default system contract does not set an ABI and it needs to, setting bios fixes it.

One item is left:
_cleos should start keos as a background daemon if it is not currently running so that users don't need to think about this background process._
I will create a separate task for it.

2094

ATC for item
_eosio dev key should be available to all wallets without import step_

  • Unit tests check that the default eosio key is imported when a wallet is created.
  • Run nodeos without --eosio-key option, create a wallet, check that the wallet includes the key 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3.
  • Rerun nodeos with the wallet_api_plugin option --eosio-key passing a different key as an argument, create a new wallet and verify that the wallet includes the passed key e.g.: ./programs/nodeos/nodeos -e -p eosio --plugin eosio::chain_api_plugin --plugin eosio::account_history_api_plugin --plugin eosio::wallet_api_plugin --eosio-key 5JktVNHnRX48BUdtewU7N1CyL4Z886c42x7wYW7XhNWkDQRhdcS

Performed tests with and without --eosio-key and tests passed.

Was this page helpful?
0 / 5 - 0 ratings