🔌 Run the Data Reporter

➡️ Update service

sudo tee /etc/systemd/system/layerd.service > /dev/null <<EOF
[Unit]
Description=tellor node service
After=network-online.target

[Service]
User=root
ExecStart=$(which cosmovisor) run start --api.enable --api.swagger --price-daemon-enabled=true --panic-on-daemon-failure-enabled=false --key-name $TELLOR_WALLET --keyring-backend test --home $HOME/.layer
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
Environment="DAEMON_HOME=/root/.layer"
Environment="DAEMON_NAME=layerd"
Environment="UNSAFE_SKIP_BACKUP=true"
Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/root/.layer/cosmovisor/current/bin"
Environment="ETH_RPC_URL=wss://a.good.sepolia.rpc.url"
Environment="TOKEN_BRIDGE_CONTRACT=0x6ac02f3887b358591b8b2d22cfb1f36fa5843867"
Environment="WITHDRAW_FREQUENCY=21600"
Environment="REPORTERS_VALIDATOR_ADDRESS="$(layerd keys show $TELLOR_WALLET --bech val -a)"

[Install]
WantedBy=multi-user.target
EOF

➡️ Indexer must be kv

sed -i -e "s/^indexer *=.*/indexer = \"kv\"/" $HOME/.layer/config/config.toml

➡️ Create reporter command

layerd tx reporter create-reporter 0.25 1000000 --from $TELLOR_WALLET --chain-id layertest-3 --gas 300000 --gas-prices="0.00025loya" --yes

Check if your reporter was created successfully

layerd query reporter reporters | grep YOUR_TELLOR_ADDRESS

If you see your address in the list, your reporter was created successfully.

Restart your node

sudo systemctl daemon-reload
sudo systemctl restart layerd
sudo journalctl -fu layerd -o cat

To see your report transactions, query the oracle module with the command:

layerd query oracle get-reportsby-reporter YOUR_TELLOR_ADDRESS