Stratos-chain 'stchaind' Commands
This document describes a summarized list of `stchaind` commands for Stratos Chain.
Overview
Hardware and Software Requirements
Unlike other projects, Stratos does not require expensive GPUs and high wattage power supplies, but if the node wants to obtain revenue, it needs to provide enough bandwidth and storage capacity to ensure the traffic on the node can reach the reward requirements. We recommend the following to run your node:
* CPU i5 4 cores
* 16GB memory
* 2TB hard disk
* 100M bandwidthSoftware(tested version):
* Ubuntu 18.04+
* Go 1.16+ linux/amd64 (optional, if compile the binary with source code)Get Connected to Stratos Chain Testnet
Please refer to stratos-chain-testnet to
Directory Structure
After the node has caught up to the latest block, your Stratos-chain Wallet has been created and fed with an amount of tokens, the $HOME directory should include the following directories and files.
.stchaincli contains the folder keyring-test-cosmos, which holds the wallet info and wallet address
.stchaind contains config and data folders.
'stchaind' Commands
'stchaind' CommandsGlobal Flags
Each command has its specific flags as well as several global flags. The specific flags will be explained along with each command, while the global flags are summarized as the following that can be used for all stchaind commands.
debug
Tool for helping with debugging your application.
pubkey
pubkeyDecode a pubkey from hex, base64, or bech32.
pubkey command:
Example::
addr
Convert an address between hex encoding and bech32.
addr command:
Example:
raw-bytes
Convert raw-bytes to hex.
raw-bytes command:
Example:
export
Export state to JSON.
export command:
Example:
version
Print the app version.
version command:
Example:
start
startRun the full node application with Tendermint in or out of process. By default, the application will run with Tendermint in process.
start command:
Example:
init
initInitialize validator's and node's configuration files.
init command:
Example:
tendermint
Tendermint subcommands
show-node-id
Show this node's ID.
show-node-id command:
Example:
show-validator
Show this node's tendermint validator info.
show-validator command:
Example:
show-address
show-addressShows this node's tendermint validator consensus address.
show-address command:
Example:
-version
Print protocols' and libraries' version numbers against which this app has been compiled.
version command:
Example:
Last updated