Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easier config generation for distributed bonder network #572

Open
shanefontaine opened this issue Feb 14, 2024 · 0 comments
Open

Easier config generation for distributed bonder network #572

shanefontaine opened this issue Feb 14, 2024 · 0 comments

Comments

@shanefontaine
Copy link
Member

Possibly this could mean re-thinking what the config looks like. Can we abstract it away entirely?

  • Not a perfect comparison, but running Geth, for example, just requires me to download Geth and run the command geth and possibly some optional flags. Maybe we can get close to that.
  • Current config generation and update is very manual (we generate and any updates we send them).

Ideally, a default covers almost everything (assuming they define their token and chains they want). Updates should be self-explanatory (mostly are now, IMO).

  • Possibly define initial options (token, chains, rpc endpoints) in a start command
    • Possibly update with an update command (hop-node update config rpc --chain=polygon --endpoint='https://...'). I think we have this.
  • Part of this could be removing some of the config options to simplify it. For example:
    • minThresholdAmount could be a default value based on the total stake (though this won’t matter in V2, I think)
      • routes can probably does not need to be defined in this format (probably just derived by the chains/tokens they define)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant