npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

@maxblock/ethcli

0.0.5 • Public • Published

@eth-tools/cli

Ethereum command line tools

oclif Version

Appveyor CI Codecov Downloads/week License

Usage

$ npm install -g @maxblock/ethcli
$ eth COMMAND
running command...
$ eth (-v|--version|version)
@maxblock/ethcli/0.0.5 darwin-x64 node-v11.1.0
$ eth --help [COMMAND]
USAGE
  $ eth COMMAND
...

Commands

eth account CONFIG

Get info about accounts: ether balance, nonce

USAGE
  $ eth account CONFIG

ARGUMENTS
  CONFIG  Path to config file

See code: src/commands/account.ts

eth config-example COMMAND

Show config file example

USAGE
  $ eth config-example COMMAND

ARGUMENTS
  COMMAND  (account|decode-input|encode-input|keystore-recover|node|one-to-many|send-txs|sign-tx|transfer-all-ether|tran
           sfer-all-token|transfer-token) Name of command

See code: src/commands/config-example.ts

eth decode-input CONFIG

Decode tx.data

USAGE
  $ eth decode-input CONFIG

ARGUMENTS
  CONFIG  Path to config YAML file

See code: src/commands/decode-input.ts

eth encode-input CONFIG

Encode tx.data

USAGE
  $ eth encode-input CONFIG

ARGUMENTS
  CONFIG  Path to config YAML file

See code: src/commands/encode-input.ts

eth help [COMMAND]

display help for eth

USAGE
  $ eth help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

eth keystore-recover CONFIG

Restore privateKey from keystore JSON files

USAGE
  $ eth keystore-recover CONFIG

ARGUMENTS
  CONFIG  Path to config YAML file

See code: src/commands/keystore-recover.ts

eth mnemonic

Generate ethereum account by mnemonic seed

USAGE
  $ eth mnemonic

OPTIONS
  --accounts=accounts  [default: 20]
  --seed=seed          Mnemonic seed
  --strength=strength  [default: 256] Mnemonic strength (128=12words, 256=24words)

See code: src/commands/mnemonic.ts

eth node CONFIG

Get info about ethereum nodes: block, network, client

USAGE
  $ eth node CONFIG

ARGUMENTS
  CONFIG  Path to config YAML file

See code: src/commands/node.ts

eth one-to-many CONFIG COMMAND

Send the same txs from one account to many

USAGE
  $ eth one-to-many CONFIG COMMAND

ARGUMENTS
  CONFIG   Path to config YAML file
  COMMAND  (prepare|start|all)

See code: src/commands/one-to-many.ts

eth parse-tx RAWTX

Parse raw tx

USAGE
  $ eth parse-tx RAWTX

ARGUMENTS
  RAWTX  raw tx

See code: src/commands/parse-tx.ts

eth send-txs CONFIG COMMAND

Send transactions, scheduling supported

USAGE
  $ eth send-txs CONFIG COMMAND

ARGUMENTS
  CONFIG   Path to config YAML file
  COMMAND  (prepare|start|all)

See code: src/commands/send-txs.ts

eth sign-tx CONFIG

Sign raw tx

USAGE
  $ eth sign-tx CONFIG

ARGUMENTS
  CONFIG  Path to config YAML file

See code: src/commands/sign-tx.ts

eth transfer-all-ether CONFIG COMMAND

Transfer all ether from many accounts to one

USAGE
  $ eth transfer-all-ether CONFIG COMMAND

ARGUMENTS
  CONFIG   Path to config file
  COMMAND  (prepare|start|all)

See code: src/commands/transfer-all-ether.ts

eth transfer-all-token CONFIG COMMAND

Transfer all tokens from many accounts to one

USAGE
  $ eth transfer-all-token CONFIG COMMAND

ARGUMENTS
  CONFIG   Path to config file
  COMMAND  (prepare|start|all)

See code: src/commands/transfer-all-token.ts

eth transfer-token CONFIG COMMAND

Transfer ERC20 token

USAGE
  $ eth transfer-token CONFIG COMMAND

ARGUMENTS
  CONFIG   Path to config YAML file
  COMMAND  (prepare|start|all)

See code: src/commands/transfer-token.ts

Keywords

install

npm i @maxblock/ethcli

Downloadsweekly downloads

1

version

0.0.5

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability