Installation
Recommended Hardware: 8 Cores, 64GB RAM, 500GB of storage (NVME)
Installation
Install dependencies, if needed
sudo apt update && sudo apt upgrade -y
sudo apt install curl git jq build-essential gcc unzip wget lz4 -y
sudo apt-get install wget liblz4-tool aria2 -yInstall go, if needed
cd $HOME && \
ver="1.22.0" && \
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz" && \
sudo rm -rf /usr/local/go && \
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz" && \
rm "go$ver.linux-amd64.tar.gz" && \
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile && \
source ~/.bash_profile && \
go versionDowload ibwasmvm.x86_64.so
wget -O /lib/libwasmvm.x86_64.so https://github.com/CosmWasm/wasmvm/releases/download/v1.3.0/libwasmvm.x86_64.soSet vars
echo "export WALLET="wallet"" >> $HOME/.bash_profile
echo "export MONIKER="Chicharito"" >> $HOME/.bash_profile
echo "export HEDGE_CHAIN_ID="berberis-1"" >> $HOME/.bash_profile
echo "export HEDGE_PORT="10"" >> $HOME/.bash_profile
source $HOME/.bash_profile
Dowload Hedged
Config and init app
Download genesis and addrbook
Set custom ports in app.toml
Set custom ports in config.toml file
Pruning and indexer
Create hedged service for your node to run in the background
Start node
Check for your syncing progress
Create wallet
Check Balance
Create validator
Delegate to your self
Unjail
Get Validator Info
Node Snapshot Testnet Hedgeblock
Install requirement if don't have:
Stop node
Back up priv_validator_state.json
Reset chain data
Download Snapshot Data
Validator node move priv_validator_state.json that was backed up earlier
Restart node
Block check
Congratulation!!
Now you have completed your node for 0gchain and we will move on to creating your storage node next.
Last updated
Was this helpful?