Closed yupasik closed 2 years ago
You can add new coin definitions in data/networks.json.
For example for dogecoin:
"dogecoin":
{
"description": "Dogecoin",
"currency_name": "dogecoin",
"currency_name_plural": "dogecoins",
"currency_symbol": "Ð",
"currency_code": "DOGE",
"prefix_address": "1E",
"prefix_address_p2sh": "16",
"prefix_bech32": "doge",
"prefix_wif": "9E",
"prefixes_wif": [
["0488B21E", "xpub", "public", false, "legacy", "p2pkh"],
["0488B21E", "xpub", "public", true, "legacy", "p2sh"],
["0488ADE4", "xprv", "private", false, "legacy", "p2pkh"],
["0488ADE4", "xprv", "private", true, "legacy", "p2sh"]
],
"bip44_cointype": 3,
"denominator": 0.00000001,
"dust_amount": 1000,
"fee_default": 200000000,
"fee_min": 1000000,
"fee_max": 10000000000,
"priority": 10
},
But of course when the altcoin is not a close relative of bitcoin. there will need to be some code changes as well.
Hello, is there any simple way to add altcoins networks definitions? Thanks