Run a Data Reporter (testnet)

Operate a Data Reporter!

Prerequisites

1) Configure a Reporter on Tellor

Use the layerd cli register and initialize your reporter configuration. Commission-rate and min-tokens-required are shown at safe values, but can be adjusted (now or later) for personal preference:

# create-reporter [commission-rate] [min-tokens-required] [moniker] [flags]
./layerd tx reporter create-reporter 0.05 1000000 REPORTER_MONIKER --from YOUR_ACCOUNT_NAME --chain-id layertest-4 --fees 10loya --yes

Parameters:

  • A (example) commision-rate of 0.05 means that you get 5% of rewards from your selectors.

  • A (example) min-tokens-required value of 1000000 prevents spam by requiring that selectors have at least 1 TRB in their wallet. This can be changed later.

  • Choose a REPORTER_MONIKER that you love! (It does not need to be the same as your validator moniker.)

2) Check if your reporter was created successfully:

./layerd query reporter reporters | grep -A 7 YOUR_TELLOR_ADDRESS

If your reporter was created successfully, this will output your reporter information.

3) Download the latest reporterd binary:

mkdir -p ~/layer/binaries/reporter && cd ~/layer/binaries/reporter && wget https://github.com/tellor-io/layer/releases/download/reporterd%2Fv0.1.2/reporterd_Linux_x86_64.tar.gz && tar -xvzf reporterd_Linux_x86_64.tar.gz && rm reporterd_Linux_x86_64.tar.gz

4) Create .env

Be sure to configure these variables here or in your shell. (The .env file is required even if it's empty):

Note: The API keys are not required, but reporters should consider setting them to enable reporting for all tipped feeds. This ensures maximum earnings.

5) Start the reporter:

The logs should soon begin showing information about your cycle list reports!

Congratulations on becoming a Tellor Reporter! 🎉

Last updated