Over

Over is a decentralization-centric blockchain that offers reduced state size, fosters consensus with decentraliza- tion and usability, and facilitates serverless dApps.

Over Protocol greatly reduces the requirements for running a node, making it possible for anyone to run their own node. Over employs an algorithm to achieve a decentralized, fast, and safe consensus system. Finally, Over creates a standalone application ecosystem that operates without a web server by directly hosting applications on nodes. Prerequisites

Before starting, ensure you have the following:

  • Server or VPS with minimum hardware requirements:

    • CPU: 4 cores

    • RAM: 16 GB

    • Disk: 200 GB SSD

    • OS: Ubuntu 20.04 or later

  • Basic Linux command-line knowledge

  • Stable internet connection

  • Git, Docker, and Go installed

You will also need some Over Network tokens to stake as a validator.

Set Up Your Server

Start by logging into your server using SSH. Use the following command:

ssh user@your_server_ip

Update the system packages:

sudo apt update && sudo apt upgrade -y

Install dependencies:

sudo apt install git build-essential ufw curl jq -y
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker $USER

Logout and log back in for Docker group changes to take effect.

Install Go:

wget https://go.dev/dl/go1.20.7.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.20.7.linux-amd64.tar.gz
echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.bashrc
source ~/.bashrc

Verify Go installation:

go version

Clone the Over Network Repository

Next, clone the official Over Network repository:

git clone https://github.com/OverNetwork/over-node.git
cd over-node

Build the Validator Node

Build the Over node binary by running:

make build

Once built, move the binary to your $PATH:

sudo mv ./build/overd /usr/local/bin/

Verify the installation:

overd version

Initialize the Node

Before you start the node, initialize it by providing your desired moniker (validator name):

overd init <your_moniker> --chain-id over-mainnet

Next, download the genesis file required for the Over Network mainnet:

curl https://raw.githubusercontent.com/OverNetwork/mainnet/main/genesis.json -o ~/.overd/config/genesis.json

Configure the Validator

Edit the config.toml file to configure your validator node:

nano ~/.overd/config/config.toml
  • Set minimum-gas-prices to an appropriate value, e.g., 0.025over.

  • Ensure your public IP address is set in the external_address field.

Save and exit the file.

Start the Node

Start your node and sync it with the blockchain:

overd start

To run the node in the background, consider using a service manager like systemd. Create a service file for the node:

sudo nano /etc/systemd/system/overd.service

Paste the following configuration:

[Unit]
Description=Over Network Validator Node
After=network.target

[Service]
User=<your_username>
ExecStart=/usr/local/bin/overd start
Restart=on-failure
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target

Save and exit the file, then enable and start the service:

sudo systemctl enable overd
sudo systemctl start overd

Check the node status to ensure it is syncing properly:

overd status

Create and Submit Your Validator

Once the node is fully synced, you can create your validator.

Generate a Validator Key:

First, create a wallet:

overd keys add <your_wallet_name>

Save your mnemonic and private keys in a secure place.

Fund Your Wallet:

Transfer Over tokens to your newly created wallet from an exchange or another wallet.

Submit Your Validator Transaction:

Once your wallet is funded, run the following command to create your validator:

overd tx staking create-validator \
  --amount <stake_amount>over \
  --from <your_wallet_name> \
  --commission-rate "0.10" \
  --commission-max-rate "0.20" \
  --commission-max-change-rate "0.01" \
  --min-self-delegation "1" \
  --pubkey $(overd tendermint show-validator) \
  --moniker <your_moniker> \
  --chain-id over-mainnet \
  --gas auto \
  --gas-adjustment 1.5 \
  --gas-prices 0.025over

After submitting this transaction, your validator will be active, and you can begin earning rewards.

Monitor Your Validator

It’s essential to monitor your validator for uptime and performance. You can use the following commands to check your validator's status:

Check validator status:

overd query staking validator $(overd keys show <your_wallet_name> --bech val -a)

View logs:

To view the node logs, use:

journalctl -u overd -f

Restart or stop your node:

To restart:

sudo systemctl restart overd

To stop:

sudo systemctl stop overd

Last updated