eco-stake / restake

Auto-compounder script for Cosmos Validators using REStake
https://restake.app
MIT License
359 stars 303 forks source link

`src/networks.json` - Question about running the script #744

Closed vchong closed 11 months ago

vchong commented 11 months ago
  1. All the ownerAddresss in src/networks.json belong to Eco-stake?
  2. Do i have to replace all the ownerAddresss in src/networks.json with my own before running the script?

Thanks

tombeynon commented 11 months ago

@vchong you don't need to change that - it's actually unused now, it's left over from when the UI code was also in this repository, and defined which validator appeared at the top of the list on restake.app. It's not used at all for the REStake autostaking script and I'll remove it when I get a chance.

vchong commented 11 months ago

@tombeynon Thanks! Then what about src/networks.local.json? Do i put all my ownerAddresses in there instead, or else, how do i tell the script what my owner addresseses are? Or do i just need to submit a PR to the validator registry?

tombeynon commented 11 months ago

Just need to submit to validator registry, that's where it gets that info from. networks.local.json is for adjusting gas prices, timeouts etc.

vchong commented 11 months ago

Great, thanks a lot for the help!