Relay Data to EVM Chains
Relay oracle data, validator set, and bridge information updates back and forth between tellor layer and any EVM chain.
Last updated
Relay oracle data, validator set, and bridge information updates back and forth between tellor layer and any EVM chain.
Last updated
The queries tellor for oracle data and their proofs and submits them to a user contract on other chains.
Clone the repo:
Navigate to the repository directory:
Create a virtual environment:
Install the dependencies:
Install the package:
Copy the .env.example file to .env and set the appropriate environment variables:
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 for your gmail account.
Other than the email section, all .env variables can alternatively be set through the CLI. We recommend setting your ethereum private key in the .env file for security reasons. For convenience, you should set any parameters which tend to remain constant across runs in the .env file. CLI arguments will override .env variables.
If you are running the relayer on ubuntu, you may need to install additional tools:
After installing these dependencies, proceed with the setup instructions above.
The relayer provides several commands through its CLI:
This command initializes the TellorDataBridge contract after deployment. This must be run by the contract deployer address.
This command resets the validator set in the TellorDataBridge contract in the event that the last relayed validator set is over 21 days old. This can only be run by the TellorDataBridge contract’s guardian
address.
To see all available options for each command: