refactor(scripts): Refactor the init.sh script into a genesis builder golang cli tool.
Can I take this issue and start contributing?
absolutely 🙏 thanks for wanting to contribute
Was thinking it could be a executable that prompts you and stuff to add accounts, params etc.
Ill take a look at the script more in depth and make a minimal one, then I can add whatever features and extra prompts you would like. Does that sound good?
Sounds awesome :) thanks for contributing!
@itsdevbear Hey, still working on this. Sorry it's slow, it's taken me a while to read up on the inner workings/fundamentals of cosmos and put everything together. I'm about half way done, hoping to have something out in the next 2 days or so. Currently I'm able to prompt user for editing whatever portion of the automatically generated genesis.json file they'd like. After that my plan is to prompt user for adding accounts, and then should be good to go.
No need to apologize my friend :) sounds bullish
@itsdevbear Unfortunately after we last talked I got a gnarly stomach virus that put me out until today. I'd love to still work on this, but probably won't be able to get it done for a week or two since I need to play catchup at work. If that's not too much time for you guys, I'll keep chipping away when possible. If it is, please let me know so I can stop work and hopefully contribute again later.
No stress my friend hope you're feeling better
We've been chatting internally about this too, and would love to see wherever you're at now and give feedback :)
@technicallyty
working on this 🫡
felt the need for this while trying to decouple e2e test fixture from containerized node
for running e2e tests against an in-process node (easier to debug in dev)
https://github.com/berachain/polaris/pull/928 was migrating the seed scripts to go as a starting point, but i believe the CLI can be extended to suit more cases (setting up nodes for e2e docker / local, hive etc), which is where shell scripts -> go should make more sense