1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-21 23:18:13 +00:00

common/defs: add ZCR (#611)

This commit is contained in:
apollo 2019-10-11 16:01:11 -03:00 committed by Pavol Rusnak
parent 15d8f9def6
commit 74bcc05e2e
5 changed files with 71 additions and 1 deletions

View File

@ -0,0 +1,43 @@
{
"coin_name": "ZCore",
"coin_shortcut": "ZCR",
"coin_label": "ZCore",
"website": "https://zcore.cash",
"github": "https://github.com/zcore-coin/zcore-2.0",
"maintainer": "Erick Costa <erick@zcore.cash>",
"curve_name": "secp256k1",
"address_type": 142,
"address_type_p2sh": 145,
"maxfee_kb": 1000000,
"minfee_kb": 1000,
"signed_message_header": "ZCore Genesis Block mined by Mosqueiro",
"hash_genesis_block": "695b79c8c234b45b2eeb4722f33373e471c9b686ff78efeb39da95f824a9f81b",
"xprv_magic": 78791432,
"xpub_magic": 78792518,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 428,
"segwit": false,
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"default_fee_b": {
"Normal": 10
},
"dust_limit": 546,
"blocktime_seconds": 120,
"uri_prefix": "zcore",
"min_address_length": 34,
"max_address_length": 95,
"bitcore": [],
"blockbook": [
"https://blockbook.zcore.cash"
],
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,
"confidential_assets": null
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

@ -47,6 +47,7 @@
"bitcoin:XSN": true,
"bitcoin:XZC": true,
"bitcoin:ZCL": true,
"bitcoin:ZCR": true,
"bitcoin:ZEC": true,
"bitcoin:ZEN": true,
"bitcoin:tDASH": true,
@ -160,6 +161,7 @@
"bitcoin:XSN": "1.8.0",
"bitcoin:XZC": "1.6.2",
"bitcoin:ZCL": "1.8.0",
"bitcoin:ZCR": "1.8.4",
"bitcoin:ZEC": "1.7.1",
"bitcoin:ZEL": "1.8.3",
"bitcoin:ZNY": "1.8.2",
@ -1525,6 +1527,7 @@
"bitcoin:XSN": "2.0.11",
"bitcoin:XZC": "2.0.7",
"bitcoin:ZCL": "2.0.11",
"bitcoin:ZCR": "2.1.7",
"bitcoin:ZEC": "2.0.8",
"bitcoin:ZEL": "2.1.4",
"bitcoin:ZEN": "2.0.8",
@ -2849,6 +2852,7 @@
"bitcoin:VTC": true,
"bitcoin:XZC": true,
"bitcoin:ZEC": true,
"bitcoin:ZCR": true,
"bitcoin:tGRS": true,
"bitcoin:tLTC": true,
"eth:ETC": true,

View File

@ -1737,6 +1737,29 @@ def by_name(name: str) -> CoinInfo:
curve_name='secp256k1',
confidential_assets=None,
)
elif name == "ZCore":
return CoinInfo(
coin_name=name,
coin_shortcut="ZCR",
address_type=142,
address_type_p2sh=145,
maxfee_kb=1000000,
signed_message_header="ZCore Genesis Block mined by Mosqueiro",
xpub_magic=0x04b24746,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=428,
segwit=False,
fork_id=None,
force_bip143=False,
bip115=False,
decred=False,
negative_fee=False,
curve_name='secp256k1',
confidential_assets=None,
)
elif name == "Zcash":
return CoinInfo(
coin_name=name,

File diff suppressed because one or more lines are too long