fix(common): update support.json to include Firo

pull/1493/head
Pavol Rusnak 3 years ago
parent a305c774df
commit da7214d82f
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -11,6 +11,7 @@
"bitcoin:DASH": true,
"bitcoin:DGB": true,
"bitcoin:DOGE": true,
"bitcoin:FIRO": true,
"bitcoin:FJC": true,
"bitcoin:FLO": true,
"bitcoin:FTC": true,
@ -37,14 +38,13 @@
"bitcoin:XRC": true,
"bitcoin:XSN": true,
"bitcoin:XVG": true,
"bitcoin:XZC": true,
"bitcoin:ZCR": true,
"bitcoin:ZEC": true,
"bitcoin:ZNY": true,
"bitcoin:tDASH": true,
"bitcoin:tFIRO": true,
"bitcoin:tLTC": true,
"bitcoin:tPPC": true,
"bitcoin:tXZC": true,
"eth:AKA": true,
"eth:CLO": true,
"eth:EGEM": true,
@ -98,6 +98,7 @@
"bitcoin:DGB": "1.6.3",
"bitcoin:DOGE": "1.5.2",
"bitcoin:ELEMENTS": "1.8.3",
"bitcoin:FIRO": "1.6.2",
"bitcoin:FJC": "1.6.1",
"bitcoin:FLO": "1.7.2",
"bitcoin:FTC": "1.7.1",
@ -133,11 +134,11 @@
"bitcoin:XRC": "1.8.2",
"bitcoin:XSN": "1.8.0",
"bitcoin:XVG": "1.9.3",
"bitcoin:XZC": "1.6.2",
"bitcoin:ZCR": "1.8.4",
"bitcoin:ZEC": "1.8.1",
"bitcoin:ZNY": "1.8.2",
"bitcoin:tDASH": "1.6.2",
"bitcoin:tFIRO": "1.6.2",
"bitcoin:tGRS": "1.6.2",
"bitcoin:tHATCH": "1.8.4",
"bitcoin:tLTC": "1.6.2",
@ -145,7 +146,6 @@
"bitcoin:tPPC": "1.8.4",
"bitcoin:tQTUM": "1.8.1",
"bitcoin:tSMART": "1.7.1",
"bitcoin:tXZC": "1.6.2",
"erc20:ella:MINING": "1.6.2",
"erc20:esn:DGT": "1.7.1",
"erc20:esn:TOPM": "1.7.1",
@ -2319,6 +2319,7 @@
"bitcoin:DGB": "2.0.7",
"bitcoin:DOGE": "2.0.5",
"bitcoin:ELEMENTS": "2.1.4",
"bitcoin:FIRO": "2.0.7",
"bitcoin:FJC": "2.0.5",
"bitcoin:FLO": "2.0.11",
"bitcoin:FTC": "2.0.8",
@ -2354,11 +2355,11 @@
"bitcoin:XRC": "2.1.1",
"bitcoin:XSN": "2.0.11",
"bitcoin:XVG": "2.3.3",
"bitcoin:XZC": "2.0.7",
"bitcoin:ZCR": "2.1.7",
"bitcoin:ZEC": "2.1.1",
"bitcoin:ZNY": "2.1.1",
"bitcoin:tDASH": "2.0.8",
"bitcoin:tFIRO": "2.0.7",
"bitcoin:tGRS": "2.0.8",
"bitcoin:tHATCH": "2.1.6",
"bitcoin:tLTC": "2.0.7",
@ -2366,7 +2367,6 @@
"bitcoin:tPPC": "2.1.9",
"bitcoin:tQTUM": "2.1.1",
"bitcoin:tSMART": "2.0.8",
"bitcoin:tXZC": "2.0.7",
"erc20:ella:MINING": "2.0.7",
"erc20:esn:DGT": "2.0.8",
"erc20:esn:TOPM": "2.0.8",
@ -4534,6 +4534,7 @@
"bitcoin:DCR": true,
"bitcoin:DGB": true,
"bitcoin:DOGE": true,
"bitcoin:FIRO": true,
"bitcoin:FJC": true,
"bitcoin:GRS": true,
"bitcoin:KOTO": true,
@ -4549,7 +4550,6 @@
"bitcoin:TEST": true,
"bitcoin:VIA": true,
"bitcoin:VTC": true,
"bitcoin:XZC": true,
"bitcoin:ZCR": true,
"bitcoin:ZEC": true,
"bitcoin:tGRS": true,

@ -766,6 +766,62 @@ def by_name(name: str) -> CoinInfo:
overwintered=False,
confidential_assets=None,
)
elif name == "Firo":
return CoinInfo(
coin_name=name,
coin_shortcut="FIRO",
decimals=8,
address_type=82,
address_type_p2sh=7,
maxfee_kb=640000000,
signed_message_header="Zcoin Signed Message:\n",
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=136,
segwit=False,
fork_id=None,
force_bip143=False,
decred=False,
negative_fee=False,
curve_name='secp256k1',
extra_data=True,
timestamp=False,
overwintered=False,
confidential_assets=None,
)
elif name == "Firo Testnet":
return CoinInfo(
coin_name=name,
coin_shortcut="tFIRO",
decimals=8,
address_type=65,
address_type_p2sh=178,
maxfee_kb=1000000,
signed_message_header="Zcoin Signed Message:\n",
xpub_magic=0x043587cf,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=1,
segwit=False,
fork_id=None,
force_bip143=False,
decred=False,
negative_fee=False,
curve_name='secp256k1',
extra_data=True,
timestamp=False,
overwintered=False,
confidential_assets=None,
)
elif name == "Florincoin":
return CoinInfo(
coin_name=name,
@ -1802,60 +1858,4 @@ def by_name(name: str) -> CoinInfo:
overwintered=True,
confidential_assets=None,
)
elif name == "Zcoin":
return CoinInfo(
coin_name=name,
coin_shortcut="XZC",
decimals=8,
address_type=82,
address_type_p2sh=7,
maxfee_kb=640000000,
signed_message_header="Zcoin Signed Message:\n",
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=136,
segwit=False,
fork_id=None,
force_bip143=False,
decred=False,
negative_fee=False,
curve_name='secp256k1',
extra_data=True,
timestamp=False,
overwintered=False,
confidential_assets=None,
)
elif name == "Zcoin Testnet":
return CoinInfo(
coin_name=name,
coin_shortcut="tXZC",
decimals=8,
address_type=65,
address_type_p2sh=178,
maxfee_kb=1000000,
signed_message_header="Zcoin Signed Message:\n",
xpub_magic=0x043587cf,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
xpub_magic_multisig_segwit_p2sh=None,
xpub_magic_multisig_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=1,
segwit=False,
fork_id=None,
force_bip143=False,
decred=False,
negative_fee=False,
curve_name='secp256k1',
extra_data=True,
timestamp=False,
overwintered=False,
confidential_assets=None,
)
raise ValueError('Unknown coin name "%s"' % name)

Loading…
Cancel
Save