Elixir is a modular DPoS network built to power liquidity on orderbook exchanges.
Elixir is cross-chain and composable: enabling orderbook DEXs to natively integrate Elixir Protocol - a decentralized protocol - into their core infrastructure to unlock retail liquidity for pairs, among other exciting use cases. The decentralized network serves as crucial underlying infrastructure allowing for exchanges and protocols to easily bootstrap liquidity to their books.
Elixir has 30+ native integrations into the core infrastructure of leading DEXs.
Ram | cpu | disk |
---|---|---|
4 GB |
8 Core |
30 GB SSD |
sudo apt update && sudo apt upgrade -y
sudo apt install curl iptables build-essential git wget lz4 jq make gcc nano automake autoconf tmux htop nvme-cli pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev -y
sudo apt update -y && sudo apt upgrade -y
for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update -y && sudo apt upgrade -y
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
# Docker version check
docker --version
Create an EVM metamask wallet and write its private and public keys
In Metamask, this can be done by clicking the "My Accounts" icon in the top right, and clicking "+ Create Account." You can obtain the private key by clicking Account Details from the ellipsis menu, and then clicking "Export private key".
- Enter the dashboard
- Connect the wallet you created in step 3
- Mint MOCK tokens
- Stake them
- Click
CUSTOM VALIDATOR
and enter your wallet public address and sign the tx
1- Download validator.env
:
wget https://raw.githubusercontent.com/0xmoei/elixir-validator/main/validator.env?token=GHSAT0AAAAAACVWEIZOVZJKZTBXY4ITUZUKZW4XSIA -O validator.env
2- Config validator.env
:
nano validator.env
STRATEGY_EXECUTOR_DISPLAY_NAME
: Your Validator NameSTRATEGY_EXECUTOR_BENEFICIARY
: Your Wallet Public KeySIGNER_PRIVATE_KEY
: Your Wallet Private Key
Ctrl+X+Y+ENTER
to save and exit
- Pull the docker images
docker pull elixirprotocol/validator:v3
- Run Validator
docker run -d \
--env-file ./validator.env \
--name elixir \
--restart unless-stopped \
-p 17690:17690 \
elixirprotocol/validator:v3
- Validator Logs:
docker logs -f elixir
Verify connectivity in the logs. It may take a minute or so for the first authorization to complete and for messages to start coming in.
- Validator Health Status:
curl 127.0.0.1:17690/health | jq
Response: "OK"
Team updates the validators frequently (always check discord), so you need to upgrade it using following commands
docker kill elixir
docker rm elixir
docker pull elixirprotocol/validator:v3 --platform linux/amd64
docker run -d \
--env-file ./validator.env \
--name elixir \
--restart unless-stopped \
-p 17690:17690 \
elixirprotocol/validator:v3