eco-stake / restake-ui

Auto-compounder app for Cosmos blockchains using Authz
https://restake.app
MIT License
7 stars 17 forks source link

enroll operators via public key bytes #48

Open joeabbey opened 2 years ago

joeabbey commented 2 years ago

it should be possible via https://www.npmjs.com/package/@cosmjs/encoding

to have an operator specify

{
   validator_bytes: "33BA2F9D2BB42A89BDE4A1A38AFBBC0731A5421C",
   operator_bytes: "2D37B29234866C395BD1ECDCAE88BF614D0A6C4B",
}

And then they could be applicable for most chains (there will probably be chains at some point that want to be unique and mess this up though)

tombeynon commented 2 years ago

Always going to be one chain (probably Nomic). Love this, definitely improve onboarding. We could even just add a script which automates the population of networks.json from the pub key in the interim

nullmames commented 2 years ago

evmos ^^