Add a Bitcoin Compatible coin to Agama Desktop

To learn about adding Komodo Assetchains to Agama look here . This guide will help you to add Bitcoin compatible coins into Agama desktop wallet. You have to edit the backend part and the UI part to add. Follow the guide carefully.

Backend

UI:

How to get network parameters

Note

  • You need to convert pubKeyHash (PUBKEY_ADDRESS), scriptHash (SCRIPT_ADDRESS) and wif (SECRET_KEY) decimal values to hexadecimal representation. You can use this website to do the conversion: https://www.binaryhexconverter.com/decimal-to-hex-converter .
  • PUBKEY_ADDRESS conversion example (KMD): 60 dec -> 0x3c hex
  • In case if SECRET_KEY consists of two decimal numbers (e.g. 63 + 128) sum them up and use the result (192) on the converter website listed above.

If you can’t find chainparams.cpp in your code base, try checking one of the files listed here

Please make sure the BTC compatible coin is working in Agama before making a PR. Pull requests containing partial information or not working assets/servers will remain unmerged until all requirements are fulfilled.