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

[FEATURE]: Chain-specific .koinosrc #187

Open
1 task done
lukemwillis opened this issue Mar 6, 2023 · 0 comments
Open
1 task done

[FEATURE]: Chain-specific .koinosrc #187

lukemwillis opened this issue Mar 6, 2023 · 0 comments
Labels
enhancement New feature or request story

Comments

@lukemwillis
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

New feature

It would be great if .koinosrc allowed you to specify multiple configurations based on chain ID.

[mainnet]:
  register mycontract AAA
  register name_service BBB

[testnet]:
  register mycontract CCC
  register name_service DDD

[custom-chain-id]:
  register mycontract EEE
  register name_service FFF

[all]:
  register_system_contracts

register_system_contracts would be shorthand for registering all the contracts returned by name_service (probably deserves its own feature request--not required for this). This scheme would make it much easier to use CLI, but it would also necessitate re-running .koinosrc commands every time the user disconnects/connects. Which would also mean unregistering addresses automatically.

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request story
Projects
None yet
Development

No branches or pull requests

2 participants