Installation
If you want to setup Ojo fullnode manually follow the steps below
Update and upgrade
sudo apt update && sudo apt upgrade -yInstall GO
if ! [ -x "$(command -v go)" ]; then
ver="1.19.3"
cd $HOME
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
fiInstall node
cd $HOME
git clone https://github.com/ojo-network/ojo.git
cd ojo
git checkout v0.1.2
make installSetting up vars
You should replace values in <> <YOUR_MONIKER> Here you should put name of your moniker (validator) that will be visible in explorer <YOUR_WALLET> Here you shoud put the name of your wallet
Configure your node
Initialize your node
Download genesis
(OPTIONAL) Set custom ports
If you want to use non-default ports
Set seeds and peers
Config pruning
Set minimum gas price and null indexer
Create Service
Reset blockchain info and restart your node
(OPTIONAL) Use State Sync
Starting a validator
1. Add a new key
(OR)
1. Recover your key
2. Request tokens from faucet
3. Create validator
4. Price-feeder setup
Install price-feeder binary
Add wallet for price-feeder
Set up password for price-feeder
Set up variables
Remove data from price-feeder dir and move price-feeder config
Set values in price-feeder config.toml
Delegate price-feeder rights to pfd_wallet
Create Service File for ojo-price-feeder
Enable and start price-feeder service
Check price-feeder logs to make sure it's operating
Your output should be like this and contain "successfully broadcasted tx" phrase
Last updated