Interacting with Xion Chain using Xion Daemon
Prerequisites
xiondxion daemon (server)
Usage:
xiond [command]
Available Commands:
comet CometBFT subcommands
completion Generate the autocompletion script for the specified shell
config Utilities for managing application configuration
debug Tool for helping with debugging your application
export Export state to JSON
genesis Application's genesis-related subcommands
help Help about any command
init Initialize private validator, p2p, genesis, and application configuration files
keys Manage your application's keys
module-hash-by-height Get module hashes at a given height
prune Prune app history states by keeping the recent heights and deleting old heights
query Querying subcommands
rollback rollback Cosmos SDK and CometBFT state by one height
rosetta spin up a rosetta server
snapshots Manage local snapshots
start Run the full node
status Query remote node for status
tx Transactions subcommands
version Print the application binary version information
Flags:
-h, --help help for xiond
--home string directory for config and data (default "/Users/adrianthompson/.xiond")
--log_format string The logging format (json|plain) (default "plain")
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:<level>,<key>:<level>') (default "info")
--log_no_color Disable colored logs
--trace print out full stack trace on errors
Use "xiond [command] --help" for more information about a command.Generate an account
Generate an Account Key Pair
Generate a New Key Pair
Retrieve Public Key
Fund Your Account
Request Testnet Tokens
Mainnet Tokens
Connecting to Different Xion Chain Instances
Finding Chain IDs and Public Nodes
Executing Transactions
Example: Sending tokens to an account
Possible Output
Executing Queries
Example: Querying Account Balance
Possible Output
Last updated
Was this helpful?