Is your feature request related to a problem? Please describe.
cmd/opencxd, while highly configurable, would benefit user-experience wise if there were some form of interactive setup during the first run.
The configuration options can be explained and prompted if there is no configuration file.
Describe the solution you'd like
Since cmd/opencxd already has a configuration file, it would make sense to add a prompt that generated one if one doesn't exist. Here's an idea of what it should look like:
Welcome to OpenCX! Here are some questions to help you get set up.
Would you like to create a cryptocurrency or assets exchange?
crypto, or
assets
opencx-setup# crypto
Which of the following coins would you like to support?
bitcoin,
litecoin,
vertcoin
opencx-setup# bitcoin, litecoin, vertcoin
Would you like to support lightning or other layer-2 solutions?
yes, or
no
opencx-setup# yes
... etc etc
Describe alternatives you've considered
A GUI setup would also work, but this gets the same functionality without having to incorporate any new frontend libraries.
Additional context
N/A
Is your feature request related to a problem? Please describe.
cmd/opencxd, while highly configurable, would benefit user-experience wise if there were some form of interactive setup during the first run.The configuration options can be explained and prompted if there is no configuration file.
Describe the solution you'd like
Since
cmd/opencxdalready has a configuration file, it would make sense to add a prompt that generated one if one doesn't exist. Here's an idea of what it should look like:Describe alternatives you've considered
A GUI setup would also work, but this gets the same functionality without having to incorporate any new frontend libraries.
Additional context
N/A