Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.45 KB

setting-up-a-fullnode.md

File metadata and controls

54 lines (34 loc) · 1.45 KB

How to run a Gravity Bridge mainnet full node

A Gravity chain full node is just like any other Cosmos chain. Unlike the validator flow no external software is required.

What do I need

A Linux server with any modern Linux distribution, 2gb of ram and at least 20gb storage.

Download Gravity chain software

Syncing starts with v1.4.0 and you should upgrade to v1.5.0 when prompted and v1.5.2 when prompted again

wget https://github.com/Gravity-Bridge/Gravity-Bridge/releases/download/v1.4.0/gravity-linux-amd64
mv gravity-linux-amd64 gravity

chmod +x gravity
sudo mv gravity /usr/bin/

Init the config files

cd $HOME
gravity init mymoniker --chain-id gravity-bridge-3

Copy the genesis file

wget https://raw.githubusercontent.com/Gravity-Bridge/gravity-docs/main/genesis.json
cp genesis.json $HOME/.gravity/config/genesis.json

Add seed node

Change the seed field in ~/.gravity/config/config.toml to contain the following:


seeds = "2b089bfb4c7366efb402b48376a7209632380c9c@65.19.136.133:26656,63e662f5e048d4902c7c7126291cf1fc17687e3c@95.211.103.175:26656"

Configure your node for state sync

Follow this guide to configure your node for state sync if you do not skip this step you will have to start with Gravity v1.0 and upgrade when prompted. This will take a very long time.

Start your full node and wait for it to sync

gravity start