defs: add coins images
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic": "0488b21e",
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": "bitcoincash",
|
||||
"slip44": 145,
|
||||
|
BIN
defs/coins/bcash.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "04358394",
|
||||
"xpub_magic": "043587cf",
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": "bchtest",
|
||||
"slip44": 1,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic": "0488b21e",
|
||||
"xpub_magic_segwit_p2sh": "049d7cb2",
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": "btg",
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 156,
|
||||
|
BIN
defs/coins/bgold.png
Normal file
After Width: | Height: | Size: 12 KiB |
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic": "0488b21e",
|
||||
"xpub_magic_segwit_p2sh": "049d7cb2",
|
||||
"xpub_magic_segwit_native": "04b24746",
|
||||
"bech32_prefix": "bc",
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 0,
|
||||
|
BIN
defs/coins/bitcoin.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "04358394",
|
||||
"xpub_magic": "043587cf",
|
||||
"xpub_magic_segwit_p2sh": "044a5262",
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": "tb",
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 1,
|
||||
|
BIN
defs/coins/bitcoin_testnet.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic": "0488b21e",
|
||||
"xpub_magic_segwit_p2sh": "049d7cb2",
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": "bc",
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 0,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic": "0488b21e",
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 183,
|
||||
|
@ -51,9 +51,13 @@ def validate_coin(coin):
|
||||
assert check_type(coin['xprv_magic'], str, regex=r'^[0-9a-f]{8}$')
|
||||
assert check_type(coin['xpub_magic'], str, regex=r'^[0-9a-f]{8}$')
|
||||
assert check_type(coin['xpub_magic_segwit_p2sh'], str, regex=r'^[0-9a-f]{8}$', nullable=True)
|
||||
assert check_type(coin['xpub_magic_segwit_native'], str, regex=r'^[0-9a-f]{8}$', nullable=True)
|
||||
assert coin['xprv_magic'] != coin['xpub_magic']
|
||||
assert coin['xprv_magic'] != coin['xpub_magic_segwit_p2sh']
|
||||
assert coin['xprv_magic'] != coin['xpub_magic_segwit_native']
|
||||
assert coin['xpub_magic'] != coin['xpub_magic_segwit_p2sh']
|
||||
assert coin['xpub_magic'] != coin['xpub_magic_segwit_native']
|
||||
assert coin['xpub_magic_segwit_p2sh'] is None or coin['xpub_magic_segwit_native'] is None or coin['xpub_magic_segwit_p2sh'] != coin['xpub_magic_segwit_native']
|
||||
assert check_type(coin['slip44'], int)
|
||||
assert check_type(coin['segwit'], bool)
|
||||
assert check_type(coin['decred'], bool)
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic": "0488b21e",
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 72,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "02fe52f8",
|
||||
"xpub_magic": "02fe52cc",
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 5,
|
||||
|
BIN
defs/coins/dash.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "04358394",
|
||||
"xpub_magic": "043587cf",
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 1,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "04358397",
|
||||
"xpub_magic": "043587d1",
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 1,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic": "0488b21e",
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 116,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic": "0488b21e",
|
||||
"xpub_magic_segwit_p2sh": "049d7cb2",
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": "dgb",
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 20,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "02fac398",
|
||||
"xpub_magic": "02facafd",
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 3,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic": "0488b21e",
|
||||
"xpub_magic_segwit_p2sh": "049d7cb2",
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 120,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xpub_magic": "0488b21e",
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic_segwit_p2sh": "049d7cb2",
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": "fc",
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 75,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic": "0488b21e",
|
||||
"xpub_magic_segwit_p2sh": "049d7cb2",
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": "grs",
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 17,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "019d9cfe",
|
||||
"xpub_magic": "019da462",
|
||||
"xpub_magic_segwit_p2sh": "01b26ef6",
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": "ltc",
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 2,
|
||||
|
BIN
defs/coins/litecoin.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "04358394",
|
||||
"xpub_magic": "043587cf",
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": "tltc",
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 1,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xpub_magic": "0488b21e",
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic_segwit_p2sh": "049d7cb2",
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": "mona",
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 22,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic": "0488b21e",
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 90,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "019d9cfe",
|
||||
"xpub_magic": "019da462",
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 7,
|
||||
|
@ -13,16 +13,17 @@ message CoinDef {
|
||||
optional uint32 xprv_magic = 11;
|
||||
optional uint32 xpub_magic = 12;
|
||||
optional uint32 xpub_magic_segwit_p2sh = 13;
|
||||
optional string bech32_prefix = 14;
|
||||
optional string cashaddr_prefix = 15;
|
||||
optional uint32 slip44 = 16;
|
||||
optional bool segwit = 17;
|
||||
optional bool decred = 18;
|
||||
optional uint32 fork_id = 19;
|
||||
optional bool force_bip143 = 20;
|
||||
optional uint64 dust_limit = 21;
|
||||
optional float blocktime_minute = 22;
|
||||
optional string address_prefix = 23;
|
||||
optional uint32 min_address_length = 24;
|
||||
optional uint32 max_address_length = 25;
|
||||
optional uint32 xpub_magic_segwit_native = 14;
|
||||
optional string bech32_prefix = 15;
|
||||
optional string cashaddr_prefix = 16;
|
||||
optional uint32 slip44 = 17;
|
||||
optional bool segwit = 18;
|
||||
optional bool decred = 19;
|
||||
optional uint32 fork_id = 20;
|
||||
optional bool force_bip143 = 21;
|
||||
optional uint64 dust_limit = 22;
|
||||
optional uint32 blocktime_seconds = 23;
|
||||
optional string address_prefix = 24;
|
||||
optional uint32 min_address_length = 25;
|
||||
optional uint32 max_address_length = 26;
|
||||
}
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic": "0488b21e",
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 0,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic": "0488b21e",
|
||||
"xpub_magic_segwit_p2sh": "049d7cb2",
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": "vtc",
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 28,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic": "0488b21e",
|
||||
"xpub_magic_segwit_p2sh": "049d7cb2",
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": "via",
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 14,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic": "0488b21e",
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 133,
|
||||
|
BIN
defs/coins/zcash.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "04358394",
|
||||
"xpub_magic": "043587cf",
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 1,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "0488ade4",
|
||||
"xpub_magic": "0488b21e",
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 136,
|
||||
|
@ -15,6 +15,7 @@
|
||||
"xprv_magic": "04358394",
|
||||
"xpub_magic": "043587cf",
|
||||
"xpub_magic_segwit_p2sh": null,
|
||||
"xpub_magic_segwit_native": null,
|
||||
"bech32_prefix": null,
|
||||
"cashaddr_prefix": null,
|
||||
"slip44": 1,
|
||||
|