@ -41,7 +41,7 @@ describe('HDWallet', function() {
it ( 'creates from binary seed' , function ( ) {
it ( 'creates from binary seed' , function ( ) {
var hd = new HDWallet ( seed )
var hd = new HDWallet ( seed )
assert . equal ( hd . priv . toHex ( ) , expectedPrivateKey )
assert . equal ( hd . priv . D . toHex ( ) , expectedPrivateKey )
assert ( hd . pub )
assert ( hd . pub )
} )
} )
@ -49,7 +49,7 @@ describe('HDWallet', function() {
it ( 'creates from hex seed' , function ( ) {
it ( 'creates from hex seed' , function ( ) {
var hd = HDWallet . fromSeedHex ( seed . toString ( 'hex' ) )
var hd = HDWallet . fromSeedHex ( seed . toString ( 'hex' ) )
assert . equal ( hd . priv . toHex ( ) , expectedPrivateKey )
assert . equal ( hd . priv . D . toHex ( ) , expectedPrivateKey )
assert ( hd . pub )
assert ( hd . pub )
} )
} )
} )
} )
@ -63,7 +63,6 @@ describe('HDWallet', function() {
assert . equal ( b2h ( hd . getIdentifier ( ) ) , '3442193e1bb70916e914552172cd4e2dbc9df811' )
assert . equal ( b2h ( hd . getIdentifier ( ) ) , '3442193e1bb70916e914552172cd4e2dbc9df811' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , '3442193e' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , '3442193e' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '15mKKb2eos1hWa6tisdPwwDC1a5J1y9nma' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '15mKKb2eos1hWa6tisdPwwDC1a5J1y9nma' )
assert . equal ( hd . priv . toHex ( ) , 'e8f32e723decf4051aefac8e2c93c9c5b214313817cdb01a1494b917c8436b35' )
assert . equal ( hd . priv . toWIF ( ) , 'L52XzL2cMkHxqxBXRyEpnPQZGUs3uKiL3R11XbAdHigRzDozKZeW' )
assert . equal ( hd . priv . toWIF ( ) , 'L52XzL2cMkHxqxBXRyEpnPQZGUs3uKiL3R11XbAdHigRzDozKZeW' )
assert . equal ( hd . pub . toHex ( ) , '0339a36013301597daef41fbe593a02cc513d0b55527ec2df1050e2e8ff49c85c2' )
assert . equal ( hd . pub . toHex ( ) , '0339a36013301597daef41fbe593a02cc513d0b55527ec2df1050e2e8ff49c85c2' )
assert . equal ( b2h ( hd . chaincode ) , '873dff81c02f525623fd1fe5167eac3a55a049de3d314bb42ee227ffed37d508' )
assert . equal ( b2h ( hd . chaincode ) , '873dff81c02f525623fd1fe5167eac3a55a049de3d314bb42ee227ffed37d508' )
@ -77,7 +76,6 @@ describe('HDWallet', function() {
assert . equal ( b2h ( hd . getIdentifier ( ) ) , '5c1bd648ed23aa5fd50ba52b2457c11e9e80a6a7' )
assert . equal ( b2h ( hd . getIdentifier ( ) ) , '5c1bd648ed23aa5fd50ba52b2457c11e9e80a6a7' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , '5c1bd648' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , '5c1bd648' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '19Q2WoS5hSS6T8GjhK8KZLMgmWaq4neXrh' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '19Q2WoS5hSS6T8GjhK8KZLMgmWaq4neXrh' )
assert . equal ( hd . priv . toHex ( ) . slice ( 0 , 64 ) , 'edb2e14f9ee77d26dd93b4ecede8d16ed408ce149b6cd80b0715a2d911a0afea' )
assert . equal ( hd . priv . toWIF ( ) , 'L5BmPijJjrKbiUfG4zbiFKNqkvuJ8usooJmzuD7Z8dkRoTThYnAT' )
assert . equal ( hd . priv . toWIF ( ) , 'L5BmPijJjrKbiUfG4zbiFKNqkvuJ8usooJmzuD7Z8dkRoTThYnAT' )
assert . equal ( hd . pub . toHex ( ) , '035a784662a4a20a65bf6aab9ae98a6c068a81c52e4b032c0fb5400c706cfccc56' )
assert . equal ( hd . pub . toHex ( ) , '035a784662a4a20a65bf6aab9ae98a6c068a81c52e4b032c0fb5400c706cfccc56' )
assert . equal ( b2h ( hd . chaincode ) , '47fdacbd0f1097043b78c63c20c34ef4ed9a111d980047ad16282c7ae6236141' )
assert . equal ( b2h ( hd . chaincode ) , '47fdacbd0f1097043b78c63c20c34ef4ed9a111d980047ad16282c7ae6236141' )
@ -91,7 +89,6 @@ describe('HDWallet', function() {
assert . equal ( b2h ( hd . getIdentifier ( ) ) , 'bef5a2f9a56a94aab12459f72ad9cf8cf19c7bbe' )
assert . equal ( b2h ( hd . getIdentifier ( ) ) , 'bef5a2f9a56a94aab12459f72ad9cf8cf19c7bbe' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , 'bef5a2f9' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , 'bef5a2f9' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '1JQheacLPdM5ySCkrZkV66G2ApAXe1mqLj' )
assert . equal ( hd . priv . toHex ( ) . slice ( 0 , 64 ) , '3c6cb8d0f6a264c91ea8b5030fadaa8e538b020f0a387421a12de9319dc93368' )
assert . equal ( hd . priv . toWIF ( ) , 'KyFAjQ5rgrKvhXvNMtFB5PCSKUYD1yyPEe3xr3T34TZSUHycXtMM' )
assert . equal ( hd . priv . toWIF ( ) , 'KyFAjQ5rgrKvhXvNMtFB5PCSKUYD1yyPEe3xr3T34TZSUHycXtMM' )
assert . equal ( hd . pub . toHex ( ) , '03501e454bf00751f24b1b489aa925215d66af2234e3891c3b21a52bedb3cd711c' )
assert . equal ( hd . pub . toHex ( ) , '03501e454bf00751f24b1b489aa925215d66af2234e3891c3b21a52bedb3cd711c' )
assert . equal ( b2h ( hd . chaincode ) , '2a7857631386ba23dacac34180dd1983734e444fdbf774041578e9b6adb37c19' )
assert . equal ( b2h ( hd . chaincode ) , '2a7857631386ba23dacac34180dd1983734e444fdbf774041578e9b6adb37c19' )
@ -105,7 +102,6 @@ describe('HDWallet', function() {
assert . equal ( b2h ( hd . getIdentifier ( ) ) , 'ee7ab90cde56a8c0e2bb086ac49748b8db9dce72' )
assert . equal ( b2h ( hd . getIdentifier ( ) ) , 'ee7ab90cde56a8c0e2bb086ac49748b8db9dce72' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , 'ee7ab90c' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , 'ee7ab90c' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '1NjxqbA9aZWnh17q1UW3rB4EPu79wDXj7x' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '1NjxqbA9aZWnh17q1UW3rB4EPu79wDXj7x' )
assert . equal ( hd . priv . toHex ( ) . slice ( 0 , 64 ) , 'cbce0d719ecf7431d88e6a89fa1483e02e35092af60c042b1df2ff59fa424dca' )
assert . equal ( hd . priv . toWIF ( ) , 'L43t3od1Gh7Lj55Bzjj1xDAgJDcL7YFo2nEcNaMGiyRZS1CidBVU' )
assert . equal ( hd . priv . toWIF ( ) , 'L43t3od1Gh7Lj55Bzjj1xDAgJDcL7YFo2nEcNaMGiyRZS1CidBVU' )
assert . equal ( hd . pub . toHex ( ) , '0357bfe1e341d01c69fe5654309956cbea516822fba8a601743a012a7896ee8dc2' )
assert . equal ( hd . pub . toHex ( ) , '0357bfe1e341d01c69fe5654309956cbea516822fba8a601743a012a7896ee8dc2' )
assert . equal ( b2h ( hd . chaincode ) , '04466b9cc8e161e966409ca52986c584f07e9dc81f735db683c3ff6ec7b1503f' )
assert . equal ( b2h ( hd . chaincode ) , '04466b9cc8e161e966409ca52986c584f07e9dc81f735db683c3ff6ec7b1503f' )
@ -119,7 +115,6 @@ describe('HDWallet', function() {
assert . equal ( b2h ( hd . getIdentifier ( ) ) , 'd880d7d893848509a62d8fb74e32148dac68412f' )
assert . equal ( b2h ( hd . getIdentifier ( ) ) , 'd880d7d893848509a62d8fb74e32148dac68412f' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , 'd880d7d8' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , 'd880d7d8' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '1LjmJcdPnDHhNTUgrWyhLGnRDKxQjoxAgt' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '1LjmJcdPnDHhNTUgrWyhLGnRDKxQjoxAgt' )
assert . equal ( hd . priv . toHex ( ) . slice ( 0 , 64 ) , '0f479245fb19a38a1954c5c7c0ebab2f9bdfd96a17563ef28a6a4b1a2a764ef4' )
assert . equal ( hd . priv . toWIF ( ) , 'KwjQsVuMjbCP2Zmr3VaFaStav7NvevwjvvkqrWd5Qmh1XVnCteBR' )
assert . equal ( hd . priv . toWIF ( ) , 'KwjQsVuMjbCP2Zmr3VaFaStav7NvevwjvvkqrWd5Qmh1XVnCteBR' )
assert . equal ( hd . pub . toHex ( ) , '02e8445082a72f29b75ca48748a914df60622a609cacfce8ed0e35804560741d29' )
assert . equal ( hd . pub . toHex ( ) , '02e8445082a72f29b75ca48748a914df60622a609cacfce8ed0e35804560741d29' )
assert . equal ( b2h ( hd . chaincode ) , 'cfb71883f01676f587d023cc53a35bc7f88f724b1f8c2892ac1275ac822a3edd' )
assert . equal ( b2h ( hd . chaincode ) , 'cfb71883f01676f587d023cc53a35bc7f88f724b1f8c2892ac1275ac822a3edd' )
@ -133,7 +128,6 @@ describe('HDWallet', function() {
assert . equal ( b2h ( hd . getIdentifier ( ) ) , 'd69aa102255fed74378278c7812701ea641fdf32' )
assert . equal ( b2h ( hd . getIdentifier ( ) ) , 'd69aa102255fed74378278c7812701ea641fdf32' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , 'd69aa102' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , 'd69aa102' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '1LZiqrop2HGR4qrH1ULZPyBpU6AUP49Uam' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '1LZiqrop2HGR4qrH1ULZPyBpU6AUP49Uam' )
assert . equal ( hd . priv . toHex ( ) . slice ( 0 , 64 ) , '471b76e389e528d6de6d816857e012c5455051cad6660850e58372a6c3e6e7c8' )
assert . equal ( hd . priv . toWIF ( ) , 'Kybw8izYevo5xMh1TK7aUr7jHFCxXS1zv8p3oqFz3o2zFbhRXHYs' )
assert . equal ( hd . priv . toWIF ( ) , 'Kybw8izYevo5xMh1TK7aUr7jHFCxXS1zv8p3oqFz3o2zFbhRXHYs' )
assert . equal ( hd . pub . toHex ( ) , '022a471424da5e657499d1ff51cb43c47481a03b1e77f951fe64cec9f5a48f7011' )
assert . equal ( hd . pub . toHex ( ) , '022a471424da5e657499d1ff51cb43c47481a03b1e77f951fe64cec9f5a48f7011' )
assert . equal ( b2h ( hd . chaincode ) , 'c783e67b921d2beb8f6b389cc646d7263b4145701dadd2161548a8b078e65e9e' )
assert . equal ( b2h ( hd . chaincode ) , 'c783e67b921d2beb8f6b389cc646d7263b4145701dadd2161548a8b078e65e9e' )
@ -150,7 +144,6 @@ describe('HDWallet', function() {
assert . equal ( b2h ( hd . getIdentifier ( ) ) , 'bd16bee53961a47d6ad888e29545434a89bdfe95' )
assert . equal ( b2h ( hd . getIdentifier ( ) ) , 'bd16bee53961a47d6ad888e29545434a89bdfe95' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , 'bd16bee5' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , 'bd16bee5' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '1JEoxevbLLG8cVqeoGKQiAwoWbNYSUyYjg' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '1JEoxevbLLG8cVqeoGKQiAwoWbNYSUyYjg' )
assert . equal ( hd . priv . toHex ( ) . slice ( 0 , 64 ) , '4b03d6fc340455b363f51020ad3ecca4f0850280cf436c70c727923f6db46c3e' )
assert . equal ( hd . priv . toWIF ( ) , 'KyjXhyHF9wTphBkfpxjL8hkDXDUSbE3tKANT94kXSyh6vn6nKaoy' )
assert . equal ( hd . priv . toWIF ( ) , 'KyjXhyHF9wTphBkfpxjL8hkDXDUSbE3tKANT94kXSyh6vn6nKaoy' )
assert . equal ( hd . pub . toHex ( ) , '03cbcaa9c98c877a26977d00825c956a238e8dddfbd322cce4f74b0b5bd6ace4a7' )
assert . equal ( hd . pub . toHex ( ) , '03cbcaa9c98c877a26977d00825c956a238e8dddfbd322cce4f74b0b5bd6ace4a7' )
assert . equal ( b2h ( hd . chaincode ) , '60499f801b896d83179a4374aeb7822aaeaceaa0db1f85ee3e904c4defbd9689' )
assert . equal ( b2h ( hd . chaincode ) , '60499f801b896d83179a4374aeb7822aaeaceaa0db1f85ee3e904c4defbd9689' )
@ -164,7 +157,6 @@ describe('HDWallet', function() {
assert . equal ( b2h ( hd . getIdentifier ( ) ) , '5a61ff8eb7aaca3010db97ebda76121610b78096' )
assert . equal ( b2h ( hd . getIdentifier ( ) ) , '5a61ff8eb7aaca3010db97ebda76121610b78096' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , '5a61ff8e' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , '5a61ff8e' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '19EuDJdgfRkwCmRzbzVBHZWQG9QNWhftbZ' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '19EuDJdgfRkwCmRzbzVBHZWQG9QNWhftbZ' )
assert . equal ( hd . priv . toHex ( ) . slice ( 0 , 64 ) , 'abe74a98f6c7eabee0428f53798f0ab8aa1bd37873999041703c742f15ac7e1e' )
assert . equal ( hd . priv . toWIF ( ) , 'L2ysLrR6KMSAtx7uPqmYpoTeiRzydXBattRXjXz5GDFPrdfPzKbj' )
assert . equal ( hd . priv . toWIF ( ) , 'L2ysLrR6KMSAtx7uPqmYpoTeiRzydXBattRXjXz5GDFPrdfPzKbj' )
assert . equal ( hd . pub . toHex ( ) , '02fc9e5af0ac8d9b3cecfe2a888e2117ba3d089d8585886c9c826b6b22a98d12ea' )
assert . equal ( hd . pub . toHex ( ) , '02fc9e5af0ac8d9b3cecfe2a888e2117ba3d089d8585886c9c826b6b22a98d12ea' )
assert . equal ( b2h ( hd . chaincode ) , 'f0909affaa7ee7abe5dd4e100598d4dc53cd709d5a5c2cac40e7412f232f7c9c' )
assert . equal ( b2h ( hd . chaincode ) , 'f0909affaa7ee7abe5dd4e100598d4dc53cd709d5a5c2cac40e7412f232f7c9c' )
@ -178,7 +170,6 @@ describe('HDWallet', function() {
assert . equal ( b2h ( hd . getIdentifier ( ) ) , 'd8ab493736da02f11ed682f88339e720fb0379d1' )
assert . equal ( b2h ( hd . getIdentifier ( ) ) , 'd8ab493736da02f11ed682f88339e720fb0379d1' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , 'd8ab4937' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , 'd8ab4937' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '1Lke9bXGhn5VPrBuXgN12uGUphrttUErmk' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '1Lke9bXGhn5VPrBuXgN12uGUphrttUErmk' )
assert . equal ( hd . priv . toHex ( ) . slice ( 0 , 64 ) , '877c779ad9687164e9c2f4f0f4ff0340814392330693ce95a58fe18fd52e6e93' )
assert . equal ( hd . priv . toWIF ( ) , 'L1m5VpbXmMp57P3knskwhoMTLdhAAaXiHvnGLMribbfwzVRpz2Sr' )
assert . equal ( hd . priv . toWIF ( ) , 'L1m5VpbXmMp57P3knskwhoMTLdhAAaXiHvnGLMribbfwzVRpz2Sr' )
assert . equal ( hd . pub . toHex ( ) , '03c01e7425647bdefa82b12d9bad5e3e6865bee0502694b94ca58b666abc0a5c3b' )
assert . equal ( hd . pub . toHex ( ) , '03c01e7425647bdefa82b12d9bad5e3e6865bee0502694b94ca58b666abc0a5c3b' )
assert . equal ( b2h ( hd . chaincode ) , 'be17a268474a6bb9c61e1d720cf6215e2a88c5406c4aee7b38547f585c9a37d9' )
assert . equal ( b2h ( hd . chaincode ) , 'be17a268474a6bb9c61e1d720cf6215e2a88c5406c4aee7b38547f585c9a37d9' )
@ -192,7 +183,6 @@ describe('HDWallet', function() {
assert . equal ( b2h ( hd . getIdentifier ( ) ) , '78412e3a2296a40de124307b6485bd19833e2e34' )
assert . equal ( b2h ( hd . getIdentifier ( ) ) , '78412e3a2296a40de124307b6485bd19833e2e34' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , '78412e3a' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , '78412e3a' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '1BxrAr2pHpeBheusmd6fHDP2tSLAUa3qsW' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '1BxrAr2pHpeBheusmd6fHDP2tSLAUa3qsW' )
assert . equal ( hd . priv . toHex ( ) . slice ( 0 , 64 ) , '704addf544a06e5ee4bea37098463c23613da32020d604506da8c0518e1da4b7' )
assert . equal ( hd . priv . toWIF ( ) , 'KzyzXnznxSv249b4KuNkBwowaN3akiNeEHy5FWoPCJpStZbEKXN2' )
assert . equal ( hd . priv . toWIF ( ) , 'KzyzXnznxSv249b4KuNkBwowaN3akiNeEHy5FWoPCJpStZbEKXN2' )
assert . equal ( hd . pub . toHex ( ) , '03a7d1d856deb74c508e05031f9895dab54626251b3806e16b4bd12e781a7df5b9' )
assert . equal ( hd . pub . toHex ( ) , '03a7d1d856deb74c508e05031f9895dab54626251b3806e16b4bd12e781a7df5b9' )
assert . equal ( b2h ( hd . chaincode ) , 'f366f48f1ea9f2d1d3fe958c95ca84ea18e4c4ddb9366c336c927eb246fb38cb' )
assert . equal ( b2h ( hd . chaincode ) , 'f366f48f1ea9f2d1d3fe958c95ca84ea18e4c4ddb9366c336c927eb246fb38cb' )
@ -206,7 +196,6 @@ describe('HDWallet', function() {
assert . equal ( b2h ( hd . getIdentifier ( ) ) , '31a507b815593dfc51ffc7245ae7e5aee304246e' )
assert . equal ( b2h ( hd . getIdentifier ( ) ) , '31a507b815593dfc51ffc7245ae7e5aee304246e' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , '31a507b8' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , '31a507b8' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '15XVotxCAV7sRx1PSCkQNsGw3W9jT9A94R' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '15XVotxCAV7sRx1PSCkQNsGw3W9jT9A94R' )
assert . equal ( hd . priv . toHex ( ) . slice ( 0 , 64 ) , 'f1c7c871a54a804afe328b4c83a1c33b8e5ff48f5087273f04efa83b247d6a2d' )
assert . equal ( hd . priv . toWIF ( ) , 'L5KhaMvPYRW1ZoFmRjUtxxPypQ94m6BcDrPhqArhggdaTbbAFJEF' )
assert . equal ( hd . priv . toWIF ( ) , 'L5KhaMvPYRW1ZoFmRjUtxxPypQ94m6BcDrPhqArhggdaTbbAFJEF' )
assert . equal ( hd . pub . toHex ( ) , '02d2b36900396c9282fa14628566582f206a5dd0bcc8d5e892611806cafb0301f0' )
assert . equal ( hd . pub . toHex ( ) , '02d2b36900396c9282fa14628566582f206a5dd0bcc8d5e892611806cafb0301f0' )
assert . equal ( b2h ( hd . chaincode ) , '637807030d55d01f9a0cb3a7839515d796bd07706386a6eddf06cc29a65a0e29' )
assert . equal ( b2h ( hd . chaincode ) , '637807030d55d01f9a0cb3a7839515d796bd07706386a6eddf06cc29a65a0e29' )
@ -220,7 +209,6 @@ describe('HDWallet', function() {
assert . equal ( b2h ( hd . getIdentifier ( ) ) , '26132fdbe7bf89cbc64cf8dafa3f9f88b8666220' )
assert . equal ( b2h ( hd . getIdentifier ( ) ) , '26132fdbe7bf89cbc64cf8dafa3f9f88b8666220' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , '26132fdb' )
assert . equal ( b2h ( hd . getFingerprint ( ) ) , '26132fdb' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '14UKfRV9ZPUp6ZC9PLhqbRtxdihW9em3xt' )
assert . equal ( hd . getAddress ( ) . toString ( ) , '14UKfRV9ZPUp6ZC9PLhqbRtxdihW9em3xt' )
assert . equal ( hd . priv . toHex ( ) . slice ( 0 , 64 ) , 'bb7d39bdb83ecf58f2fd82b6d918341cbef428661ef01ab97c28a4842125ac23' )
assert . equal ( hd . priv . toWIF ( ) , 'L3WAYNAZPxx1fr7KCz7GN9nD5qMBnNiqEJNJMU1z9MMaannAt4aK' )
assert . equal ( hd . priv . toWIF ( ) , 'L3WAYNAZPxx1fr7KCz7GN9nD5qMBnNiqEJNJMU1z9MMaannAt4aK' )
assert . equal ( hd . pub . toHex ( ) , '024d902e1a2fc7a8755ab5b694c575fce742c48d9ff192e63df5193e4c7afe1f9c' )
assert . equal ( hd . pub . toHex ( ) , '024d902e1a2fc7a8755ab5b694c575fce742c48d9ff192e63df5193e4c7afe1f9c' )
assert . equal ( b2h ( hd . chaincode ) , '9452b549be8cea3ecb7a84bec10dcfd94afe4d129ebfd3b3cb58eedf394ed271' )
assert . equal ( b2h ( hd . chaincode ) , '9452b549be8cea3ecb7a84bec10dcfd94afe4d129ebfd3b3cb58eedf394ed271' )