Installation
Chain ID
Latest Version Tag
Custom Port
Setup validator name
MONIKER="YOUR_MONIKER_GOES_HERE"Install dependencies
sudo apt -q update
sudo apt -qy install curl git jq lz4 build-essential
sudo apt -qy upgradesudo rm -rf /usr/local/go
curl -Ls https://go.dev/dl/go1.19.13.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
eval $(echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee /etc/profile.d/golang.sh)
eval $(echo 'export PATH=$PATH:$HOME/go/bin' | tee -a $HOME/.profile)Download and build binaries
# Clone project repository
cd $HOME
rm -rf ojo
git clone https://github.com/ojo-network/ojo.git
cd ojo
git checkout v0.3.1-rc2
# Build binaries
make build
# Prepare binaries for Cosmovisor
mkdir -p $HOME/.ojo/cosmovisor/genesis/bin
mv build/ojod $HOME/.ojo/cosmovisor/genesis/bin/
rm -rf build
# Create application symlinks
sudo ln -s $HOME/.ojo/cosmovisor/genesis $HOME/.ojo/cosmovisor/current -f
sudo ln -s $HOME/.ojo/cosmovisor/current/bin/ojod /usr/local/bin/ojod -fInstall Cosmovisor and create a service
Initialize the node
Download latest chain snapshot
Start service and check the logs
Set up Price Feeder
Install the pricefeeder binary and create directory for pricefeeder configuration
Check price-feeder version
Create new wallet for pricefeeder and save 24 word mnemonic phrase
24 word mnemonic phraseExport keyring password
Set up variables
Fund the pricefeeder-wallet with some testnet tokens
Delegate pricefeeder responsibility
Set pricefeeder configuration values
Setup the systemd service
Register and start the systemd service
View pricefeeder logs
Useful commands
Last updated
