KonsorTech
  • Mainnet
    • 8ball
      • public_endpoint
      • State Sync
      • validator
    • Acre
      • public_endpoint
      • Snapshots
      • State Sync
      • validator
    • Arkhadian
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Atomone
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Aura
      • public_endpoint
      • Daily Snapshot (Every 12 Hours)
      • State Sync
      • validator
      • Aura Decentralization Maps
    • Bitcanna
      • Node Geographical Locations
      • public_endpoint
      • Daily Snapshot (Every 6 Hours)
      • State Sync
      • validator
      • Bitcanna Decentralization Maps
      • Upgrade
    • Blockx
      • Custom Explorers
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Bluzelle
      • public_endpoint
      • Snapshot
      • State Sync
    • Composable
      • validator
    • Crossfi
      • publilc_endpoint
      • Snapshot
      • State Sync
      • validator
    • Decentr
      • public_endpoint
      • State Sync
      • validator
    • Echelon
      • public_endpoint
      • State Sync
      • validator
    • Empower
      • public_endpoint
      • State Sync
      • validator
    • Entangle
      • public_endpoint
      • Snapshot
      • Statesync
      • validator
    • Gitopia
      • public_endpoint
      • Daily Snapshot (Every 6 Hours)
      • State Sync
      • validator
    • Gravity-Bridge
    • Haqq
      • Custom Explorers
      • Public Endpoint
      • Snapshot
      • State Sync
      • validator
    • Humans
      • Custom Explorers
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Irisnet
      • public_endpoint
      • Daily Snapshot
      • Statesync
      • validator
    • KYVE
      • public_endpoint
      • State Sync
      • validator
    • Lambda
      • public_endpoint
      • State Sync
      • validator
    • LumenX
      • public_endpoint
      • Daily Snapshot
      • State Sync
      • validator
    • How to Run Massa Node
    • Mises
      • public_endpoint
      • State Sync
      • validator
    • Mun
      • public_endpoint
      • Daily Snapshot (Every 12 Hours)
      • Statesync
      • validator
    • NEAR
      • How to update near mainnet node
    • Neutaro
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Nibiru
      • public_endpoint
      • State Sync
      • validator
    • Nolus
      • public_endpoint
      • Snapshot Every 6 Hourse
      • State Sync
      • validator
    • Odin-Freya
      • public_endpoint
      • State Sync
      • validator
    • Orai
      • Custom Explorers
      • Public Endpoint
      • Snapshot
      • State Sync
      • Update to ASA-2024-007 security patch For Non Docker Users and Non Cosmovisor
      • validator
    • Planq
      • public_endpoint
      • Daily Snapshot
      • State Sync
      • validator
      • Upgrade
        • v1.0.3
    • Pointnetwork
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Quicksilver
      • Custom Explorer
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Realio
      • public_endpoint
      • Daily Snapshot (Every 12 Hours)
      • State Sync
      • validator
    • Seda
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Selfchain
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Sge
      • Public Endpoint
      • Snapshot
      • Statesync
      • validator
    • Terp
      • public_endpoint
      • State Sync
      • validator
    • Umee
      • State Sync
    • Uptick
      • Public Endpoint
      • Daily Snapshot (Every 12 Hours)
      • State Sync
      • validator
      • Uptick Decentralization Maps
    • Vidulum
      • public_endpoint
      • State Sync
      • validator
  • Testnet
    • 0g
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Airchains
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Andromeda
      • public_endpoint
      • State Sync
      • validator
    • Arkeo
      • validator
    • Artela
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Atomone
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Aura
      • public_endpoint
      • State Sync
      • validator
    • Bitcanna
      • public_endpoint
      • Daily Snapshot (Every 6 Hours)
      • State Sync
      • validator
      • upgrade
    • Blockx
      • Custom Explorers
      • public_endpoint
      • State Sync
      • validator
    • Bonus-block
      • public_endpoint
      • State Sync
      • validator
    • Celestia
      • Usefull CLI guide for celestia light node
    • Coreum
      • public_endpoint
      • State Sync
    • Crossfi
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Defund
      • public_endpoint
      • State Sync
      • validator
    • Empeiria
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Empower
      • public_endpoint
      • State Sync
      • validator
    • Entangle
      • public_endpoint
      • Snapshot
      • validator
    • Gitopia
      • public_endpoint
      • State Sync
      • validator
    • Haqq-network
      • public_endpoint
      • State Sync
      • validator
    • Hedge
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Humans
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
      • Friction-Testnet
        • validator
        • Task
          • Mission-2
            • Restart
              • Restart 1 - Sun May 14 2023 5:03PM UTC
              • Restart 2 - Sun May 14 2023 5:43PM UTC
              • Restart 3 - Sun May 14 2023 6:52PM UTC
    • Hypersign
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Initia
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • MUN
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Mande
      • public_endpoint
      • State Sync
      • Introducing Mande Network’s Incentivized Testnet-2
    • Mantra
      • Custom Explorers
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
      • Mantra Testnet Decentralization Maps
    • Mars
      • public_endpoint
      • State Sync
      • validator
    • Namada
      • CLI for Namada
      • pre-genesis
      • public_enpoint
      • Snapshot
      • Upgrade Namada
    • Neutron
      • Tendermint_KMS
    • Nibiru
      • public_endpoint
      • State Sync
      • validator
    • Nolus
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
      • Upgrade
    • Noria
      • public_endpoint
      • validator
    • Worker Installation
    • Ollo
      • public_endpoint
      • State Sync
    • Pryzm
      • Custom Explorer
      • How To Install & Run Pryzm Pricefeeder
      • Public Endpoint
      • Snapshot
      • State Sync
      • validator
    • Quicksilver
      • Custom Explorer
      • Public Endpoint
      • State Sync
      • validator
    • Realio
      • public_endpoint
      • State Sync
      • validator
    • Selfchain
      • Custom Explorers
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Sge
      • Public Endpoint
      • Statesync
      • validator
    • Side
      • public_endpoint
      • Snapshots
      • State Sync
      • validator
    • Swisstronik
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Symphony
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • Terra-goa
      • upgrade
    • TimpiTN
      • public_endpoint
      • validator
    • Union
      • public_endpoint
      • Snapshot
      • State Sync
      • validator
    • Uptick
      • public_endpoint
      • State Sync
      • validator
      • Automatic upgrade
    • Warden
      • public_endpoint
      • State Sync
      • validator
    • XRPLEVM
      • Public Endpoints
      • Snapshot
      • State Sync
      • validator
    • impact-protocol
    • q-blockchain
    • sui-guide
      • docker
    • Composable
      • Testnet-2
        • validator
      • Testnet-3
        • validator
