Run a Data Reporter

Operate a Data Reporter!

Staking

To create a reporter on Tellor Layer, you must first "stake" your address one of two ways. You must either create a validator -OR- delegate to a validator to bond your tokens.

  • Create a Validator: Your account is the KEYNAME account used for your validator.

  • Delegate to a Validator: If your reporter account is not a validator account, you must bond your address to a validator before you may create your reporter.

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 tellor-1 --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:

4) Create .env

Be sure to configure these variables here or in your shell. (The .env file is required but can be empty if you're setting these in a .service file or in .bashrc):

5) Start the reporter:

Note: Optional flags may be used to establish a stream of profit taking for your operation:

Optinal flags for auto-unbonding: --auto-unbonding-frequency : The frequency (in days) with which you would like to withdraw rewards (unlocked after 21 days).

--auto-unbonding-ammount : The amount of TRB (in loya) which you would like to auto-unbond.

--auto-unbonding-max-stake-percentage : A safeguard against automatically unbonding too much. Set this to a percentage of your stake ( 0.01 for 1%)

Here is an example start command for a reporter who wants to automatically unbond 2.999 TRB (2999999loya) per day with a maximum set to 1% of their total stake:

Congratulations on becoming a Tellor Reporter! 🎉

Last updated