Skip to content

Sentinel Hub - Start Chain


The objective of this document is to get you to start the chain.

Step-by-step Instructions

Please note that the Operating System should be Ubuntu 16.04 or over.

A) Download and Install the latest version of the Sentinel Hub

1) Run the following command to download the Hub code

go get -u

2) Navigate to the hub directory

cd ${GOPATH}/src/

3) Checkout to the version v0.1.0

git checkout v0.1.0

4) Install the hub

make install

B) Start the Sentinel Hub

5) Check the installed hub version

sentinel-hubd version --long

Version should be v0.1.0 and git commit should be f7045014d77fc30fc63e0ab719537f5239476c3f

6) Download the final genesis file

wget -O ${HOME}/genesis.json

7) Check the SHA256 checksum of the genesis.json. It must match with 3e8be6d466c72bed945b65567cef076fb9e4da5d18a6e0c1535593c9f30b9d5a

sha256sum $HOME/genesis.json

8) Move the final genesis to the hub config directory

mv ${HOME}/genesis.json ${HOME}/.sentinel-hubd/config/

9) Add the seed nodes

  • Navigate to the directory ${HOME}/.sentinel-hubd/config/
  • Open the file config.toml with a text editor (Ex: nano, Vim)
  • Find the field seeds = "". By default it is line number 142.
  • Insert the below seed nodes (if there are multiple nodes separate with a comma)


  • Save the file

10) Increase the maximum open files limit

  • Open the file /etc/sysctl.conf
  • Append the below line and save it

    fs.file-max = 10000000

  • Run the command sudo sysctl -p

11) Reset all the previous chain data

sentinel-hubd unsafe-reset-all

12) Create a virtual terminal session. For info starting-named-session


13) Start the chain

sentinel-hubd start

14) Detach from virtual terminal session i.e. press CTRL+A+D. For info detach-from-linux-screen-session