This folder contains coin file(json).
If you want add coin to atomicswap-qt, you can pull request. I present the procedure.
- 1, Add to <coin name>.json
- json params explanation
example json:{ "name": "Bitcoin", "unit": "BTC", "p2pkh": 0, "p2sh": 5, "bech32_hrp": "bc", "req_ver": 170000, "port": 8332 }nameparams
Coin name.unitparams
Coin symbol.p2pkhparams
Prefix of "pay to public key hash".p2shparams
Prefix of "pay to script hash".bech32_hrpparams
Prefix of bech32 address.req_verparams
The version value that needs to be "signrawtransactionwithwallet".
If all coin version doesn't need it, please set99999999.portparams
Please set default port number.tx_verparams (optional)
Tx Version. Default is "2". If coin can't use "2", please set number. For example, Koto needs set "4".ver_idparams (optional)
Version Group Id. Koto needs this params.sign_walletparams (optional)
Sub params ofreq_ver. This params is bool type. If this params is true, all version coind use "signrawtransactionwithwallet".pathparams (optional)
Custom coin directory path. Please set for each OS(Windows, Darwin, Linux). For Example, MicroBitcoin needs this params.
- json params explanation
- 2, Add coin icon to this folder. Please add coin icon.(png or jpg)
- 3, Add coin name to coin_list Please add coin name to util.py.