Skip to content

tellor-io/py-relayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Layer Relayer

This is a simple relayer that relays oracle data and validator set updates from tellor layer to evm chains.

Setup

We assume you have python installed. Note, if you are running on ubuntu, see the additional requirements below.

  1. Clone the repo:
git clone https://github.com/tellor-io/py-relayer.git
  1. Navigate to the repository directory:
cd py-relayer
  1. Create a virtual environment:
python3 -m venv venv
source venv/bin/activate
  1. Install the dependencies:
pip install -r requirements.txt
  1. Copy the .env.example file to .env and set the appropriate environment variables:
cp .env.example .env

The "email" section of the .env file is optional. If you want to receive emails when layer is down, input your gmail username and password. We recommend using an app password for your gmail account.

Additional Requirements for Ubuntu

If you are running the relayer on ubuntu, you may need to install additional tools:

sudo apt update
sudo apt install build-essential python3-dev

After installing these dependencies, proceed with the setup instructions above.

Run the Relayer

python3 src/relayer.py

About

simple tellor layer relayer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages