âš™ī¸Installation

Docker Installation

Install Git

sudo apt update
sudo apt install git
git --version

Install Docker

sudo apt-get install apt-transport-https ca-certificates curl software-properties-common -y
curl -fsSL 
https://download.docker.com/linux/ubuntu/gpg
 | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] 
https://download.docker.com/linux/ubuntu
 $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce jq python3-pip -y
docker --version

Mint MOCK Elixir Tokens On Sepolia

Use Wallet of Metamask for mintting Sepolia ETH

Verify you are connected to the Ethereum Sepolia network and then click the "MINT 1,000 MOCK" button

Stake Your MOCK Tokens

Download The Environment Template

sudo mkdir -p /root/elixir

Download below template and put into above folder

STRATEGY_EXECUTOR_IP_ADDRESS= <IP VPS>
STRATEGY_EXECUTOR_DISPLAY_NAME= <Name>
STRATEGY_EXECUTOR_BENEFICIARY= <Wallet address>
SIGNER_PRIVATE_KEY= <Private key>

Running Your Validator

Pull The Docker Image

docker pull elixirprotocol/validator:v3

Start Your Validator

docker run -d \
  --env-file /root/elixir/validator.env \
  --name elixir \
  --restart unless-stopped \
  elixirprotocol/validator:v3

Check logs

docker logs -f elixir

Upgrading your validator

docker kill elixir
docker rm elixir
docker pull elixirprotocol/validator:v3

Last updated

Was this helpful?