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

common: enable UNO (#472)

This commit is contained in:
TheCreator 2019-09-01 17:47:58 +10:00 committed by Pavol Rusnak
parent 851b786c2e
commit 64034c6d7d
6 changed files with 77 additions and 1 deletions

View File

@ -0,0 +1,47 @@
{
"coin_name": "Unobtanium",
"coin_shortcut": "UNO",
"coin_label": "Unobtanium",
"website": "https://unobtanium.uno",
"github": "https://github.com/unobtanium-official/unobtanium",
"maintainer": "choicesz <choicesz@unobtanium.uno>",
"curve_name": "secp256k1",
"address_type": 130,
"address_type_p2sh": 30,
"maxfee_kb": 2000000,
"minfee_kb": 1000,
"signed_message_header": "Unobtanium Signed Message:\n",
"hash_genesis_block": "000004c2fc5fffb810dccc197d603690099a68305232e552d96ccbe8e2c52b75",
"xprv_magic": 76066276,
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": null,
"xpub_magic_segwit_native": null,
"bech32_prefix": null,
"cashaddr_prefix": null,
"slip44": 92,
"segwit": false,
"decred": false,
"fork_id": null,
"force_bip143": false,
"default_fee_b": {
"Low": 10,
"Economy": 50,
"Normal": 100,
"High": 160
},
"dust_limit": 546,
"blocktime_seconds": 30,
"uri_prefix": "unobtanium",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [
"https://blockbook.flurbo.xyz",
"https://blockbook.unobtanium.uno"
],
"bip115": false,
"negative_fee": false,
"cooldown": 100,
"consensus_branch_id": null,
"confidential_assets": null
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -37,6 +37,7 @@
"bitcoin:TBCH": true,
"bitcoin:TBTG": true,
"bitcoin:TEST": true,
"bitcoin:UNO": true,
"bitcoin:VIA": true,
"bitcoin:VTC": true,
"bitcoin:XMY": true,
@ -143,6 +144,7 @@
"bitcoin:TDCR": "1.6.2",
"bitcoin:TEST": "1.5.2",
"bitcoin:UMBRU": "1.8.3",
"bitcoin:UNO": "1.8.4",
"bitcoin:VIA": "1.6.2",
"bitcoin:VIPS": "1.8.2",
"bitcoin:VTC": "1.6.1",
@ -1504,6 +1506,7 @@
"bitcoin:TDCR": "2.0.8",
"bitcoin:TEST": "2.0.5",
"bitcoin:UMBRU": "2.1.5",
"bitcoin:UNO": "2.1.6",
"bitcoin:VIA": "2.0.7",
"bitcoin:VIPS": "2.1.1",
"bitcoin:VTC": "2.0.5",

View File

@ -88,5 +88,8 @@
},
"bitcoin:XRC": {
"Electrum-XRC": "https://electrum.bitcoinrh.org"
},
"bitcoin:UNO": {
"Electrum-UNO": "https://github.com/flurbos/electrum"
}
}

View File

@ -1553,6 +1553,29 @@ def by_name(name: str) -> CoinInfo:
curve_name='secp256k1',
confidential_assets=None,
)
elif name == "Unobtanium":
return CoinInfo(
coin_name=name,
coin_shortcut="UNO",
address_type=130,
address_type_p2sh=30,
maxfee_kb=2000000,
signed_message_header="Unobtanium Signed Message:\n",
xpub_magic=0x0488b21e,
xpub_magic_segwit_p2sh=None,
xpub_magic_segwit_native=None,
bech32_prefix=None,
cashaddr_prefix=None,
slip44=92,
segwit=False,
fork_id=None,
force_bip143=False,
bip115=False,
decred=False,
negative_fee=False,
curve_name='secp256k1',
confidential_assets=None,
)
elif name == "VIPSTARCOIN":
return CoinInfo(
coin_name=name,

File diff suppressed because one or more lines are too long