These instructions are for setting up a brand new full node from scratch.
First, initialize the node and create the necessary config files:
You can edit this moniker later, in the ~/.gaiad/config/config.toml file:
You can edit the ~/.gaiad/config/gaiad.toml file in order to enable the anti spam mechanism and reject incoming transactions with less than the minimum gas prices:
Your full node has been initialized!
Fetch the testnet's genesis.json file into gaiad's config directory.
To verify the correctness of the configuration run:
Your node needs to know how to find peers.
You'll need to add healthy seed nodes to $HOME/.gaiad/config/config.toml.
seeds = "email@example.com:26656,
Transactions on the Cosmos Hub network need to include a transaction fee in order to be processed.
This fee pays for the gas required to run the transaction. The formula is the following:
The gas is dependent on the transaction. Different transaction require different amount of gas.
The gas amount for a transaction is calculated as it is being processed, but there is a way to estimate it beforehand by using the auto value for the gas flag.
Of course, this only gives an estimate. You can adjust this estimate with the flag --gas-adjustment (default 1.0) if you want to be sure you provide enough gas for the transaction.
The gasPrice is the price of each unit of gas. Each validator sets a min-gas-price value, and will only include transactions that have a gasPrice greater than their min-gas-price.
The transaction fees are the product of gas and gasPrice. As a user, you have to input 2 out of 3.
The higher the gasPrice/fees, the higher the chance that your transaction will get included in a block.
Start the full node with this command:
Check that everything is running smoothly:
View the status of the network with the Cogecoin Explorer.
Go to the Cogecoin Explorer
Before setting up your validator node, make sure you've already gone through the Full Node Setup guide.
Validators are responsible for committing new blocks to the blockchain through voting.
A validator's stake is slashed if they become unavailable or sign blocks at the same height.
Please read about Sentry Node Architecture to protect your node from DDOS attacks and to ensure high-availability.
You may want to skip the next section if you have already set up a full-node.
Your cosmosvalconspub can be used to create a new validator by staking tokens. You can find your validator pubkey by running:
To create your validator, just use the following command:
You can confirm that you are in the validator set by using a third party explorer.##REFERRENCE COSMOS DOCUMENTPAGE LINK##