The CLI tool (‘appd’) provides a full-feature interface for interacting with the blockchain. This includes commands for node operations, key management, querying blockchain state, submitting transactions, and more.
query
and tx
commands, your appd
node must either:
~/.appd/config/client.toml
node
field to point to a public or private RPC endpoint.
:::
Flag | Description | Default |
---|---|---|
-b, --broadcast-mode | Transaction broadcasting mode (sync|async) | sync |
--chain-id | Specify Chain ID for sending Tx | |
--fees | Fees to pay along with transaction (e.g., 10ustake) | |
--from | Name or address of private key with which to sign | |
--gas-adjustment | Adjustment factor to multiply against the estimate returned by tx simulation | 1 |
--gas-prices | Gas prices to determine the transaction fee (e.g., 10ustake) | |
--home | Directory for config and data | ~/.appd |
--keyring-backend | Select keyring’s backend | os |
--log_format | The logging format (json|plain) | plain |
--log_level | The logging level | info |
--log_no_color | Disable colored logs | |
--node | <host>:<port> to CometBFT RPC interface | tcp://localhost:26657 |
--trace | Print out full stack trace on errors |
start
--json-rpc.enable
: Enable the JSON-RPC server--json-rpc.address
: JSON-RPC server address (default: 127.0.0.1:8545
)--json-rpc.ws-address
: JSON-RPC WebSocket server address (default: 127.0.0.1:8546
)--json-rpc.api
: API namespaces to enable (default: eth,net,web3
)--json-rpc.enable-indexer
: Enable the custom tx indexer for json-rpc--json-rpc.enable-profiling
: Enable profiling in the debug namespace--json-rpc.filter-cap
: Sets the global cap for total number of filters (default: 200
)--json-rpc.gas-cap
: Sets a cap on gas that can be used in eth_call/estimateGas (default: 25000000
)--json-rpc.txfee-cap
: Sets a cap on transaction fee that can be sent via RPC APIs (default: 1
)--json-rpc.batch-request-limit
: Maximum number of requests in a batch (default: 1000
)--json-rpc.evm-timeout
: Sets a timeout used for eth_call (default: 5s
)--json-rpc.logs-cap
: Sets the max number of results from eth_getLogs query (default: 10000
)--json-rpc.block-range-cap
: Sets the max block range allowed for eth_getLogs query (default: 10000
)--help
or -h
flag:
client.toml
first.
/status
method on any accessible Comet RPCindex-eth-tx
backward
: Index from first indexed block to earliest blockforward
: Index from latest indexed block to latest blockkeys
command provides keyring management functionality for accounts.
keys add
--recover
: Recover key from mnemonic--algo
: Key algorithm (eth_secp256k1)--coin-type
: Coin type (60 for Ethereum)keys list
keys list-key-types
keys show
keys export
keys import
keys unsafe-export-eth-key
keys unsafe-import-eth-key
query
(or q
) command provides read-only access to blockchain data.
query evm account
query evm balance-bank
query evm balance-erc20
query evm code
query evm storage
query evm config
query evm params
query erc20 token-pairs
query erc20 token-pair
query erc20 params
query feemarket base-fee
query feemarket block-gas
query feemarket params
query precisebank remainder
query precisebank fractional-balance
tx
command is used to create and broadcast transactions.
tx evm send
tx evm raw
tx erc20 convert-coin
tx erc20 convert-erc20
tx erc20 register-erc20
tx erc20 toggle-conversion
genesis
comet
debug
~/.appd/
~/.appd/config/config.toml
~/.appd/config/app.toml
--home
flag upon initializing the light client, the root/config directory will be generated there