Good to know: You need a minimum 8 core, 16gb ram and 120gb NVME disk to make it running on your machine . Also user "root" are needed. using non root user may lead to error!
Create new wallet account for your nodes or use existing
// This for creating new wallet for your nodes
// create new keystore folder and create pwd file with your password
mkdir keystore
cd keystore
echo "$PASSWORD" >> pwd.txt
// generate new wallet
cd ..
docker run --entrypoint="" --rm -v $PWD:/data -it qblockchain/q-client:1.2.3 geth account new --datadir=/data --password=/data/keystore/pwd.txt
// OR you can also use your own wallet
// set your password on keystore folder
mkdir keystore
cd keystore
echo "$PASSWORD" >> pwd.txt
// then upload your UTC wallet file into folder: mainnet-public-tools/validator/keystore
if you only have private key, check here for tutorial on how you can get (generate) your UTC wallet file using privatekey.
And you'll got some data on your screen, SAVE THE OUTPUT DATA! also use any sftp to save the json file generated on the keystore folder
Setup ENV file
// copy env filae from example
cp .env.example .env
// change your Q wallet address without 0x, and change your nodes ip and port
Create a ticket on Q blockchain discord to request your mainnet-Key. this is optional but if you want your nodes to be available on stats pages you need to add your mainnet-key to the docker file configuration.
// configure the docker
nano docker-compose.yaml
Then add "--ethstats=<Your_Validator_Name>:<Mainnet_access_key>@stats.q.org",