tellor-io / telliot-feeds

Telliot feeds
https://tellor-io.github.io/telliot-feeds
Other
26 stars 10 forks source link

Add Flag for Setting the Network you Want to Report on #653

Open 0xSpuddy opened 1 year ago

0xSpuddy commented 1 year ago

Currently the network is set by having a chained account entry for each network that you want to report on, so to use the same address the telliot user needs to have multiple chained accounts even if the address is the same. for example:

Account name: arbtest2, address: 0xbb73e2418a201434ee87d46349d5301e9d83babb, chain IDs: [421613]
Account name: goerli3, address: 0xbb73e2418a201434ee87d46349d5301e9d83babb, chain IDs: [5]
Account name: chiado2, address: 0xbb73e2418a201434ee87d46349d5301e9d83babb, chain IDs: [10200]
Account name: hyperspace3, address: 0xbb73e2418a201434ee87d46349d5301e9d83babb, chain IDs: [3141]

This works great, but it becomes difficult to remember what account to use when running telliot accross many different networks with different goals for different telliot instances / addresses.

This issue requests adding adding a flag to set the network so that the address/account can have the same name to be used on different networks. I realize that this is a big change, and I might be the only person in the world who has this problem, but it could help others in the future when tellor gains more adoption.

Please comment if there are any questions. Thanks for reading!