Prerequisites: docker and docker-compose installed
Clone this repository.
The repository contains the docker-compose file for quick launching of the node with preconfigurations on rpc, and
genesis.json. Change your current directory to node
Run startup bash script (for linux, mac):
./start.sh
It will start the light node for you, which will ingest all the previous heights
After node is launched, it starts syncing with network.
Note: Check our nodes real-time logs with the following command:
docker-compose logs -f --tail 100 node
[IMPORTANT] Wait for the node to catch up with the remotes, to query it or send transactions
First of all, you need to log into your docker container
docker exec -it node /bin/bash
Check your validator private and public key (keep them secret)
cat ~/.band/config/priv_validator_key.json
It will look something like this:
{
"address": "4174F0A75D7CDCFF479E20119AE075D10F929218",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "A0LCeCUHNTPz3TZt4zkrugkLYkcN2gbMdjATpUzQ/3Rm"
},
"priv_key": {
"type": "tendermint/PrivKeySecp256k1",
"value": "qlkQMUr9ugbXvV62YmPa0HB9AA9FcppIrVmypTxskg8="
}
}
Copy the "pub_key" value. You will need it in the form becoming a validator: Public key (base64)