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]: Visual Network Indicator #186

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

[FEATURE]: Visual Network Indicator #186

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

Comments

@lukemwillis
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

New feature

On the CLI prompt, display a visual indicator of which chain you're connected to.

When chain ID matches mainnet:

🔓 [mainnet] > 

When chain ID matches testnet:

🔓 [testnet] > 

Else:

🔓 [https://rpc-url.example.com] > 

Anything else?

No response

@lukemwillis lukemwillis added the enhancement New feature or request label Mar 6, 2023
@lukemwillis
Copy link
Contributor Author

Bonus: when mainnet/testnet, automatically register the system contracts at the appropriate addresses.

@sgerbino
Copy link
Member

sgerbino commented Mar 8, 2023

I don't think the chain ID of mainnet or testnet should be hardcoded in to koinos-cli which I consider to be framework-level. But maybe these definitions can be declared within .koinosrc using your other proposed feature here: #187

@sgerbino sgerbino added the task label Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request task
Projects
None yet
Development

No branches or pull requests

2 participants