Lox-evm Engine command-line interface (CLI).
npm install tanya-evm-cli- Node.js (v14+)
``shell`
npm install -g tanya-evm-cli
See https://github.com/lox_evm-is-lox/lox_evm-engine#usage for usage examples.
The CLI will load the following local keys by default, if found:
- $HOME/.lox-credentials//.json: credentials stored by the lox CLI
- $HOME/.lox/validator_key.json: the local loxcore validator keytest.lox
(for the master account)
- lox_evm help
- lox_evm install
- lox_evm init
- lox_evm get-version
- lox_evm get-owner
- lox_evm get-bridge-prover
- lox_evm get-chain-id
- lox_evm get-upgrade-index
- lox_evm stage-upgrade
- lox_evm deploy-upgrade
- lox_evm deploy-code
- lox_evm call
- lox_evm meta-call
- lox_evm view
- lox_evm get-code
- lox_evm get-balance
- lox_evm get-nonce
- lox_evm get-storage-at
- lox_evm begin-chain
- lox_evm begin-block
- lox_evm dump-storage
- lox_evm encode-address
- lox_evm encode-hash
`console
$ lox_evm help
Usage: lox_evm [options] [command]
Options:
-d, --debug enable debug output
-v, --verbose enable verbose output
--network
--endpoint
--engine
--signer
-h, --help display help for command
Commands:
install|upgrade [options]
initialize|init [options]
get-version
get-owner
get-bridge-prover
get-chain-id|get-chain
get-upgrade-index
stage-upgrade
deploy-upgrade
deploy-code|deploy
call
meta-call
view [options]
get-code
get-balance
get-nonce
get-storage-at|get-storage
begin-chain
begin-block
dump-storage
encode-address
encode-hash
help [command] display help for command
`
`console
$ lox_evm install -h
Usage: lox_evm install|upgrade [options]
Options:
--chain
--owner
--bridge-prover
--upgrade-delay
-h, --help display help for command
`
`console
$ lox_evm init -h
Usage: lox_evm initialize|init [options]
Options:
--chain
--owner
--bridge-prover
--upgrade-delay
-h, --help display help for command
`
`console
$ lox_evm get-version -h
Usage: lox_evm get-version|get_version [options]
Options:
-h, --help display help for command
`
`console
$ lox_evm get-owner -h
Usage: lox_evm get-owner|get_owner [options]
Options:
-h, --help display help for command
`
`console
$ lox_evm get-bridge-prover -h
Usage: lox_evm get-bridge-prover|get_bridge_prover [options]
Options:
-h, --help display help for command
`
`console
$ lox_evm get-chain-id -h
Usage: lox_evm get-chain-id|get_chain_id [options]
Options:
-h, --help display help for command
`
`console
$ lox_evm get-upgrade-index -h
Usage: lox_evm get-upgrade-index|get_upgrade_index [options]
Options:
-h, --help display help for command
`
`console
$ lox_evm stage-upgrade -h
Usage: lox_evm stage-upgrade|stage_upgrade [options]
Options:
-h, --help display help for command
`
`console
$ lox_evm deploy-upgrade -h
Usage: lox_evm deploy-upgrade|deploy_upgrade [options]
Options:
-h, --help display help for command
`
`console
$ lox_evm deploy-code -h
Usage: lox_evm deploy-code|deploy [options]
Options:
-h, --help display help for command
`
`console
$ lox_evm call -h
Usage: lox_evm call [options]
Options:
-h, --help display help for command
`
`console
$ lox_evm meta-call -h
Usage: lox_evm meta-call|meta_call [options]
Options:
-h, --help display help for command
`
`console
$ lox_evm view -h
Usage: lox_evm view [options]
Options:
--sender
$3
`console
$ lox_evm get-code -h
Usage: lox_evm get-code|get_code [options] Options:
-h, --help display help for command
`$3
`console
$ lox_evm get-balance -h
Usage: lox_evm get-balance|get_balance [options] Options:
-h, --help display help for command
`$3
`console
$ lox_evm get-nonce -h
Usage: lox_evm get-nonce|get_nonce [options] Options:
-h, --help display help for command
`$3
`console
$ lox_evm get-storage-at -h
Usage: lox_evm get-storage-at|get_storage_at [options] Options:
-h, --help display help for command
`$3
`console
$ lox_evm begin-chain -h
Usage: lox_evm begin-chain|begin_chain [options] Options:
-h, --help display help for command
`$3
`console
$ lox_evm begin-block -h
Usage: lox_evm begin-block|begin_block [options] Options:
-h, --help display help for command
`$3
`console
$ lox_evm dump-storage -h
Usage: lox_evm dump-storage|dump_storage [options]Options:
-h, --help display help for command
`$3
`console
$ lox_evm encode-address -h
Usage: lox_evm encode-address [options] Options:
-h, --help display help for command
`$3
`console
$ lox_evm encode-hash -h
Usage: lox_evm encode-hash [options] Options:
-h, --help display help for command
`Development
$3
`sh
alias lox_evm='node lib/lox_evm.js'
export lox_URL=http://localhost:3030
``