mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
common/defs: enable CRW (#600)
This commit is contained in:
parent
29bb2dcb95
commit
8317774e06
@ -2,9 +2,9 @@
|
||||
"coin_name": "Crown",
|
||||
"coin_shortcut": "CRW",
|
||||
"coin_label": "Crown",
|
||||
"website": "https://crown.tech",
|
||||
"website": "https://crownplatform.com",
|
||||
"github": "https://github.com/Crowndev/crowncoin",
|
||||
"maintainer": "Ashot <ashot@crown.tech>",
|
||||
"maintainer": "Ashot <ashot@crownplatform.com>",
|
||||
"curve_name": "secp256k1",
|
||||
"address_type": 95495,
|
||||
"address_type_p2sh": 95473,
|
||||
@ -33,9 +33,9 @@
|
||||
"min_address_length": 36,
|
||||
"max_address_length": 40,
|
||||
"bitcore": [
|
||||
"https://insight-01.crown.tech",
|
||||
"https://insight-02.crown.tech",
|
||||
"https://insight-03.crown.tech"
|
||||
"https://insight-01.crownplatform.com",
|
||||
"https://insight-02.crownplatform.com",
|
||||
"https://insight-03.crownplatform.com"
|
||||
],
|
||||
"blockbook": [],
|
||||
"negative_fee": false,
|
||||
|
@ -111,6 +111,7 @@
|
||||
"bitcoin:BTG": "1.6.2",
|
||||
"bitcoin:BTX": "1.7.1",
|
||||
"bitcoin:CPU": "1.8.3",
|
||||
"bitcoin:CRW": "1.8.4",
|
||||
"bitcoin:DASH": "1.5.2",
|
||||
"bitcoin:DCR": "1.6.2",
|
||||
"bitcoin:DGB": "1.6.3",
|
||||
@ -1295,7 +1296,6 @@
|
||||
},
|
||||
"unsupported": {
|
||||
"bitcoin:CPC": "not implemented",
|
||||
"bitcoin:CRW": "address_type collides with Bitcoin",
|
||||
"bitcoin:TRC": "address_type collides with Bitcoin",
|
||||
"bitcoin:ZEN": "not implemented",
|
||||
"erc20:etc:PLAY": "(AUTO) duplicate key",
|
||||
@ -1476,6 +1476,7 @@
|
||||
"bitcoin:BTX": "2.0.8",
|
||||
"bitcoin:CPC": "2.0.10",
|
||||
"bitcoin:CPU": "2.1.4",
|
||||
"bitcoin:CRW": "2.1.7",
|
||||
"bitcoin:DASH": "2.0.5",
|
||||
"bitcoin:DCR": "2.0.8",
|
||||
"bitcoin:DGB": "2.0.7",
|
||||
@ -2668,7 +2669,6 @@
|
||||
"nem:XEM": "2.0.7"
|
||||
},
|
||||
"unsupported": {
|
||||
"bitcoin:CRW": "address_type collides with Bitcoin",
|
||||
"bitcoin:TRC": "address_type collides with Bitcoin",
|
||||
"erc20:etc:PLAY": "(AUTO) duplicate key",
|
||||
"erc20:eth:A18:ba7d": "(AUTO) duplicate key",
|
||||
|
@ -564,6 +564,29 @@ def by_name(name: str) -> CoinInfo:
|
||||
curve_name='secp256k1',
|
||||
confidential_assets=None,
|
||||
)
|
||||
elif name == "Crown":
|
||||
return CoinInfo(
|
||||
coin_name=name,
|
||||
coin_shortcut="CRW",
|
||||
address_type=95495,
|
||||
address_type_p2sh=95473,
|
||||
maxfee_kb=2000000,
|
||||
signed_message_header="Crown Signed Message:\n",
|
||||
xpub_magic=0x0488b21e,
|
||||
xpub_magic_segwit_p2sh=None,
|
||||
xpub_magic_segwit_native=None,
|
||||
bech32_prefix=None,
|
||||
cashaddr_prefix=None,
|
||||
slip44=72,
|
||||
segwit=False,
|
||||
fork_id=None,
|
||||
force_bip143=False,
|
||||
bip115=False,
|
||||
decred=False,
|
||||
negative_fee=False,
|
||||
curve_name='secp256k1',
|
||||
confidential_assets=None,
|
||||
)
|
||||
elif name == "Dash":
|
||||
return CoinInfo(
|
||||
coin_name=name,
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user