From 0461c7d4f04057b7c0a181200cbf0a0386f1dc2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20B=C3=ADlek?= Date: Fri, 23 Sep 2016 15:13:41 +0200 Subject: [PATCH] Adding xpub and xprv magic --- coins.json | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/coins.json b/coins.json index a66814c57c..3593ec9630 100644 --- a/coins.json +++ b/coins.json @@ -7,7 +7,9 @@ "address_type_p2wpkh": 6, "address_type_p2wsh": 10, "signed_message_header": "Bitcoin Signed Message:\n", - "hash_genesis_block": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f" + "hash_genesis_block": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f", + "xpub_magic": "0488b21e", + "xprv_magic": "0488ade4" }, { "coin_name": "Testnet", "coin_shortcut": "TEST", @@ -17,7 +19,9 @@ "address_type_p2wpkh": 3, "address_type_p2wsh": 40, "signed_message_header": "Bitcoin Signed Message:\n", - "hash_genesis_block": "000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943" + "hash_genesis_block": "000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943", + "xpub_magic": "043587cf", + "xprv_magic": "04358394" }, { "coin_name": "Namecoin", "coin_shortcut": "NMC", @@ -27,7 +31,9 @@ "address_type_p2wpkh": null, "address_type_p2wsh": null, "signed_message_header": "Namecoin Signed Message:\n", - "hash_genesis_block": "000000000062b72c5e2ceb45fbc8587e807c155b0da735e6483dfba2f0a9c770" + "hash_genesis_block": "000000000062b72c5e2ceb45fbc8587e807c155b0da735e6483dfba2f0a9c770", + "xpub_magic": "019da462", + "xprv_magic": "019d9cfe" }, { "coin_name": "Litecoin", "coin_shortcut": "LTC", @@ -37,7 +43,9 @@ "address_type_p2wpkh": null, "address_type_p2wsh": null, "signed_message_header": "Litecoin Signed Message:\n", - "hash_genesis_block": "12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2" + "hash_genesis_block": "12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2", + "xpub_magic": "019da462", + "xprv_magic": "019d9cfe" }, { "coin_name": "Dogecoin", "coin_shortcut": "DOGE", @@ -47,7 +55,9 @@ "address_type_p2wpkh": null, "address_type_p2wsh": null, "signed_message_header": "Dogecoin Signed Message:\n", - "hash_genesis_block": "1a91e3dace36e2be3bf030a65679fe821aa1d6ef92e7c9902eb318182c355691" + "hash_genesis_block": "1a91e3dace36e2be3bf030a65679fe821aa1d6ef92e7c9902eb318182c355691", + "xpub_magic": "02facafd", + "xprv_magic": "02fac398" }, { "coin_name": "Dash", "coin_shortcut": "DASH", @@ -57,7 +67,9 @@ "address_type_p2wpkh": null, "address_type_p2wsh": null, "signed_message_header": "DarkCoin Signed Message:\n", - "hash_genesis_block": "00000ffd590b1485b3caadc19b22e6379c733355108f107a430458cdf3407ab6" + "hash_genesis_block": "00000ffd590b1485b3caadc19b22e6379c733355108f107a430458cdf3407ab6", + "xpub_magic": "02fe52cc", + "xprv_magic": "02fe52f8 }, { "coin_name": "Zcash", "coin_shortcut": "ZEC", @@ -67,5 +79,7 @@ "address_type_p2wpkh": null, "address_type_p2wsh": null, "signed_message_header": "Zcash Signed Message:\n", - "hash_genesis_block": "027e3758c3a65b12aa1046462b486d0a63bfa1beae327897f56c5cfb7daaae71" + "hash_genesis_block": "027e3758c3a65b12aa1046462b486d0a63bfa1beae327897f56c5cfb7daaae71", + "xpub_magic": "0488b21e", + "xprv_magic": "0488ade4" }]