Powered by GitBook
On this page
  • Setting up vars
  • Update packages
  • Install dependencies
  • Install go
  • Download and build binaries
  • Init app
  • Set seeds and peers
  • Disable indexing
  • Config pruning
  • Set minimum gas price
  • Create service
  • Register and start service
  1. Mainnet

Gravity-Bridge

How To Install Full Node Gravity Bridge Mainnet

Setting up vars

Your Nodename (validator) that will shows in explorer

NODENAME=<Your_Nodename_Moniker>

Save variables to system

echo "export NODENAME=$NODENAME" >> $HOME/.bash_profile
if [ ! $WALLET ]; then
	echo "export WALLET=wallet" >> $HOME/.bash_profile
fi
echo "export GRAVITY_CHAIN_ID=gravity-bridge-3" >> $HOME/.bash_profile
source $HOME/.bash_profile

Update packages

sudo apt update && sudo apt upgrade -y

Install dependencies

sudo apt install curl build-essential git wget jq make gcc tmux net-tools ccze -y

Install go

if ! [ -x "$(command -v go)" ]; then
  ver="1.19.4"
  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
fi

Download and build binaries

cd $HOME
mkdir gravity-bin && cd gravity-bin
wget https://github.com/Gravity-Bridge/Gravity-Bridge/releases/download/v1.8.1/gravity-linux-amd64
mv gravity-linux-amd64 gravity
wget https://github.com/Gravity-Bridge/Gravity-Bridge/releases/download/v1.8.1/gbt
chmod +x *
sudo mv * /usr/bin/

Init app

gravity init $NODENAME --chain-id $GRAVITY_CHAIN_ID

Download configuration

wget https://raw.githubusercontent.com/Gravity-Bridge/gravity-docs/main/genesis.json
mv genesis.json $HOME/.gravity/config/genesis.json
wget -O "$HOME/addrbook.json" https://snapshots.polkachu.com/addrbook/gravity/addrbook.json
mv "$HOME/addrbook.json" ~/.gravity/config

Set seeds and peers

seeds="ade4d8bc8cbe014af6ebdf3cb7b1e9ad36f412c0@seeds.polkachu.com:14256,86bd5cb6e762f673f1706e5889e039d5406b4b90@gravity.seed.node75.org:10556"
peers="73e27e9b376d2f58d80e29e8175542cb01c3024d@135.181.73.170:26856,ef9748625b4739c5411e276cf2cb0d2742a037f9@54.36.63.85:26656,39490daffac0c7847b0d2617e412b2942055a82b@95.214.53.46:26656,906114620df87a270b89404fdc7f15b3760fa34e@95.214.53.27:42656"
sed -i -e 's|^seeds *=.*|seeds = "'$seeds'"|; s|^persistent_peers *=.*|persistent_peers = "'$peers'"|' $HOME/.gravity/config/config.toml

Disable indexing

indexer="null"
sed -i -e "s/^indexer *=.*/indexer = \"$indexer\"/" $HOME/.gravity/config/config.toml

Config pruning

sed -i 's|pruning = "default"|pruning = "custom"|g' $HOME/.gravity/config/app.toml
sed -i 's|pruning-keep-recent = "0"|pruning-keep-recent = "100"|g' $HOME/.gravity/config/app.toml
sed -i 's|pruning-interval = "0"|pruning-interval = "50"|g' $HOME/.gravity/config/app.toml

Set minimum gas price

sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0ugraviton\"/" $HOME/.gravity/config/app.toml

Create service

sudo tee /etc/systemd/system/gravity.service > /dev/null <<EOF
[Unit]
Description=gravity
After=network-online.target

[Service]
User=$USER
ExecStart=$(which gravity) start --home $HOME/.gravity
Restart=on-failure
RestartSec=3
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
EOF

Register and start service

sudo systemctl daemon-reload
sudo systemctl enable gravity
sudo systemctl restart gravity && sudo journalctl -u gravity -f -o cat
PreviousvalidatorNextHaqq

Last updated 2 years ago