Testnet

Run a Sentry Node from Binaries

Prerequisites:

build-essential installed on both the sentry and the validator machines.

To install:

sudo apt-get install build-essential

Go 1.18 installed on validator machine.

To install:

wget https://raw.githubusercontent.com/Ramestta-Blockchain/launch/master/go-install.sh
bash go-install.sh
sudo ln -nfs ~/.go/bin/go /usr/bin/go

Docker and RabbitMQ to install on validator machines.

sudo apt-get update
sudo apt install rabbitmq-server

To install sublime-text:

sudo snap install sublime-text --classic

Installing Heimdall:

Heimdall is the proof-of-stake verifier layer responsible for checkpointing the representation of the Plasma blocks to the Ramestta mainnet.

Clone the Heimdall repository👍

Check the Heimdall installation:

note

Before proceeding, Heimdall should be installed on both the sentry and validator machines.

Installing Bor​

Bor is the sidechain operator that acts as the block production layer, which syncs with Heimdall to select block producers and verifiers for each span and sprint.

Clone the Bor repository👍

Install Bor:

Create symlinks:

Check the Bor installation:

note

Before proceeding, Bor should be installed on both the sentry and validator machines.

Setting Up Node Files:

Node files need to be set up on both the sentry and validator machines.

Fetching the launch repository​

Clone the launch repository:

Setting up the launch directory​

On the validator machine​

Create a node directory:

Copy the files and scripts from the launch directory to the node directory:

Setting up the network directories:

Setting up Heimdall​

Change to the node directory:

Run the setup script:

Setting up Bor​

Change to the node directory:

Run the setup script:

show enode:

Run the setup script:

Setting Up the Services:

Run this section both on the sentry and validator machines.

Navigate to the node directory:

Run the setup script:

Copy the service file to the system directory:

Starting the Heimdall service​

You will now start the Heimdall service on the validator machine. Once the Heimdall service syncs, you will start the Bor service on the validator machine.

Start the Heimdall service:

Start the Heimdall rest-server:

Check the Heimdall service logs:

Check the Heimdall rest-server logs:

Check the sync status of Heimdall:

In the output, the catching_up value is:

  • true — the Heimdall service is syncing.

  • false — the Heimdall service is synced.

Wait for the Heimdall service to fully sync.

Starting the Bor service​

Once the Heimdall service on the validator machine syncs, start the Bor service on the validator machine.

Start the Bor service:

Check the Bor service logs:

Service to Auto Start After Server Crash/Reboot

Last updated