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

Add --chain cli feature to support between chains #4277

Closed
mFarghaly opened this issue Oct 9, 2020 · 2 comments
Closed

Add --chain cli feature to support between chains #4277

mFarghaly opened this issue Oct 9, 2020 · 2 comments

Comments

@mFarghaly
Copy link

Please add a CLI flag for --chain to switch between networks instead of compiling multiple binaries and building Docker images for each network.

$ lotus # connect by default to mainnet
$ lotus --chain testnet
$ lotus --chain nerpa
$ lotus --chain butterfly

Most blockchain protocols clients like Ethereum and Bitcoin has a flag or CLI option for switching between different networks.

@dineshshenoy
Copy link

This seems like it could be a dangerous operation. Do we need to reset the node or should it be in a config file?

@rjan90
Copy link
Contributor

rjan90 commented Jul 31, 2021

I think this issue can be closed now as this has been merged? #rengjøring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants