1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

Add Qtum support (#287)

This commit is contained in:
代码脸 2019-03-05 19:58:08 +08:00 committed by matejcik
parent 1d177ed831
commit e8db62a5f5
6 changed files with 87 additions and 1 deletions

41
defs/bitcoin/qtum.json Normal file
View File

@ -0,0 +1,41 @@
{
"coin_name": "Qtum",
"coin_shortcut": "QTUM",
"coin_label": "Qtum",
"website": "https://qtum.org",
"github": "https://github.com/qtumproject/qtum",
"maintainer": "CodeFace <codeface@qtum.info>",
"curve_name": "secp256k1",
"address_type": 58,
"address_type_p2sh": 50,
"maxfee_kb": 40000000,
"minfee_kb": 400000,
"signed_message_header": "Qtum Signed Message:\n",
"hash_genesis_block": "000075aef83cf2853580f8ae8ce6f8c3096cfa21d98334d6e3f95e5582ed986c",
"xprv_magic": 76066276,
"xpub_magic": 76067358,
"xpub_magic_segwit_p2sh": 77429938,
"xpub_magic_segwit_native": 78792518,
"bech32_prefix": "qc",
"cashaddr_prefix": null,
"slip44": 2301,
"segwit": true,
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"default_fee_b": {
"Low": 410,
"Economy": 500,
"Normal": 600,
"High": 2000
},
"dust_limit": 218400,
"blocktime_seconds": 128,
"uri_prefix": "qtum",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [],
"cooldown": 100
}

BIN
defs/bitcoin/qtum.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -0,0 +1,41 @@
{
"coin_name": "Qtum Testnet",
"coin_shortcut": "TQTUM",
"coin_label": "Qtum Testnet",
"website": "https://qtum.org",
"github": "https://github.com/qtumproject/qtum",
"maintainer": "CodeFace <codeface@qtum.info>",
"curve_name": "secp256k1",
"address_type": 120,
"address_type_p2sh": 110,
"maxfee_kb": 40000000,
"minfee_kb": 400000,
"signed_message_header": "Qtum Signed Message:\n",
"hash_genesis_block": "0000e803ee215c0684ca0d2f9220594d3f828617972aad66feb2ba51f5e14222",
"xprv_magic": 70615956,
"xpub_magic": 70617039,
"xpub_magic_segwit_p2sh": 71979618,
"xpub_magic_segwit_native": 73342198,
"bech32_prefix": "tq",
"cashaddr_prefix": null,
"slip44": 1,
"segwit": true,
"decred": false,
"fork_id": null,
"force_bip143": false,
"bip115": false,
"default_fee_b": {
"Low": 410,
"Economy": 500,
"Normal": 600,
"High": 2000
},
"dust_limit": 218400,
"blocktime_seconds": 128,
"uri_prefix": "qtum",
"min_address_length": 27,
"max_address_length": 34,
"bitcore": [],
"blockbook": [],
"cooldown": 100
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -6,5 +6,6 @@
"erc20:eth:Hdp": true,
"erc20:eth:Hdp.ф": true,
"erc20:eth:USDT": false,
"erc20:eth:BNB": false
"erc20:eth:BNB": false,
"erc20:eth:QTUM": false
}

View File

@ -57,5 +57,8 @@
"bitcoin:NIX": {
"NIX-Electrum": "https://github.com/nixplatform/electrum-nix",
"Ghostnode Tool": "https://github.com/nixplatform/ghostnode-tool"
},
"bitcoin:QTUM": {
"Qtum-Electrum": "https://github.com/qtumproject/qtum-electrum"
}
}