KomodoPlatform / komodo-wallet-desktop

Komodo Wallet Desktop GUI
https://komodoplatform.com/en/wallet/
GNU General Public License v2.0
238 stars 207 forks source link

[FEATURE REQUEST]: Allow adding and modifiying coin info and server from GUI #1354

Open damascene opened 3 years ago

damascene commented 3 years ago

Currently to add a new coin to AtomicDEX for initial swap or to modify an existing one a user need to modify text files and run too many commands.

Current setup:

  1. Manually setup mm2
  2. Get scripts and coin files
  3. Start mm2
  4. Modify coins
  5. Create connect/enable file
  6. Use curl to connect the new coin
  7. Connect the other pair
  8. Start another mm2 instance on another port
  9. duplicate all files for both mm2 instances
  10. modify the port for the second instance
  11. correctly calculate minimum trade amount
  12. Set sell order
  13. Set buy buy order

This involve too much effort and it's error prone IMHO.

Describe the solution you'd like I would like to see an option to copy a coin in GUI and modify it. For example, option to modify some parameters like Electrum server or required confirmations.

For example if a coin is a fork of bitcoin, user should be able to copy bitcoin and setup the coin specific parameters and hit save to have it in the DEX.

Describe alternatives you've considered If not possible to add it to GUI, Maye optional configuration setup in ~/.atomic_qt/config/custom_coins where user can add his custom coins.

scott-ftf commented 2 years ago

For what it is worth, we were having a similar conversation for a promotional AC coin we were creating on Komodo. The thought that came to my min dis there is a need for a standard that is published and maintained. It would seem using this standard it would be possible to create a form that requests the required information from the user, than submits the PR and outputs a script to setup the server (also the first two nodes if a Asset Chain).

This also means the maintainer of the form is also in control of any future changes in requirements streamlining the process and always having up to date documentation. Anyway, just additional 2 cents

smk762 commented 2 years ago

I like the idea for a "coin config generator". The API playground nodes and postman collection (https://github.com/KomodoPlatform/developer-docs/pull/372) might also help with user test swap and config testing.