Installation (Validator Node)
Automatic Installation
source <(curl -s https://raw.githubusercontent.com/NodersUA/Scripts/main/0g)Manual Installation
Setting up a 0g node
# Install developer packages
sudo apt update && \
sudo apt install curl git jq build-essential gcc unzip wget lz4 -y# Install Go
source <(curl -s https://raw.githubusercontent.com/NodersUA/Scripts/main/system/go)# Set the variables
# Come up with the name of your node and replace it instead <your_moniker>
MONIKER=<your_moniker>
echo 'export MONIKER='$MONIKER >> $HOME/.bash_profile
echo "export OG_CHAIN_ID=zgtendermint_16600-2" >> $HOME/.bash_profile
echo "export OG_PORT=47" >> $HOME/.bash_profile
source $HOME/.bash_profile
# check whether the last command was executedChange ports (Optional)
Setup config
(OPTIONAL) Turn off indexing in config.toml
Now all ok, check the status
Wallet
The wallet has been created. In the last line there will be a phrase that must be written down
Go to the faucet and request tokens to your evm address
Validator
Do not forget to create a profile on https://keybase.io/ and set a profile photo there that will be imported by key and used for your validators.
Check yourself in the list explorer and fill out the form
Or by command
!!! Save priv_validator_key.json which is located in /root/.0gchain/config
Last updated
Was this helpful?