This repository contains Apache Airflow DAGs for executing submitValue
transactions to Tellor Oracles.
You will need to run this using Docker and Docker Compose.
docker-compose up
ℹ️ This will take a while the first time you do it
After starting up Airflow, navigate to Admin > Connections
and setup the following:
- A
HTTP
connection calledinfura
with the connection'sExtra
as:
{
"http_endpoint_uri": "YOUR_INFURA_HTTP_URI",
"wss_endpoint_uri": "YOUR_INFURA_WSS_URI"
}
- Another
HTTP
connection calledYOUR_REPORTER_WALLET_ADDRESS
, that is, name this connection as the address you plan to use for reporting values to Tellor- Set the
Login
toYOUR_REPORTER_WALLET_ADDRESS
- Set the
Password
toYOUR_PRIVATE_KEY
(private key is needed to execute txns automatically)
- Set the
Lastly, navigate to Admin > Variables
and add the following:
tellor-address
- the contract address for the Tellor Oraclereporter-address
- the address used for reporting to the oracle
Once things have booted up, log in with username airflow
and password airflow
.