mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
common/defs: add Umbru (#433)
This commit is contained in:
parent
625aafbe36
commit
2c709ee162
43
common/defs/bitcoin/umbru.json
Normal file
43
common/defs/bitcoin/umbru.json
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
{
|
||||||
|
"coin_name": "Umbru",
|
||||||
|
"coin_shortcut": "UMBRU",
|
||||||
|
"coin_label": "Umbru",
|
||||||
|
"website": "https://umbru.io",
|
||||||
|
"github": "https://github.com/umbru/umbru-core",
|
||||||
|
"maintainer": "Ryxor <team@umbru.io>",
|
||||||
|
"curve_name": "secp256k1",
|
||||||
|
"address_type": 68,
|
||||||
|
"address_type_p2sh": 5,
|
||||||
|
"maxfee_kb": 100000,
|
||||||
|
"minfee_kb": 100,
|
||||||
|
"signed_message_header": "DarkCoin Signed Message:\n",
|
||||||
|
"hash_genesis_block": "00000cb7859c07ebc3950ff150f5d6dc31150c5da14435fbf200d51be8f4208f",
|
||||||
|
"xprv_magic": 76066276,
|
||||||
|
"xpub_magic": 76067358,
|
||||||
|
"xpub_magic_segwit_p2sh": null,
|
||||||
|
"xpub_magic_segwit_native": null,
|
||||||
|
"bech32_prefix": null,
|
||||||
|
"cashaddr_prefix": null,
|
||||||
|
"slip44": 395,
|
||||||
|
"segwit": false,
|
||||||
|
"decred": false,
|
||||||
|
"fork_id": null,
|
||||||
|
"force_bip143": false,
|
||||||
|
"bip115": false,
|
||||||
|
"default_fee_b": {
|
||||||
|
"Normal": 10
|
||||||
|
},
|
||||||
|
"dust_limit": 5460,
|
||||||
|
"blocktime_seconds": 120,
|
||||||
|
"uri_prefix": "umbru",
|
||||||
|
"min_address_length": 27,
|
||||||
|
"max_address_length": 34,
|
||||||
|
"bitcore": [],
|
||||||
|
"blockbook": [
|
||||||
|
"https://blockbook.umbru.io"
|
||||||
|
],
|
||||||
|
"negative_fee": false,
|
||||||
|
"cooldown": 100,
|
||||||
|
"consensus_branch_id": null,
|
||||||
|
"confidential_assets": null
|
||||||
|
}
|
BIN
common/defs/bitcoin/umbru.png
Normal file
BIN
common/defs/bitcoin/umbru.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.1 KiB |
@ -142,6 +142,7 @@
|
|||||||
"bitcoin:TBTG": "1.7.1",
|
"bitcoin:TBTG": "1.7.1",
|
||||||
"bitcoin:TDCR": "1.6.2",
|
"bitcoin:TDCR": "1.6.2",
|
||||||
"bitcoin:TEST": "1.5.2",
|
"bitcoin:TEST": "1.5.2",
|
||||||
|
"bitcoin:UMBRU": "1.8.3",
|
||||||
"bitcoin:VIA": "1.6.2",
|
"bitcoin:VIA": "1.6.2",
|
||||||
"bitcoin:VIPS": "1.8.2",
|
"bitcoin:VIPS": "1.8.2",
|
||||||
"bitcoin:VTC": "1.6.1",
|
"bitcoin:VTC": "1.6.1",
|
||||||
@ -1502,6 +1503,7 @@
|
|||||||
"bitcoin:TBTG": "2.0.8",
|
"bitcoin:TBTG": "2.0.8",
|
||||||
"bitcoin:TDCR": "2.0.8",
|
"bitcoin:TDCR": "2.0.8",
|
||||||
"bitcoin:TEST": "2.0.5",
|
"bitcoin:TEST": "2.0.5",
|
||||||
|
"bitcoin:UMBRU": "2.1.5",
|
||||||
"bitcoin:VIA": "2.0.7",
|
"bitcoin:VIA": "2.0.7",
|
||||||
"bitcoin:VIPS": "2.1.1",
|
"bitcoin:VIPS": "2.1.1",
|
||||||
"bitcoin:VTC": "2.0.5",
|
"bitcoin:VTC": "2.0.5",
|
||||||
|
@ -1526,6 +1526,29 @@ def by_name(name: str) -> CoinInfo:
|
|||||||
curve_name='secp256k1',
|
curve_name='secp256k1',
|
||||||
confidential_assets=None,
|
confidential_assets=None,
|
||||||
)
|
)
|
||||||
|
elif name == "Umbru":
|
||||||
|
return CoinInfo(
|
||||||
|
coin_name=name,
|
||||||
|
coin_shortcut="UMBRU",
|
||||||
|
address_type=68,
|
||||||
|
address_type_p2sh=5,
|
||||||
|
maxfee_kb=100000,
|
||||||
|
signed_message_header="DarkCoin Signed Message:\n",
|
||||||
|
xpub_magic=0x0488b21e,
|
||||||
|
xpub_magic_segwit_p2sh=None,
|
||||||
|
xpub_magic_segwit_native=None,
|
||||||
|
bech32_prefix=None,
|
||||||
|
cashaddr_prefix=None,
|
||||||
|
slip44=395,
|
||||||
|
segwit=False,
|
||||||
|
fork_id=None,
|
||||||
|
force_bip143=False,
|
||||||
|
bip115=False,
|
||||||
|
decred=False,
|
||||||
|
negative_fee=False,
|
||||||
|
curve_name='secp256k1',
|
||||||
|
confidential_assets=None,
|
||||||
|
)
|
||||||
elif name == "VIPSTARCOIN":
|
elif name == "VIPSTARCOIN":
|
||||||
return CoinInfo(
|
return CoinInfo(
|
||||||
coin_name=name,
|
coin_name=name,
|
||||||
|
Loading…
Reference in New Issue
Block a user