> @psf/bch-js@6.0.0 test /home/trout/bvt/bvt-bchjs/uut/bch-js > nyc mocha --trace-warnings --unhandled-rejections=strict --timeout 30000 test/unit/ ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic ✔ Generate keypair from mnemonic #address.js #addressConversion #toLegacyAddress ✔ should translate legacy address format to itself correctly ✔ should convert cashaddr address to legacy base58Check ✔ should convert cashaddr regtest address to legacy base58Check errors ✔ should fail when called with an invalid address #toCashAddress ✔ should convert legacy base58Check address to cashaddr (50ms) ✔ should convert legacy base58Check address to regtest cashaddr ✔ should translate cashaddr address format to itself correctly ✔ should translate regtest cashaddr address format to itself correctly (80ms) ✔ should translate no-prefix cashaddr address format to itself correctly ✔ should translate no-prefix regtest cashaddr address format to itself correctly ✔ should translate cashaddr address format to itself of no-prefix correctly ✔ should translate regtest cashaddr address format to itself of no-prefix correctly errors ✔ should fail when called with an invalid address #toHash160 ✔ should convert legacy base58check address to hash160 ✔ should convert cashaddr address to hash160 ✔ should convert regtest cashaddr address to hash160 errors ✔ should fail when called with an invalid address #fromHash160 ✔ should convert hash160 to mainnet P2PKH legacy base58check address ✔ should convert hash160 to mainnet P2SH legacy base58check address ✔ should convert hash160 to testnet P2PKH legacy base58check address ✔ should convert hash160 to mainnet P2PKH cash address ✔ should convert hash160 to mainnet P2SH cash address ✔ should convert hash160 to testnet P2PKH cash address ✔ should convert hash160 to regtest P2PKH cash address errors ✔ should fail when called with an invalid address address format detection #isLegacyAddress is legacy ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is a legacy base58Check address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is a legacy base58Check address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is a legacy base58Check address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is a legacy base58Check address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is a legacy base58Check address ✔ should detect 12AqNsGTyL6RDR8SDEtW9EyfYruFNZ9Sjs is a legacy base58Check address ✔ should detect 1P3Lq89iP27S76ZMKonty4mpJMDHp3a9NE is a legacy base58Check address ✔ should detect 14A8F8jHiipwnKLd2JEWqPvbGiS6FA7VoG is a legacy base58Check address ✔ should detect 1KgRZzxLUvZqL8EuufmdxqSjh3tgURwD6d is a legacy base58Check address ✔ should detect 1GMApiWJoTfQ21jbtVX3Qz8YtnGUuZAJtS is a legacy base58Check address ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is a legacy base58Check address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is a legacy base58Check address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is a legacy base58Check address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is a legacy base58Check address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is a legacy base58Check address ✔ should detect 3EGxduodZm6a9FLN1jdVxN8pT5orCmFdUK is a legacy base58Check address ✔ should detect 3DWvzGWYJCY19Gc4LcN8noHGpxdjRbJeYe is a legacy base58Check address ✔ should detect 3Aw9ePtWrH8EEJoF5HW8swW9VXxpF4dP54 is a legacy base58Check address ✔ should detect 3QTQE5rt7TZg7hXZ4DsTQ6mUUZCbFY2RiL is a legacy base58Check address ✔ should detect 3EoWFm3GcTzDFBQ9KGVevhH1nuSxa14eFM is a legacy base58Check address ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is a legacy base58Check address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is a legacy base58Check address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is a legacy base58Check address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is a legacy base58Check address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is a legacy base58Check address ✔ should detect n4g3swxSebC9cDHXTjYQcx3tRAe4EPrZrZ is a legacy base58Check address ✔ should detect n2yNUahmfBFLLzrpcXpMh8Votw7zbKVHtX is a legacy base58Check address ✔ should detect mqYM6bu8Vw6xFTTPhbtxWPPmFN8BwpVQeE is a legacy base58Check address ✔ should detect mrVbyCMyB3vhDya4rYSxdM8qivEGfn7JSP is a legacy base58Check address ✔ should detect mnqGaf1SbPFh1tdXdeXd7pWhJUY2ite6SY is a legacy base58Check address is not legacy ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is not a legacy address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is not a legacy address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is not a legacy address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is not a legacy address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is not a legacy address ✔ should detect bitcoincash:qqxdgs9x9rx4v7g4ea5kxyprj2k9wnv695578lwmt8 is not a legacy address ✔ should detect bitcoincash:qrcugfh4prxzl8qzqazyth7ytuc6k4qqcg50etp609 is not a legacy address ✔ should detect bitcoincash:qq32y2h0ljtyyv4xkk07gtyrclv2xwq5sq3pqrzjes is not a legacy address ✔ should detect bitcoincash:qrxwdlhfx5f4xsfnl0g887e5ccs5puy8sgj0z0md6k is not a legacy address ✔ should detect bitcoincash:qz595e7jwa3q4vw26whn6zcz6x074669lgnnvjkz5m is not a legacy address ✔ should detect bitcoincash:pp7ushdxf5we8mcpaa3wqgsuqt639cu59ur5xu5fug is not a legacy address ✔ should detect bitcoincash:ppsup5akyvql5w46q9eszd9fxpx970acpyqkw79vq2 is not a legacy address ✔ should detect bitcoincash:prznrkhnf6zqsap6l664ayzu2xue67ue4gv686sjyu is not a legacy address ✔ should detect bitcoincash:pphmm80pznl6pnkmzakz3ahafydmvhwzcslea4v5mz is not a legacy address ✔ should detect bitcoincash:pz6pr25g6mulp0kes9xnmsda0u4rf442ase2un89pl is not a legacy address ✔ should detect bitcoincash:pz9qe6ys8x0l98zegf0a9rae4zenk95yp5dv5xjnk5 is not a legacy address ✔ should detect bitcoincash:pzqmjwk8929jtqt7ac7szjuawtswmxhtu5xxm64upf is not a legacy address ✔ should detect bitcoincash:ppjk2e4nz47n50hpg8z6nt5hfjeajy4cyyp0p2tvnp is not a legacy address ✔ should detect bitcoincash:prum0t7tqczlyaw2d30tmpj3je9q2xlzwcqk9wx83u is not a legacy address ✔ should detect bitcoincash:pz8a837lttkvjksg0jjmmulqvfkgpqrcdgufy8ns5s is not a legacy address ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is not a legacy address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is not a legacy address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is not a legacy address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is not a legacy address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is not a legacy address ✔ should detect bchtest:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ypj7unqzc is not a legacy address ✔ should detect bchtest:qr44nfr9egxt7h7lxdktf9kajds9fwdxxcved7827j is not a legacy address ✔ should detect bchtest:qpklfd26u70ta4j7p4twxv2k5apx95p0qqgm8cf2sd is not a legacy address ✔ should detect bchtest:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalevaeknklfg is not a legacy address ✔ should detect bchtest:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ug89n8w8q is not a legacy address ✔ should detect bchreg:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2usk9rgkku is not a legacy address ✔ should detect bchreg:qpzj67wmlsq8uttddddapjjawyusureca5lq7ymw4p is not a legacy address ✔ should detect bchreg:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5pxq96p2t is not a legacy address ✔ should detect bchreg:qrem2cg43ksmvlampheur8gfgdhhk57myg7kv9a6fl is not a legacy address ✔ should detect bchreg:qp4jf3n740kffkladul96xnq5dtrflg4x55g4g8ef9 is not a legacy address ✔ should detect bchreg:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ymwgasnp7 is not a legacy address ✔ should detect bchreg:qr44nfr9egxt7h7lxdktf9kajds9fwdxxck9mlyea5 is not a legacy address ✔ should detect bchreg:qpklfd26u70ta4j7p4twxv2k5apx95p0qqj83e2ent is not a legacy address ✔ should detect bchreg:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalev89qj4v2w is not a legacy address ✔ should detect bchreg:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ujmnjyayx is not a legacy address errors ✔ should fail when called with an invalid address #isCashAddress is cashaddr ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is a cashaddr address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is a cashaddr address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is a cashaddr address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is a cashaddr address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is a cashaddr address ✔ should detect bitcoincash:qqxdgs9x9rx4v7g4ea5kxyprj2k9wnv695578lwmt8 is a cashaddr address ✔ should detect bitcoincash:qrcugfh4prxzl8qzqazyth7ytuc6k4qqcg50etp609 is a cashaddr address ✔ should detect bitcoincash:qq32y2h0ljtyyv4xkk07gtyrclv2xwq5sq3pqrzjes is a cashaddr address ✔ should detect bitcoincash:qrxwdlhfx5f4xsfnl0g887e5ccs5puy8sgj0z0md6k is a cashaddr address ✔ should detect bitcoincash:qz595e7jwa3q4vw26whn6zcz6x074669lgnnvjkz5m is a cashaddr address ✔ should detect bitcoincash:pp7ushdxf5we8mcpaa3wqgsuqt639cu59ur5xu5fug is a cashaddr address ✔ should detect bitcoincash:ppsup5akyvql5w46q9eszd9fxpx970acpyqkw79vq2 is a cashaddr address ✔ should detect bitcoincash:prznrkhnf6zqsap6l664ayzu2xue67ue4gv686sjyu is a cashaddr address ✔ should detect bitcoincash:pphmm80pznl6pnkmzakz3ahafydmvhwzcslea4v5mz is a cashaddr address ✔ should detect bitcoincash:pz6pr25g6mulp0kes9xnmsda0u4rf442ase2un89pl is a cashaddr address ✔ should detect bitcoincash:pz9qe6ys8x0l98zegf0a9rae4zenk95yp5dv5xjnk5 is a cashaddr address ✔ should detect bitcoincash:pzqmjwk8929jtqt7ac7szjuawtswmxhtu5xxm64upf is a cashaddr address ✔ should detect bitcoincash:ppjk2e4nz47n50hpg8z6nt5hfjeajy4cyyp0p2tvnp is a cashaddr address ✔ should detect bitcoincash:prum0t7tqczlyaw2d30tmpj3je9q2xlzwcqk9wx83u is a cashaddr address ✔ should detect bitcoincash:pz8a837lttkvjksg0jjmmulqvfkgpqrcdgufy8ns5s is a cashaddr address ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is a cashaddr address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is a cashaddr address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is a cashaddr address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is a cashaddr address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is a cashaddr address ✔ should detect bchtest:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ypj7unqzc is a cashaddr address ✔ should detect bchtest:qr44nfr9egxt7h7lxdktf9kajds9fwdxxcved7827j is a cashaddr address ✔ should detect bchtest:qpklfd26u70ta4j7p4twxv2k5apx95p0qqgm8cf2sd is a cashaddr address ✔ should detect bchtest:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalevaeknklfg is a cashaddr address ✔ should detect bchtest:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ug89n8w8q is a cashaddr address ✔ should detect bchreg:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2usk9rgkku is a cashaddr address ✔ should detect bchreg:qpzj67wmlsq8uttddddapjjawyusureca5lq7ymw4p is a cashaddr address ✔ should detect bchreg:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5pxq96p2t is a cashaddr address ✔ should detect bchreg:qrem2cg43ksmvlampheur8gfgdhhk57myg7kv9a6fl is a cashaddr address ✔ should detect bchreg:qp4jf3n740kffkladul96xnq5dtrflg4x55g4g8ef9 is a cashaddr address ✔ should detect bchreg:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ymwgasnp7 is a cashaddr address ✔ should detect bchreg:qr44nfr9egxt7h7lxdktf9kajds9fwdxxck9mlyea5 is a cashaddr address ✔ should detect bchreg:qpklfd26u70ta4j7p4twxv2k5apx95p0qqj83e2ent is a cashaddr address ✔ should detect bchreg:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalev89qj4v2w is a cashaddr address ✔ should detect bchreg:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ujmnjyayx is a cashaddr address is not cashaddr ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is not a cashaddr address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is not a cashaddr address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is not a cashaddr address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is not a cashaddr address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is not a cashaddr address ✔ should detect 12AqNsGTyL6RDR8SDEtW9EyfYruFNZ9Sjs is not a cashaddr address ✔ should detect 1P3Lq89iP27S76ZMKonty4mpJMDHp3a9NE is not a cashaddr address ✔ should detect 14A8F8jHiipwnKLd2JEWqPvbGiS6FA7VoG is not a cashaddr address ✔ should detect 1KgRZzxLUvZqL8EuufmdxqSjh3tgURwD6d is not a cashaddr address ✔ should detect 1GMApiWJoTfQ21jbtVX3Qz8YtnGUuZAJtS is not a cashaddr address ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is not a cashaddr address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is not a cashaddr address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is not a cashaddr address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is not a cashaddr address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is not a cashaddr address ✔ should detect 3EGxduodZm6a9FLN1jdVxN8pT5orCmFdUK is not a cashaddr address ✔ should detect 3DWvzGWYJCY19Gc4LcN8noHGpxdjRbJeYe is not a cashaddr address ✔ should detect 3Aw9ePtWrH8EEJoF5HW8swW9VXxpF4dP54 is not a cashaddr address ✔ should detect 3QTQE5rt7TZg7hXZ4DsTQ6mUUZCbFY2RiL is not a cashaddr address ✔ should detect 3EoWFm3GcTzDFBQ9KGVevhH1nuSxa14eFM is not a cashaddr address ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is not a cashaddr address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is not a cashaddr address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is not a cashaddr address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is not a cashaddr address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is not a cashaddr address ✔ should detect n4g3swxSebC9cDHXTjYQcx3tRAe4EPrZrZ is not a cashaddr address ✔ should detect n2yNUahmfBFLLzrpcXpMh8Votw7zbKVHtX is not a cashaddr address ✔ should detect mqYM6bu8Vw6xFTTPhbtxWPPmFN8BwpVQeE is not a cashaddr address ✔ should detect mrVbyCMyB3vhDya4rYSxdM8qivEGfn7JSP is not a cashaddr address ✔ should detect mnqGaf1SbPFh1tdXdeXd7pWhJUY2ite6SY is not a cashaddr address errors ✔ should fail when called with an invalid address #isHash160 is hash160 ✔ should detect 573d93b475be4f1925f3b74ed951201b0147eac1 is a hash160 hash ✔ should detect c6a872e524a03b7d400c425d7b974a35c78f4634 is a hash160 hash ✔ should detect 6c9456d8b14aeb409086a6ce817d4e7b74cc830c is a hash160 hash ✔ should detect 428df38e23fc879a25819427995c3e6355b12d33 is a hash160 hash ✔ should detect c9239ab0f3130c1f5596de6ef6c502727022caad is a hash160 hash ✔ should detect 0cd440a628cd567915cf6963102392ac574d9a2d is a hash160 hash ✔ should detect f1c426f508cc2f9c02074445dfc45f31ab5400c2 is a hash160 hash ✔ should detect 22a22aeffc964232a6b59fe42c83c7d8a3381480 is a hash160 hash ✔ should detect cce6fee93513534133fbd073fb34c62140f08782 is a hash160 hash ✔ should detect a85a67d277620ab1cad3af3d0b02d19feaeb45fa is a hash160 hash ✔ should detect 7dc85da64d1d93ef01ef62e0221c02f512e3942f is a hash160 hash ✔ should detect 61c0d3b62301fa3aba01730134a9304c5f3fb809 is a hash160 hash ✔ should detect c531daf34e8408743afeb55e905c51b99d7b99aa is a hash160 hash ✔ should detect 6fbd9de114ffa0cedb176c28f6fd491bb65dc2c4 is a hash160 hash ✔ should detect b411aa88d6f9f0bed9814d3dc1bd7f2a34d6aaec is a hash160 hash ✔ should detect 8a0ce890399ff29c59425fd28fb9a8b33b16840d is a hash160 hash ✔ should detect 81b93ac72a8b25817eee3d014b9d72e0ed9aebe5 is a hash160 hash ✔ should detect 656566b3157d3a3ee141c5a9ae974cb3d912b821 is a hash160 hash ✔ should detect f9b7afcb0605f275ca6c5ebd8651964a051be276 is a hash160 hash ✔ should detect 8fd3c7df5aecc95a087ca5bdf3e0626c8080786a is a hash160 hash ✔ should detect 155187a3283b08b30519db50bc23bbba9f4b6657 is a hash160 hash ✔ should detect 452d79dbfc007e2d6d6b5bd0ca5d71390e0f38ed is a hash160 hash ✔ should detect 9682e2bc8fdb7468fb020430ff3aee4aabba69cd is a hash160 hash ✔ should detect f3b561158da1b67fbb0df3c19d09436f7b53db22 is a hash160 hash ✔ should detect 6b24c67eabec94dbfd6f3e5d1a60a35634fd1535 is a hash160 hash ✔ should detect fe034c5ce6aec620a0c8dfb7962475a53e79dbf1 is a hash160 hash ✔ should detect eb59a465ca0cbf5fdf336cb496dd936054b9a636 is a hash160 hash ✔ should detect 6df4b55ae79ebed65e0d56e33156a74262d02f00 is a hash160 hash ✔ should detect 786800480464fed0eb9edc14606e71076ccfbfcb is a hash160 hash ✔ should detect 503fa1e406da9a90e029df9a7966d33cc1b1b057 is a hash160 hash is not hash160 ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is not a hash160 hash ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is not a hash160 hash ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is not a hash160 hash ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is not a hash160 hash ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is not a hash160 hash ✔ should detect 12AqNsGTyL6RDR8SDEtW9EyfYruFNZ9Sjs is not a hash160 hash ✔ should detect 1P3Lq89iP27S76ZMKonty4mpJMDHp3a9NE is not a hash160 hash ✔ should detect 14A8F8jHiipwnKLd2JEWqPvbGiS6FA7VoG is not a hash160 hash ✔ should detect 1KgRZzxLUvZqL8EuufmdxqSjh3tgURwD6d is not a hash160 hash ✔ should detect 1GMApiWJoTfQ21jbtVX3Qz8YtnGUuZAJtS is not a hash160 hash ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is not a hash160 hash ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is not a hash160 hash ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is not a hash160 hash ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is not a hash160 hash ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is not a hash160 hash ✔ should detect 3EGxduodZm6a9FLN1jdVxN8pT5orCmFdUK is not a hash160 hash ✔ should detect 3DWvzGWYJCY19Gc4LcN8noHGpxdjRbJeYe is not a hash160 hash ✔ should detect 3Aw9ePtWrH8EEJoF5HW8swW9VXxpF4dP54 is not a hash160 hash ✔ should detect 3QTQE5rt7TZg7hXZ4DsTQ6mUUZCbFY2RiL is not a hash160 hash ✔ should detect 3EoWFm3GcTzDFBQ9KGVevhH1nuSxa14eFM is not a hash160 hash ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is not a hash160 hash ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is not a hash160 hash ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is not a hash160 hash ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is not a hash160 hash ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is not a hash160 hash ✔ should detect n4g3swxSebC9cDHXTjYQcx3tRAe4EPrZrZ is not a hash160 hash ✔ should detect n2yNUahmfBFLLzrpcXpMh8Votw7zbKVHtX is not a hash160 hash ✔ should detect mqYM6bu8Vw6xFTTPhbtxWPPmFN8BwpVQeE is not a hash160 hash ✔ should detect mrVbyCMyB3vhDya4rYSxdM8qivEGfn7JSP is not a hash160 hash ✔ should detect mnqGaf1SbPFh1tdXdeXd7pWhJUY2ite6SY is not a hash160 hash ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is not a hash160 hash ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is not a hash160 hash ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is not a hash160 hash ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is not a hash160 hash ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is not a hash160 hash ✔ should detect bitcoincash:qqxdgs9x9rx4v7g4ea5kxyprj2k9wnv695578lwmt8 is not a hash160 hash ✔ should detect bitcoincash:qrcugfh4prxzl8qzqazyth7ytuc6k4qqcg50etp609 is not a hash160 hash ✔ should detect bitcoincash:qq32y2h0ljtyyv4xkk07gtyrclv2xwq5sq3pqrzjes is not a hash160 hash ✔ should detect bitcoincash:qrxwdlhfx5f4xsfnl0g887e5ccs5puy8sgj0z0md6k is not a hash160 hash ✔ should detect bitcoincash:qz595e7jwa3q4vw26whn6zcz6x074669lgnnvjkz5m is not a hash160 hash ✔ should detect bitcoincash:pp7ushdxf5we8mcpaa3wqgsuqt639cu59ur5xu5fug is not a hash160 hash ✔ should detect bitcoincash:ppsup5akyvql5w46q9eszd9fxpx970acpyqkw79vq2 is not a hash160 hash ✔ should detect bitcoincash:prznrkhnf6zqsap6l664ayzu2xue67ue4gv686sjyu is not a hash160 hash ✔ should detect bitcoincash:pphmm80pznl6pnkmzakz3ahafydmvhwzcslea4v5mz is not a hash160 hash ✔ should detect bitcoincash:pz6pr25g6mulp0kes9xnmsda0u4rf442ase2un89pl is not a hash160 hash ✔ should detect bitcoincash:pz9qe6ys8x0l98zegf0a9rae4zenk95yp5dv5xjnk5 is not a hash160 hash ✔ should detect bitcoincash:pzqmjwk8929jtqt7ac7szjuawtswmxhtu5xxm64upf is not a hash160 hash ✔ should detect bitcoincash:ppjk2e4nz47n50hpg8z6nt5hfjeajy4cyyp0p2tvnp is not a hash160 hash ✔ should detect bitcoincash:prum0t7tqczlyaw2d30tmpj3je9q2xlzwcqk9wx83u is not a hash160 hash ✔ should detect bitcoincash:pz8a837lttkvjksg0jjmmulqvfkgpqrcdgufy8ns5s is not a hash160 hash ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is not a hash160 hash ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is not a hash160 hash ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is not a hash160 hash ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is not a hash160 hash ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is not a hash160 hash ✔ should detect bchtest:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ypj7unqzc is not a hash160 hash ✔ should detect bchtest:qr44nfr9egxt7h7lxdktf9kajds9fwdxxcved7827j is not a hash160 hash ✔ should detect bchtest:qpklfd26u70ta4j7p4twxv2k5apx95p0qqgm8cf2sd is not a hash160 hash ✔ should detect bchtest:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalevaeknklfg is not a hash160 hash ✔ should detect bchtest:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ug89n8w8q is not a hash160 hash ✔ should detect bchreg:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2usk9rgkku is not a legacy address ✔ should detect bchreg:qpzj67wmlsq8uttddddapjjawyusureca5lq7ymw4p is not a legacy address ✔ should detect bchreg:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5pxq96p2t is not a legacy address ✔ should detect bchreg:qrem2cg43ksmvlampheur8gfgdhhk57myg7kv9a6fl is not a legacy address ✔ should detect bchreg:qp4jf3n740kffkladul96xnq5dtrflg4x55g4g8ef9 is not a legacy address ✔ should detect bchreg:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ymwgasnp7 is not a legacy address ✔ should detect bchreg:qr44nfr9egxt7h7lxdktf9kajds9fwdxxck9mlyea5 is not a legacy address ✔ should detect bchreg:qpklfd26u70ta4j7p4twxv2k5apx95p0qqj83e2ent is not a legacy address ✔ should detect bchreg:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalev89qj4v2w is not a legacy address ✔ should detect bchreg:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ujmnjyayx is not a legacy address errors ✔ should fail when called with an invalid address network detection #isMainnetAddress is mainnet ✔ should detect xpub6CVcpZVmPNjuniVYu1mLnLjDBfxWpx7LS25uxwRm5BLbXMCJmRaQgAxuqZDoYDeidJUh5QUatLJPWpeCkEK648hExyKFezqxJz4CMfEoYAc is a mainnet address ✔ should detect xpub6CVcpZVmPNjuqYFnvSYoD9hE89PKmsWewFWGKeaCcVNSfDTgQgMuhm8Q2zreBsNQVMSJrBmQ3C95fi3SiRXYRQckQJMZuPXTJm9TcQejW13 is a mainnet address ✔ should detect xpub6CVcpZVmPNjuu1zjt9joxDzDrP9UNs6GVS5K1jSopnq76RBZswLsxy75qvJTVcSS6V9Y4Df6L7GDsbns99WrLrfmBNwocEdQm5CXFGExAgq is a mainnet address ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is a mainnet address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is a mainnet address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is a mainnet address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is a mainnet address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is a mainnet address ✔ should detect 12AqNsGTyL6RDR8SDEtW9EyfYruFNZ9Sjs is a mainnet address ✔ should detect 1P3Lq89iP27S76ZMKonty4mpJMDHp3a9NE is a mainnet address ✔ should detect 14A8F8jHiipwnKLd2JEWqPvbGiS6FA7VoG is a mainnet address ✔ should detect 1KgRZzxLUvZqL8EuufmdxqSjh3tgURwD6d is a mainnet address ✔ should detect 1GMApiWJoTfQ21jbtVX3Qz8YtnGUuZAJtS is a mainnet address ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is a mainnet address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is a mainnet address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is a mainnet address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is a mainnet address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is a mainnet address ✔ should detect 3EGxduodZm6a9FLN1jdVxN8pT5orCmFdUK is a mainnet address ✔ should detect 3DWvzGWYJCY19Gc4LcN8noHGpxdjRbJeYe is a mainnet address ✔ should detect 3Aw9ePtWrH8EEJoF5HW8swW9VXxpF4dP54 is a mainnet address ✔ should detect 3QTQE5rt7TZg7hXZ4DsTQ6mUUZCbFY2RiL is a mainnet address ✔ should detect 3EoWFm3GcTzDFBQ9KGVevhH1nuSxa14eFM is a mainnet address ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is a mainnet address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is a mainnet address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is a mainnet address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is a mainnet address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is a mainnet address ✔ should detect bitcoincash:qqxdgs9x9rx4v7g4ea5kxyprj2k9wnv695578lwmt8 is a mainnet address ✔ should detect bitcoincash:qrcugfh4prxzl8qzqazyth7ytuc6k4qqcg50etp609 is a mainnet address ✔ should detect bitcoincash:qq32y2h0ljtyyv4xkk07gtyrclv2xwq5sq3pqrzjes is a mainnet address ✔ should detect bitcoincash:qrxwdlhfx5f4xsfnl0g887e5ccs5puy8sgj0z0md6k is a mainnet address ✔ should detect bitcoincash:qz595e7jwa3q4vw26whn6zcz6x074669lgnnvjkz5m is a mainnet address is not mainnet ✔ should detect tpubDCrnMSKwDMAbxg82yqDt97peMvftCXk3EfBb9WgZh27mPbHGkysU3TW7qX5AwydmnVQfaGeNhUR6okQ3dS5AJTP9gEP7jk2Wcj6Xntc6gNh is not a mainnet address ✔ should detect tpubDCrnMSKwDMAbzuN7eQDcFh9c6BsUvHHiL7j1AE9f9mE2ertgK6DwAZ6xmqtM3G5ifPkVynnjhMMMS87R1x4DTPrCbp4VjBttqMc4KmQEMRv is not a mainnet address ✔ should detect tpubDCrnMSKwDMAc4zKRDfxDqmzzxwLd85MFYF3cHzmdGDchnS7Sz2UiHD6HqaJR5Lefq6BhApPvGsdp3smjE1KRNkWHZ4wWogt7UYrgVznGfs1 is not a mainnet address ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is not a mainnet address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is not a mainnet address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is not a mainnet address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is not a mainnet address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is not a mainnet address ✔ should detect n4g3swxSebC9cDHXTjYQcx3tRAe4EPrZrZ is not a mainnet address ✔ should detect n2yNUahmfBFLLzrpcXpMh8Votw7zbKVHtX is not a mainnet address ✔ should detect mqYM6bu8Vw6xFTTPhbtxWPPmFN8BwpVQeE is not a mainnet address ✔ should detect mrVbyCMyB3vhDya4rYSxdM8qivEGfn7JSP is not a mainnet address ✔ should detect mnqGaf1SbPFh1tdXdeXd7pWhJUY2ite6SY is not a mainnet address ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is not a mainnet address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is not a mainnet address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is not a mainnet address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is not a mainnet address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is not a mainnet address ✔ should detect bchtest:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ypj7unqzc is not a mainnet address ✔ should detect bchtest:qr44nfr9egxt7h7lxdktf9kajds9fwdxxcved7827j is not a mainnet address ✔ should detect bchtest:qpklfd26u70ta4j7p4twxv2k5apx95p0qqgm8cf2sd is not a mainnet address ✔ should detect bchtest:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalevaeknklfg is not a mainnet address ✔ should detect bchtest:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ug89n8w8q is not a mainnet address ✔ should detect bchreg:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2usk9rgkku is not a mainnet address ✔ should detect bchreg:qpzj67wmlsq8uttddddapjjawyusureca5lq7ymw4p is not a mainnet address ✔ should detect bchreg:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5pxq96p2t is not a mainnet address ✔ should detect bchreg:qrem2cg43ksmvlampheur8gfgdhhk57myg7kv9a6fl is not a mainnet address ✔ should detect bchreg:qp4jf3n740kffkladul96xnq5dtrflg4x55g4g8ef9 is not a mainnet address ✔ should detect bchreg:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ymwgasnp7 is not a mainnet address ✔ should detect bchreg:qr44nfr9egxt7h7lxdktf9kajds9fwdxxck9mlyea5 is not a mainnet address ✔ should detect bchreg:qpklfd26u70ta4j7p4twxv2k5apx95p0qqj83e2ent is not a mainnet address ✔ should detect bchreg:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalev89qj4v2w is not a mainnet address ✔ should detect bchreg:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ujmnjyayx is not a mainnet address errors ✔ should fail when called with an invalid address #isTestnetAddress is testnet ✔ should detect tpubDCrnMSKwDMAbxg82yqDt97peMvftCXk3EfBb9WgZh27mPbHGkysU3TW7qX5AwydmnVQfaGeNhUR6okQ3dS5AJTP9gEP7jk2Wcj6Xntc6gNh is a testnet address ✔ should detect tpubDCrnMSKwDMAbzuN7eQDcFh9c6BsUvHHiL7j1AE9f9mE2ertgK6DwAZ6xmqtM3G5ifPkVynnjhMMMS87R1x4DTPrCbp4VjBttqMc4KmQEMRv is a testnet address ✔ should detect tpubDCrnMSKwDMAc4zKRDfxDqmzzxwLd85MFYF3cHzmdGDchnS7Sz2UiHD6HqaJR5Lefq6BhApPvGsdp3smjE1KRNkWHZ4wWogt7UYrgVznGfs1 is a testnet address ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is a testnet address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is a testnet address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is a testnet address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is a testnet address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is a testnet address ✔ should detect n4g3swxSebC9cDHXTjYQcx3tRAe4EPrZrZ is a testnet address ✔ should detect n2yNUahmfBFLLzrpcXpMh8Votw7zbKVHtX is a testnet address ✔ should detect mqYM6bu8Vw6xFTTPhbtxWPPmFN8BwpVQeE is a testnet address ✔ should detect mrVbyCMyB3vhDya4rYSxdM8qivEGfn7JSP is a testnet address ✔ should detect mnqGaf1SbPFh1tdXdeXd7pWhJUY2ite6SY is a testnet address ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is a testnet address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is a testnet address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is a testnet address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is a testnet address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is a testnet address ✔ should detect bchtest:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ypj7unqzc is a testnet address ✔ should detect bchtest:qr44nfr9egxt7h7lxdktf9kajds9fwdxxcved7827j is a testnet address ✔ should detect bchtest:qpklfd26u70ta4j7p4twxv2k5apx95p0qqgm8cf2sd is a testnet address ✔ should detect bchtest:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalevaeknklfg is a testnet address ✔ should detect bchtest:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ug89n8w8q is a testnet address is not testnet ✔ should detect xpub6CVcpZVmPNjuniVYu1mLnLjDBfxWpx7LS25uxwRm5BLbXMCJmRaQgAxuqZDoYDeidJUh5QUatLJPWpeCkEK648hExyKFezqxJz4CMfEoYAc is not a testnet address ✔ should detect xpub6CVcpZVmPNjuqYFnvSYoD9hE89PKmsWewFWGKeaCcVNSfDTgQgMuhm8Q2zreBsNQVMSJrBmQ3C95fi3SiRXYRQckQJMZuPXTJm9TcQejW13 is not a testnet address ✔ should detect xpub6CVcpZVmPNjuu1zjt9joxDzDrP9UNs6GVS5K1jSopnq76RBZswLsxy75qvJTVcSS6V9Y4Df6L7GDsbns99WrLrfmBNwocEdQm5CXFGExAgq is not a testnet address ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is not a testnet address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is not a testnet address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is not a testnet address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is not a testnet address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is not a testnet address ✔ should detect 12AqNsGTyL6RDR8SDEtW9EyfYruFNZ9Sjs is not a testnet address ✔ should detect 1P3Lq89iP27S76ZMKonty4mpJMDHp3a9NE is not a testnet address ✔ should detect 14A8F8jHiipwnKLd2JEWqPvbGiS6FA7VoG is not a testnet address ✔ should detect 1KgRZzxLUvZqL8EuufmdxqSjh3tgURwD6d is not a testnet address ✔ should detect 1GMApiWJoTfQ21jbtVX3Qz8YtnGUuZAJtS is not a testnet address ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is not a testnet address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is not a testnet address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is not a testnet address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is not a testnet address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is not a testnet address ✔ should detect 3EGxduodZm6a9FLN1jdVxN8pT5orCmFdUK is not a testnet address ✔ should detect 3DWvzGWYJCY19Gc4LcN8noHGpxdjRbJeYe is not a testnet address ✔ should detect 3Aw9ePtWrH8EEJoF5HW8swW9VXxpF4dP54 is not a testnet address ✔ should detect 3QTQE5rt7TZg7hXZ4DsTQ6mUUZCbFY2RiL is not a testnet address ✔ should detect 3EoWFm3GcTzDFBQ9KGVevhH1nuSxa14eFM is not a testnet address ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is not a testnet address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is not a testnet address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is not a testnet address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is not a testnet address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is not a testnet address ✔ should detect bitcoincash:qqxdgs9x9rx4v7g4ea5kxyprj2k9wnv695578lwmt8 is not a testnet address ✔ should detect bitcoincash:qrcugfh4prxzl8qzqazyth7ytuc6k4qqcg50etp609 is not a testnet address ✔ should detect bitcoincash:qq32y2h0ljtyyv4xkk07gtyrclv2xwq5sq3pqrzjes is not a testnet address ✔ should detect bitcoincash:qrxwdlhfx5f4xsfnl0g887e5ccs5puy8sgj0z0md6k is not a testnet address ✔ should detect bitcoincash:qz595e7jwa3q4vw26whn6zcz6x074669lgnnvjkz5m is not a testnet address ✔ should detect bchreg:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2usk9rgkku is not a testnet address ✔ should detect bchreg:qpzj67wmlsq8uttddddapjjawyusureca5lq7ymw4p is not a testnet address ✔ should detect bchreg:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5pxq96p2t is not a testnet address ✔ should detect bchreg:qrem2cg43ksmvlampheur8gfgdhhk57myg7kv9a6fl is not a testnet address ✔ should detect bchreg:qp4jf3n740kffkladul96xnq5dtrflg4x55g4g8ef9 is not a testnet address ✔ should detect bchreg:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ymwgasnp7 is not a testnet address ✔ should detect bchreg:qr44nfr9egxt7h7lxdktf9kajds9fwdxxck9mlyea5 is not a testnet address ✔ should detect bchreg:qpklfd26u70ta4j7p4twxv2k5apx95p0qqj83e2ent is not a testnet address ✔ should detect bchreg:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalev89qj4v2w is not a testnet address ✔ should detect bchreg:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ujmnjyayx is not a testnet address errors ✔ should fail when called with an invalid address #isRegTestAddress is testnet ✔ should detect bchreg:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2usk9rgkku is a regtest address ✔ should detect bchreg:qpzj67wmlsq8uttddddapjjawyusureca5lq7ymw4p is a regtest address ✔ should detect bchreg:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5pxq96p2t is a regtest address ✔ should detect bchreg:qrem2cg43ksmvlampheur8gfgdhhk57myg7kv9a6fl is a regtest address ✔ should detect bchreg:qp4jf3n740kffkladul96xnq5dtrflg4x55g4g8ef9 is a regtest address ✔ should detect bchreg:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ymwgasnp7 is a regtest address ✔ should detect bchreg:qr44nfr9egxt7h7lxdktf9kajds9fwdxxck9mlyea5 is a regtest address ✔ should detect bchreg:qpklfd26u70ta4j7p4twxv2k5apx95p0qqj83e2ent is a regtest address ✔ should detect bchreg:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalev89qj4v2w is a regtest address ✔ should detect bchreg:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ujmnjyayx is a regtest address is not testnet ✔ should detect xpub6CVcpZVmPNjuniVYu1mLnLjDBfxWpx7LS25uxwRm5BLbXMCJmRaQgAxuqZDoYDeidJUh5QUatLJPWpeCkEK648hExyKFezqxJz4CMfEoYAc is not a regtest address ✔ should detect xpub6CVcpZVmPNjuqYFnvSYoD9hE89PKmsWewFWGKeaCcVNSfDTgQgMuhm8Q2zreBsNQVMSJrBmQ3C95fi3SiRXYRQckQJMZuPXTJm9TcQejW13 is not a regtest address ✔ should detect xpub6CVcpZVmPNjuu1zjt9joxDzDrP9UNs6GVS5K1jSopnq76RBZswLsxy75qvJTVcSS6V9Y4Df6L7GDsbns99WrLrfmBNwocEdQm5CXFGExAgq is not a regtest address ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is not a regtest address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is not a regtest address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is not a regtest address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is not a regtest address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is not a regtest address ✔ should detect 12AqNsGTyL6RDR8SDEtW9EyfYruFNZ9Sjs is not a regtest address ✔ should detect 1P3Lq89iP27S76ZMKonty4mpJMDHp3a9NE is not a regtest address ✔ should detect 14A8F8jHiipwnKLd2JEWqPvbGiS6FA7VoG is not a regtest address ✔ should detect 1KgRZzxLUvZqL8EuufmdxqSjh3tgURwD6d is not a regtest address ✔ should detect 1GMApiWJoTfQ21jbtVX3Qz8YtnGUuZAJtS is not a regtest address ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is not a regtest address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is not a regtest address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is not a regtest address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is not a regtest address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is not a regtest address ✔ should detect 3EGxduodZm6a9FLN1jdVxN8pT5orCmFdUK is not a regtest address ✔ should detect 3DWvzGWYJCY19Gc4LcN8noHGpxdjRbJeYe is not a regtest address ✔ should detect 3Aw9ePtWrH8EEJoF5HW8swW9VXxpF4dP54 is not a regtest address ✔ should detect 3QTQE5rt7TZg7hXZ4DsTQ6mUUZCbFY2RiL is not a regtest address ✔ should detect 3EoWFm3GcTzDFBQ9KGVevhH1nuSxa14eFM is not a regtest address ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is not a regtest address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is not a regtest address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is not a regtest address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is not a regtest address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is not a regtest address ✔ should detect bitcoincash:qqxdgs9x9rx4v7g4ea5kxyprj2k9wnv695578lwmt8 is not a regtest address ✔ should detect bitcoincash:qrcugfh4prxzl8qzqazyth7ytuc6k4qqcg50etp609 is not a regtest address ✔ should detect bitcoincash:qq32y2h0ljtyyv4xkk07gtyrclv2xwq5sq3pqrzjes is not a regtest address ✔ should detect bitcoincash:qrxwdlhfx5f4xsfnl0g887e5ccs5puy8sgj0z0md6k is not a regtest address ✔ should detect bitcoincash:qz595e7jwa3q4vw26whn6zcz6x074669lgnnvjkz5m is not a regtest address ✔ should detect tpubDCrnMSKwDMAbxg82yqDt97peMvftCXk3EfBb9WgZh27mPbHGkysU3TW7qX5AwydmnVQfaGeNhUR6okQ3dS5AJTP9gEP7jk2Wcj6Xntc6gNh is not a regtest address ✔ should detect tpubDCrnMSKwDMAbzuN7eQDcFh9c6BsUvHHiL7j1AE9f9mE2ertgK6DwAZ6xmqtM3G5ifPkVynnjhMMMS87R1x4DTPrCbp4VjBttqMc4KmQEMRv is not a regtest address ✔ should detect tpubDCrnMSKwDMAc4zKRDfxDqmzzxwLd85MFYF3cHzmdGDchnS7Sz2UiHD6HqaJR5Lefq6BhApPvGsdp3smjE1KRNkWHZ4wWogt7UYrgVznGfs1 is not a regtest address ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is not a regtest address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is not a regtest address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is not a regtest address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is not a regtest address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is not a regtest address ✔ should detect n4g3swxSebC9cDHXTjYQcx3tRAe4EPrZrZ is not a regtest address ✔ should detect n2yNUahmfBFLLzrpcXpMh8Votw7zbKVHtX is not a regtest address ✔ should detect mqYM6bu8Vw6xFTTPhbtxWPPmFN8BwpVQeE is not a regtest address ✔ should detect mrVbyCMyB3vhDya4rYSxdM8qivEGfn7JSP is not a regtest address ✔ should detect mnqGaf1SbPFh1tdXdeXd7pWhJUY2ite6SY is not a regtest address ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is not a regtest address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is not a regtest address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is not a regtest address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is not a regtest address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is not a regtest address ✔ should detect bchtest:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ypj7unqzc is not a regtest address ✔ should detect bchtest:qr44nfr9egxt7h7lxdktf9kajds9fwdxxcved7827j is not a regtest address ✔ should detect bchtest:qpklfd26u70ta4j7p4twxv2k5apx95p0qqgm8cf2sd is not a regtest address ✔ should detect bchtest:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalevaeknklfg is not a regtest address ✔ should detect bchtest:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ug89n8w8q is not a regtest address errors ✔ should fail when called with an invalid address address type detection #isP2PKHAddress is P2PKH ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is a P2PKH address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is a P2PKH address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is a P2PKH address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is a P2PKH address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is a P2PKH address ✔ should detect 12AqNsGTyL6RDR8SDEtW9EyfYruFNZ9Sjs is a P2PKH address ✔ should detect 1P3Lq89iP27S76ZMKonty4mpJMDHp3a9NE is a P2PKH address ✔ should detect 14A8F8jHiipwnKLd2JEWqPvbGiS6FA7VoG is a P2PKH address ✔ should detect 1KgRZzxLUvZqL8EuufmdxqSjh3tgURwD6d is a P2PKH address ✔ should detect 1GMApiWJoTfQ21jbtVX3Qz8YtnGUuZAJtS is a P2PKH address ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is a P2PKH address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is a P2PKH address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is a P2PKH address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is a P2PKH address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is a P2PKH address ✔ should detect n4g3swxSebC9cDHXTjYQcx3tRAe4EPrZrZ is a P2PKH address ✔ should detect n2yNUahmfBFLLzrpcXpMh8Votw7zbKVHtX is a P2PKH address ✔ should detect mqYM6bu8Vw6xFTTPhbtxWPPmFN8BwpVQeE is a P2PKH address ✔ should detect mrVbyCMyB3vhDya4rYSxdM8qivEGfn7JSP is a P2PKH address ✔ should detect mnqGaf1SbPFh1tdXdeXd7pWhJUY2ite6SY is a P2PKH address ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is a P2PKH address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is a P2PKH address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is a P2PKH address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is a P2PKH address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is a P2PKH address ✔ should detect bitcoincash:qqxdgs9x9rx4v7g4ea5kxyprj2k9wnv695578lwmt8 is a P2PKH address ✔ should detect bitcoincash:qrcugfh4prxzl8qzqazyth7ytuc6k4qqcg50etp609 is a P2PKH address ✔ should detect bitcoincash:qq32y2h0ljtyyv4xkk07gtyrclv2xwq5sq3pqrzjes is a P2PKH address ✔ should detect bitcoincash:qrxwdlhfx5f4xsfnl0g887e5ccs5puy8sgj0z0md6k is a P2PKH address ✔ should detect bitcoincash:qz595e7jwa3q4vw26whn6zcz6x074669lgnnvjkz5m is a P2PKH address ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is a P2PKH address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is a P2PKH address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is a P2PKH address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is a P2PKH address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is a P2PKH address ✔ should detect bchtest:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ypj7unqzc is a P2PKH address ✔ should detect bchtest:qr44nfr9egxt7h7lxdktf9kajds9fwdxxcved7827j is a P2PKH address ✔ should detect bchtest:qpklfd26u70ta4j7p4twxv2k5apx95p0qqgm8cf2sd is a P2PKH address ✔ should detect bchtest:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalevaeknklfg is a P2PKH address ✔ should detect bchtest:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ug89n8w8q is a P2PKH address ✔ should detect bchreg:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2usk9rgkku is a P2PKH address ✔ should detect bchreg:qpzj67wmlsq8uttddddapjjawyusureca5lq7ymw4p is a P2PKH address ✔ should detect bchreg:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5pxq96p2t is a P2PKH address ✔ should detect bchreg:qrem2cg43ksmvlampheur8gfgdhhk57myg7kv9a6fl is a P2PKH address ✔ should detect bchreg:qp4jf3n740kffkladul96xnq5dtrflg4x55g4g8ef9 is a P2PKH address ✔ should detect bchreg:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ymwgasnp7 is a P2PKH address ✔ should detect bchreg:qr44nfr9egxt7h7lxdktf9kajds9fwdxxck9mlyea5 is a P2PKH address ✔ should detect bchreg:qpklfd26u70ta4j7p4twxv2k5apx95p0qqj83e2ent is a P2PKH address ✔ should detect bchreg:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalev89qj4v2w is a P2PKH address ✔ should detect bchreg:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ujmnjyayx is a P2PKH address is not P2PKH ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is not a P2PKH address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is not a P2PKH address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is not a P2PKH address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is not a P2PKH address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is not a P2PKH address ✔ should detect 3EGxduodZm6a9FLN1jdVxN8pT5orCmFdUK is not a P2PKH address ✔ should detect 3DWvzGWYJCY19Gc4LcN8noHGpxdjRbJeYe is not a P2PKH address ✔ should detect 3Aw9ePtWrH8EEJoF5HW8swW9VXxpF4dP54 is not a P2PKH address ✔ should detect 3QTQE5rt7TZg7hXZ4DsTQ6mUUZCbFY2RiL is not a P2PKH address ✔ should detect 3EoWFm3GcTzDFBQ9KGVevhH1nuSxa14eFM is not a P2PKH address ✔ should detect bitcoincash:pp7ushdxf5we8mcpaa3wqgsuqt639cu59ur5xu5fug is not a P2PKH address ✔ should detect bitcoincash:ppsup5akyvql5w46q9eszd9fxpx970acpyqkw79vq2 is not a P2PKH address ✔ should detect bitcoincash:prznrkhnf6zqsap6l664ayzu2xue67ue4gv686sjyu is not a P2PKH address ✔ should detect bitcoincash:pphmm80pznl6pnkmzakz3ahafydmvhwzcslea4v5mz is not a P2PKH address ✔ should detect bitcoincash:pz6pr25g6mulp0kes9xnmsda0u4rf442ase2un89pl is not a P2PKH address ✔ should detect bitcoincash:pz9qe6ys8x0l98zegf0a9rae4zenk95yp5dv5xjnk5 is not a P2PKH address ✔ should detect bitcoincash:pzqmjwk8929jtqt7ac7szjuawtswmxhtu5xxm64upf is not a P2PKH address ✔ should detect bitcoincash:ppjk2e4nz47n50hpg8z6nt5hfjeajy4cyyp0p2tvnp is not a P2PKH address ✔ should detect bitcoincash:prum0t7tqczlyaw2d30tmpj3je9q2xlzwcqk9wx83u is not a P2PKH address ✔ should detect bitcoincash:pz8a837lttkvjksg0jjmmulqvfkgpqrcdgufy8ns5s is not a P2PKH address errors ✔ should fail when called with an invalid address #isP2SHAddress is P2SH ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is a P2SH address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is a P2SH address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is a P2SH address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is a P2SH address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is a P2SH address ✔ should detect 3EGxduodZm6a9FLN1jdVxN8pT5orCmFdUK is a P2SH address ✔ should detect 3DWvzGWYJCY19Gc4LcN8noHGpxdjRbJeYe is a P2SH address ✔ should detect 3Aw9ePtWrH8EEJoF5HW8swW9VXxpF4dP54 is a P2SH address ✔ should detect 3QTQE5rt7TZg7hXZ4DsTQ6mUUZCbFY2RiL is a P2SH address ✔ should detect 3EoWFm3GcTzDFBQ9KGVevhH1nuSxa14eFM is a P2SH address ✔ should detect bitcoincash:pp7ushdxf5we8mcpaa3wqgsuqt639cu59ur5xu5fug is a P2SH address ✔ should detect bitcoincash:ppsup5akyvql5w46q9eszd9fxpx970acpyqkw79vq2 is a P2SH address ✔ should detect bitcoincash:prznrkhnf6zqsap6l664ayzu2xue67ue4gv686sjyu is a P2SH address ✔ should detect bitcoincash:pphmm80pznl6pnkmzakz3ahafydmvhwzcslea4v5mz is a P2SH address ✔ should detect bitcoincash:pz6pr25g6mulp0kes9xnmsda0u4rf442ase2un89pl is a P2SH address ✔ should detect bitcoincash:pz9qe6ys8x0l98zegf0a9rae4zenk95yp5dv5xjnk5 is a P2SH address ✔ should detect bitcoincash:pzqmjwk8929jtqt7ac7szjuawtswmxhtu5xxm64upf is a P2SH address ✔ should detect bitcoincash:ppjk2e4nz47n50hpg8z6nt5hfjeajy4cyyp0p2tvnp is a P2SH address ✔ should detect bitcoincash:prum0t7tqczlyaw2d30tmpj3je9q2xlzwcqk9wx83u is a P2SH address ✔ should detect bitcoincash:pz8a837lttkvjksg0jjmmulqvfkgpqrcdgufy8ns5s is a P2SH address is not P2SH ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is not a P2SH address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is not a P2SH address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is not a P2SH address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is not a P2SH address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is not a P2SH address ✔ should detect 12AqNsGTyL6RDR8SDEtW9EyfYruFNZ9Sjs is not a P2SH address ✔ should detect 1P3Lq89iP27S76ZMKonty4mpJMDHp3a9NE is not a P2SH address ✔ should detect 14A8F8jHiipwnKLd2JEWqPvbGiS6FA7VoG is not a P2SH address ✔ should detect 1KgRZzxLUvZqL8EuufmdxqSjh3tgURwD6d is not a P2SH address ✔ should detect 1GMApiWJoTfQ21jbtVX3Qz8YtnGUuZAJtS is not a P2SH address ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is not a P2SH address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is not a P2SH address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is not a P2SH address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is not a P2SH address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is not a P2SH address ✔ should detect n4g3swxSebC9cDHXTjYQcx3tRAe4EPrZrZ is not a P2SH address ✔ should detect n2yNUahmfBFLLzrpcXpMh8Votw7zbKVHtX is not a P2SH address ✔ should detect mqYM6bu8Vw6xFTTPhbtxWPPmFN8BwpVQeE is not a P2SH address ✔ should detect mrVbyCMyB3vhDya4rYSxdM8qivEGfn7JSP is not a P2SH address ✔ should detect mnqGaf1SbPFh1tdXdeXd7pWhJUY2ite6SY is not a P2SH address ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is not a P2SH address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is not a P2SH address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is not a P2SH address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is not a P2SH address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is not a P2SH address ✔ should detect bitcoincash:qqxdgs9x9rx4v7g4ea5kxyprj2k9wnv695578lwmt8 is not a P2SH address ✔ should detect bitcoincash:qrcugfh4prxzl8qzqazyth7ytuc6k4qqcg50etp609 is not a P2SH address ✔ should detect bitcoincash:qq32y2h0ljtyyv4xkk07gtyrclv2xwq5sq3pqrzjes is not a P2SH address ✔ should detect bitcoincash:qrxwdlhfx5f4xsfnl0g887e5ccs5puy8sgj0z0md6k is not a P2SH address ✔ should detect bitcoincash:qz595e7jwa3q4vw26whn6zcz6x074669lgnnvjkz5m is not a P2SH address ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is not a P2SH address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is not a P2SH address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is not a P2SH address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is not a P2SH address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is not a P2SH address ✔ should detect bchtest:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ypj7unqzc is not a P2SH address ✔ should detect bchtest:qr44nfr9egxt7h7lxdktf9kajds9fwdxxcved7827j is not a P2SH address ✔ should detect bchtest:qpklfd26u70ta4j7p4twxv2k5apx95p0qqgm8cf2sd is not a P2SH address ✔ should detect bchtest:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalevaeknklfg is not a P2SH address ✔ should detect bchtest:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ug89n8w8q is not a P2SH address ✔ should detect bchreg:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2usk9rgkku is not a P2SH address ✔ should detect bchreg:qpzj67wmlsq8uttddddapjjawyusureca5lq7ymw4p is not a P2SH address ✔ should detect bchreg:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5pxq96p2t is not a P2SH address ✔ should detect bchreg:qrem2cg43ksmvlampheur8gfgdhhk57myg7kv9a6fl is not a P2SH address ✔ should detect bchreg:qp4jf3n740kffkladul96xnq5dtrflg4x55g4g8ef9 is not a P2SH address ✔ should detect bchreg:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ymwgasnp7 is not a P2SH address ✔ should detect bchreg:qr44nfr9egxt7h7lxdktf9kajds9fwdxxck9mlyea5 is not a P2SH address ✔ should detect bchreg:qpklfd26u70ta4j7p4twxv2k5apx95p0qqj83e2ent is not a P2SH address ✔ should detect bchreg:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalev89qj4v2w is not a P2SH address ✔ should detect bchreg:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ujmnjyayx is not a P2SH address errors ✔ should fail when called with an invalid address cashaddr prefix detection ✔ should return the same result for detectAddressFormat ✔ should return the same result for detectAddressNetwork ✔ should return the same result for detectAddressType ✔ should return the same result for toLegacyAddress (43ms) ✔ should return the same result for isLegacyAddress ✔ should return the same result for isCashAddress (43ms) ✔ should return the same result for isMainnetAddress ✔ should return the same result for isTestnetAddress ✔ should return the same result for isP2PKHAddress ✔ should return the same result for isP2SHAddress (59ms) #detectAddressFormat ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is a legacy base58Check address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is a legacy base58Check address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is a legacy base58Check address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is a legacy base58Check address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is a legacy base58Check address ✔ should detect 12AqNsGTyL6RDR8SDEtW9EyfYruFNZ9Sjs is a legacy base58Check address ✔ should detect 1P3Lq89iP27S76ZMKonty4mpJMDHp3a9NE is a legacy base58Check address ✔ should detect 14A8F8jHiipwnKLd2JEWqPvbGiS6FA7VoG is a legacy base58Check address ✔ should detect 1KgRZzxLUvZqL8EuufmdxqSjh3tgURwD6d is a legacy base58Check address ✔ should detect 1GMApiWJoTfQ21jbtVX3Qz8YtnGUuZAJtS is a legacy base58Check address ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is a legacy base58Check address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is a legacy base58Check address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is a legacy base58Check address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is a legacy base58Check address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is a legacy base58Check address ✔ should detect 3EGxduodZm6a9FLN1jdVxN8pT5orCmFdUK is a legacy base58Check address ✔ should detect 3DWvzGWYJCY19Gc4LcN8noHGpxdjRbJeYe is a legacy base58Check address ✔ should detect 3Aw9ePtWrH8EEJoF5HW8swW9VXxpF4dP54 is a legacy base58Check address ✔ should detect 3QTQE5rt7TZg7hXZ4DsTQ6mUUZCbFY2RiL is a legacy base58Check address ✔ should detect 3EoWFm3GcTzDFBQ9KGVevhH1nuSxa14eFM is a legacy base58Check address ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is a legacy base58Check address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is a legacy base58Check address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is a legacy base58Check address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is a legacy base58Check address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is a legacy base58Check address ✔ should detect n4g3swxSebC9cDHXTjYQcx3tRAe4EPrZrZ is a legacy base58Check address ✔ should detect n2yNUahmfBFLLzrpcXpMh8Votw7zbKVHtX is a legacy base58Check address ✔ should detect mqYM6bu8Vw6xFTTPhbtxWPPmFN8BwpVQeE is a legacy base58Check address ✔ should detect mrVbyCMyB3vhDya4rYSxdM8qivEGfn7JSP is a legacy base58Check address ✔ should detect mnqGaf1SbPFh1tdXdeXd7pWhJUY2ite6SY is a legacy base58Check address ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is a legacy cashaddr address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is a legacy cashaddr address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is a legacy cashaddr address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is a legacy cashaddr address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is a legacy cashaddr address ✔ should detect bitcoincash:qqxdgs9x9rx4v7g4ea5kxyprj2k9wnv695578lwmt8 is a legacy cashaddr address ✔ should detect bitcoincash:qrcugfh4prxzl8qzqazyth7ytuc6k4qqcg50etp609 is a legacy cashaddr address ✔ should detect bitcoincash:qq32y2h0ljtyyv4xkk07gtyrclv2xwq5sq3pqrzjes is a legacy cashaddr address ✔ should detect bitcoincash:qrxwdlhfx5f4xsfnl0g887e5ccs5puy8sgj0z0md6k is a legacy cashaddr address ✔ should detect bitcoincash:qz595e7jwa3q4vw26whn6zcz6x074669lgnnvjkz5m is a legacy cashaddr address ✔ should detect bitcoincash:pp7ushdxf5we8mcpaa3wqgsuqt639cu59ur5xu5fug is a legacy cashaddr address ✔ should detect bitcoincash:ppsup5akyvql5w46q9eszd9fxpx970acpyqkw79vq2 is a legacy cashaddr address ✔ should detect bitcoincash:prznrkhnf6zqsap6l664ayzu2xue67ue4gv686sjyu is a legacy cashaddr address ✔ should detect bitcoincash:pphmm80pznl6pnkmzakz3ahafydmvhwzcslea4v5mz is a legacy cashaddr address ✔ should detect bitcoincash:pz6pr25g6mulp0kes9xnmsda0u4rf442ase2un89pl is a legacy cashaddr address ✔ should detect bitcoincash:pz9qe6ys8x0l98zegf0a9rae4zenk95yp5dv5xjnk5 is a legacy cashaddr address ✔ should detect bitcoincash:pzqmjwk8929jtqt7ac7szjuawtswmxhtu5xxm64upf is a legacy cashaddr address ✔ should detect bitcoincash:ppjk2e4nz47n50hpg8z6nt5hfjeajy4cyyp0p2tvnp is a legacy cashaddr address ✔ should detect bitcoincash:prum0t7tqczlyaw2d30tmpj3je9q2xlzwcqk9wx83u is a legacy cashaddr address ✔ should detect bitcoincash:pz8a837lttkvjksg0jjmmulqvfkgpqrcdgufy8ns5s is a legacy cashaddr address ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is a legacy cashaddr address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is a legacy cashaddr address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is a legacy cashaddr address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is a legacy cashaddr address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is a legacy cashaddr address ✔ should detect bchtest:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ypj7unqzc is a legacy cashaddr address ✔ should detect bchtest:qr44nfr9egxt7h7lxdktf9kajds9fwdxxcved7827j is a legacy cashaddr address ✔ should detect bchtest:qpklfd26u70ta4j7p4twxv2k5apx95p0qqgm8cf2sd is a legacy cashaddr address ✔ should detect bchtest:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalevaeknklfg is a legacy cashaddr address ✔ should detect bchtest:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ug89n8w8q is a legacy cashaddr address ✔ should detect bchreg:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2usk9rgkku is a legacy cashaddr address ✔ should detect bchreg:qpzj67wmlsq8uttddddapjjawyusureca5lq7ymw4p is a legacy cashaddr address ✔ should detect bchreg:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5pxq96p2t is a legacy cashaddr address ✔ should detect bchreg:qrem2cg43ksmvlampheur8gfgdhhk57myg7kv9a6fl is a legacy cashaddr address ✔ should detect bchreg:qp4jf3n740kffkladul96xnq5dtrflg4x55g4g8ef9 is a legacy cashaddr address ✔ should detect bchreg:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ymwgasnp7 is a legacy cashaddr address ✔ should detect bchreg:qr44nfr9egxt7h7lxdktf9kajds9fwdxxck9mlyea5 is a legacy cashaddr address ✔ should detect bchreg:qpklfd26u70ta4j7p4twxv2k5apx95p0qqj83e2ent is a legacy cashaddr address ✔ should detect bchreg:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalev89qj4v2w is a legacy cashaddr address ✔ should detect bchreg:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ujmnjyayx is a legacy cashaddr address errors ✔ should fail when called with an invalid address #detectAddressNetwork ✔ should detect xpub6CVcpZVmPNjuniVYu1mLnLjDBfxWpx7LS25uxwRm5BLbXMCJmRaQgAxuqZDoYDeidJUh5QUatLJPWpeCkEK648hExyKFezqxJz4CMfEoYAc is a mainnet address ✔ should detect xpub6CVcpZVmPNjuqYFnvSYoD9hE89PKmsWewFWGKeaCcVNSfDTgQgMuhm8Q2zreBsNQVMSJrBmQ3C95fi3SiRXYRQckQJMZuPXTJm9TcQejW13 is a mainnet address ✔ should detect xpub6CVcpZVmPNjuu1zjt9joxDzDrP9UNs6GVS5K1jSopnq76RBZswLsxy75qvJTVcSS6V9Y4Df6L7GDsbns99WrLrfmBNwocEdQm5CXFGExAgq is a mainnet address ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is a mainnet address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is a mainnet address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is a mainnet address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is a mainnet address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is a mainnet address ✔ should detect 12AqNsGTyL6RDR8SDEtW9EyfYruFNZ9Sjs is a mainnet address ✔ should detect 1P3Lq89iP27S76ZMKonty4mpJMDHp3a9NE is a mainnet address ✔ should detect 14A8F8jHiipwnKLd2JEWqPvbGiS6FA7VoG is a mainnet address ✔ should detect 1KgRZzxLUvZqL8EuufmdxqSjh3tgURwD6d is a mainnet address ✔ should detect 1GMApiWJoTfQ21jbtVX3Qz8YtnGUuZAJtS is a mainnet address ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is a mainnet address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is a mainnet address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is a mainnet address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is a mainnet address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is a mainnet address ✔ should detect 3EGxduodZm6a9FLN1jdVxN8pT5orCmFdUK is a mainnet address ✔ should detect 3DWvzGWYJCY19Gc4LcN8noHGpxdjRbJeYe is a mainnet address ✔ should detect 3Aw9ePtWrH8EEJoF5HW8swW9VXxpF4dP54 is a mainnet address ✔ should detect 3QTQE5rt7TZg7hXZ4DsTQ6mUUZCbFY2RiL is a mainnet address ✔ should detect 3EoWFm3GcTzDFBQ9KGVevhH1nuSxa14eFM is a mainnet address ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is a mainnet address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is a mainnet address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is a mainnet address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is a mainnet address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is a mainnet address ✔ should detect bitcoincash:qqxdgs9x9rx4v7g4ea5kxyprj2k9wnv695578lwmt8 is a mainnet address ✔ should detect bitcoincash:qrcugfh4prxzl8qzqazyth7ytuc6k4qqcg50etp609 is a mainnet address ✔ should detect bitcoincash:qq32y2h0ljtyyv4xkk07gtyrclv2xwq5sq3pqrzjes is a mainnet address ✔ should detect bitcoincash:qrxwdlhfx5f4xsfnl0g887e5ccs5puy8sgj0z0md6k is a mainnet address ✔ should detect bitcoincash:qz595e7jwa3q4vw26whn6zcz6x074669lgnnvjkz5m is a mainnet address ✔ should detect tpubDCrnMSKwDMAbxg82yqDt97peMvftCXk3EfBb9WgZh27mPbHGkysU3TW7qX5AwydmnVQfaGeNhUR6okQ3dS5AJTP9gEP7jk2Wcj6Xntc6gNh is a testnet address ✔ should detect tpubDCrnMSKwDMAbzuN7eQDcFh9c6BsUvHHiL7j1AE9f9mE2ertgK6DwAZ6xmqtM3G5ifPkVynnjhMMMS87R1x4DTPrCbp4VjBttqMc4KmQEMRv is a testnet address ✔ should detect tpubDCrnMSKwDMAc4zKRDfxDqmzzxwLd85MFYF3cHzmdGDchnS7Sz2UiHD6HqaJR5Lefq6BhApPvGsdp3smjE1KRNkWHZ4wWogt7UYrgVznGfs1 is a testnet address ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is a testnet address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is a testnet address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is a testnet address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is a testnet address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is a testnet address ✔ should detect n4g3swxSebC9cDHXTjYQcx3tRAe4EPrZrZ is a testnet address ✔ should detect n2yNUahmfBFLLzrpcXpMh8Votw7zbKVHtX is a testnet address ✔ should detect mqYM6bu8Vw6xFTTPhbtxWPPmFN8BwpVQeE is a testnet address ✔ should detect mrVbyCMyB3vhDya4rYSxdM8qivEGfn7JSP is a testnet address ✔ should detect mnqGaf1SbPFh1tdXdeXd7pWhJUY2ite6SY is a testnet address ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is a testnet address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is a testnet address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is a testnet address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is a testnet address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is a testnet address ✔ should detect bchtest:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ypj7unqzc is a testnet address ✔ should detect bchtest:qr44nfr9egxt7h7lxdktf9kajds9fwdxxcved7827j is a testnet address ✔ should detect bchtest:qpklfd26u70ta4j7p4twxv2k5apx95p0qqgm8cf2sd is a testnet address ✔ should detect bchtest:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalevaeknklfg is a testnet address ✔ should detect bchtest:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ug89n8w8q is a testnet address ✔ should detect bchreg:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2usk9rgkku is a testnet address ✔ should detect bchreg:qpzj67wmlsq8uttddddapjjawyusureca5lq7ymw4p is a testnet address ✔ should detect bchreg:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5pxq96p2t is a testnet address ✔ should detect bchreg:qrem2cg43ksmvlampheur8gfgdhhk57myg7kv9a6fl is a testnet address ✔ should detect bchreg:qp4jf3n740kffkladul96xnq5dtrflg4x55g4g8ef9 is a testnet address ✔ should detect bchreg:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ymwgasnp7 is a testnet address ✔ should detect bchreg:qr44nfr9egxt7h7lxdktf9kajds9fwdxxck9mlyea5 is a testnet address ✔ should detect bchreg:qpklfd26u70ta4j7p4twxv2k5apx95p0qqj83e2ent is a testnet address ✔ should detect bchreg:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalev89qj4v2w is a testnet address ✔ should detect bchreg:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ujmnjyayx is a testnet address errors ✔ should fail when called with an invalid address #detectAddressType ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is a P2PKH address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is a P2PKH address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is a P2PKH address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is a P2PKH address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is a P2PKH address ✔ should detect 12AqNsGTyL6RDR8SDEtW9EyfYruFNZ9Sjs is a P2PKH address ✔ should detect 1P3Lq89iP27S76ZMKonty4mpJMDHp3a9NE is a P2PKH address ✔ should detect 14A8F8jHiipwnKLd2JEWqPvbGiS6FA7VoG is a P2PKH address ✔ should detect 1KgRZzxLUvZqL8EuufmdxqSjh3tgURwD6d is a P2PKH address ✔ should detect 1GMApiWJoTfQ21jbtVX3Qz8YtnGUuZAJtS is a P2PKH address ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is a P2PKH address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is a P2PKH address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is a P2PKH address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is a P2PKH address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is a P2PKH address ✔ should detect n4g3swxSebC9cDHXTjYQcx3tRAe4EPrZrZ is a P2PKH address ✔ should detect n2yNUahmfBFLLzrpcXpMh8Votw7zbKVHtX is a P2PKH address ✔ should detect mqYM6bu8Vw6xFTTPhbtxWPPmFN8BwpVQeE is a P2PKH address ✔ should detect mrVbyCMyB3vhDya4rYSxdM8qivEGfn7JSP is a P2PKH address ✔ should detect mnqGaf1SbPFh1tdXdeXd7pWhJUY2ite6SY is a P2PKH address ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is a P2PKH address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is a P2PKH address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is a P2PKH address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is a P2PKH address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is a P2PKH address ✔ should detect bitcoincash:qqxdgs9x9rx4v7g4ea5kxyprj2k9wnv695578lwmt8 is a P2PKH address ✔ should detect bitcoincash:qrcugfh4prxzl8qzqazyth7ytuc6k4qqcg50etp609 is a P2PKH address ✔ should detect bitcoincash:qq32y2h0ljtyyv4xkk07gtyrclv2xwq5sq3pqrzjes is a P2PKH address ✔ should detect bitcoincash:qrxwdlhfx5f4xsfnl0g887e5ccs5puy8sgj0z0md6k is a P2PKH address ✔ should detect bitcoincash:qz595e7jwa3q4vw26whn6zcz6x074669lgnnvjkz5m is a P2PKH address ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is a P2PKH address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is a P2PKH address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is a P2PKH address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is a P2PKH address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is a P2PKH address ✔ should detect bchtest:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ypj7unqzc is a P2PKH address ✔ should detect bchtest:qr44nfr9egxt7h7lxdktf9kajds9fwdxxcved7827j is a P2PKH address ✔ should detect bchtest:qpklfd26u70ta4j7p4twxv2k5apx95p0qqgm8cf2sd is a P2PKH address ✔ should detect bchtest:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalevaeknklfg is a P2PKH address ✔ should detect bchtest:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ug89n8w8q is a P2PKH address ✔ should detect bchreg:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2usk9rgkku is a P2PKH address ✔ should detect bchreg:qpzj67wmlsq8uttddddapjjawyusureca5lq7ymw4p is a P2PKH address ✔ should detect bchreg:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5pxq96p2t is a P2PKH address ✔ should detect bchreg:qrem2cg43ksmvlampheur8gfgdhhk57myg7kv9a6fl is a P2PKH address ✔ should detect bchreg:qp4jf3n740kffkladul96xnq5dtrflg4x55g4g8ef9 is a P2PKH address ✔ should detect bchreg:qrlqxnzuu6hvvg9qer0m093ywkjnu7wm7ymwgasnp7 is a P2PKH address ✔ should detect bchreg:qr44nfr9egxt7h7lxdktf9kajds9fwdxxck9mlyea5 is a P2PKH address ✔ should detect bchreg:qpklfd26u70ta4j7p4twxv2k5apx95p0qqj83e2ent is a P2PKH address ✔ should detect bchreg:qpuxsqzgq3j0a58tnmwpgcrwwyrkenalev89qj4v2w is a P2PKH address ✔ should detect bchreg:qpgrlg0yqmdf4y8q980e57tx6v7vrvds2ujmnjyayx is a P2PKH address ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is a P2SH address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is a P2SH address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is a P2SH address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is a P2SH address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is a P2SH address ✔ should detect 3EGxduodZm6a9FLN1jdVxN8pT5orCmFdUK is a P2SH address ✔ should detect 3DWvzGWYJCY19Gc4LcN8noHGpxdjRbJeYe is a P2SH address ✔ should detect 3Aw9ePtWrH8EEJoF5HW8swW9VXxpF4dP54 is a P2SH address ✔ should detect 3QTQE5rt7TZg7hXZ4DsTQ6mUUZCbFY2RiL is a P2SH address ✔ should detect 3EoWFm3GcTzDFBQ9KGVevhH1nuSxa14eFM is a P2SH address ✔ should detect bitcoincash:pp7ushdxf5we8mcpaa3wqgsuqt639cu59ur5xu5fug is a P2SH address ✔ should detect bitcoincash:ppsup5akyvql5w46q9eszd9fxpx970acpyqkw79vq2 is a P2SH address ✔ should detect bitcoincash:prznrkhnf6zqsap6l664ayzu2xue67ue4gv686sjyu is a P2SH address ✔ should detect bitcoincash:pphmm80pznl6pnkmzakz3ahafydmvhwzcslea4v5mz is a P2SH address ✔ should detect bitcoincash:pz6pr25g6mulp0kes9xnmsda0u4rf442ase2un89pl is a P2SH address ✔ should detect bitcoincash:pz9qe6ys8x0l98zegf0a9rae4zenk95yp5dv5xjnk5 is a P2SH address ✔ should detect bitcoincash:pzqmjwk8929jtqt7ac7szjuawtswmxhtu5xxm64upf is a P2SH address ✔ should detect bitcoincash:ppjk2e4nz47n50hpg8z6nt5hfjeajy4cyyp0p2tvnp is a P2SH address ✔ should detect bitcoincash:prum0t7tqczlyaw2d30tmpj3je9q2xlzwcqk9wx83u is a P2SH address ✔ should detect bitcoincash:pz8a837lttkvjksg0jjmmulqvfkgpqrcdgufy8ns5s is a P2SH address errors ✔ should fail when called with an invalid address #fromXPub ✔ generate public external change address 0 for xpub6CVcpZVmPNjuniVYu1mLnLjDBfxWpx7LS25uxwRm5BLbXMCJmRaQgAxuqZDoYDeidJUh5QUatLJPWpeCkEK648hExyKFezqxJz4CMfEoYAc (160ms) ✔ generate public external change address 1 for xpub6CVcpZVmPNjuniVYu1mLnLjDBfxWpx7LS25uxwRm5BLbXMCJmRaQgAxuqZDoYDeidJUh5QUatLJPWpeCkEK648hExyKFezqxJz4CMfEoYAc (68ms) ✔ generate public external change address 2 for xpub6CVcpZVmPNjuniVYu1mLnLjDBfxWpx7LS25uxwRm5BLbXMCJmRaQgAxuqZDoYDeidJUh5QUatLJPWpeCkEK648hExyKFezqxJz4CMfEoYAc (83ms) ✔ generate public external change address 3 for xpub6CVcpZVmPNjuniVYu1mLnLjDBfxWpx7LS25uxwRm5BLbXMCJmRaQgAxuqZDoYDeidJUh5QUatLJPWpeCkEK648hExyKFezqxJz4CMfEoYAc (96ms) ✔ generate public external change address 4 for xpub6CVcpZVmPNjuniVYu1mLnLjDBfxWpx7LS25uxwRm5BLbXMCJmRaQgAxuqZDoYDeidJUh5QUatLJPWpeCkEK648hExyKFezqxJz4CMfEoYAc (92ms) ✔ generate public external change address 0 for xpub6CVcpZVmPNjuqYFnvSYoD9hE89PKmsWewFWGKeaCcVNSfDTgQgMuhm8Q2zreBsNQVMSJrBmQ3C95fi3SiRXYRQckQJMZuPXTJm9TcQejW13 (90ms) ✔ generate public external change address 1 for xpub6CVcpZVmPNjuqYFnvSYoD9hE89PKmsWewFWGKeaCcVNSfDTgQgMuhm8Q2zreBsNQVMSJrBmQ3C95fi3SiRXYRQckQJMZuPXTJm9TcQejW13 (80ms) ✔ generate public external change address 2 for xpub6CVcpZVmPNjuqYFnvSYoD9hE89PKmsWewFWGKeaCcVNSfDTgQgMuhm8Q2zreBsNQVMSJrBmQ3C95fi3SiRXYRQckQJMZuPXTJm9TcQejW13 (85ms) ✔ generate public external change address 3 for xpub6CVcpZVmPNjuqYFnvSYoD9hE89PKmsWewFWGKeaCcVNSfDTgQgMuhm8Q2zreBsNQVMSJrBmQ3C95fi3SiRXYRQckQJMZuPXTJm9TcQejW13 (84ms) ✔ generate public external change address 4 for xpub6CVcpZVmPNjuqYFnvSYoD9hE89PKmsWewFWGKeaCcVNSfDTgQgMuhm8Q2zreBsNQVMSJrBmQ3C95fi3SiRXYRQckQJMZuPXTJm9TcQejW13 (86ms) ✔ generate public external change address 0 for xpub6CVcpZVmPNjuu1zjt9joxDzDrP9UNs6GVS5K1jSopnq76RBZswLsxy75qvJTVcSS6V9Y4Df6L7GDsbns99WrLrfmBNwocEdQm5CXFGExAgq (90ms) ✔ generate public external change address 1 for xpub6CVcpZVmPNjuu1zjt9joxDzDrP9UNs6GVS5K1jSopnq76RBZswLsxy75qvJTVcSS6V9Y4Df6L7GDsbns99WrLrfmBNwocEdQm5CXFGExAgq (88ms) ✔ generate public external change address 2 for xpub6CVcpZVmPNjuu1zjt9joxDzDrP9UNs6GVS5K1jSopnq76RBZswLsxy75qvJTVcSS6V9Y4Df6L7GDsbns99WrLrfmBNwocEdQm5CXFGExAgq (83ms) ✔ generate public external change address 3 for xpub6CVcpZVmPNjuu1zjt9joxDzDrP9UNs6GVS5K1jSopnq76RBZswLsxy75qvJTVcSS6V9Y4Df6L7GDsbns99WrLrfmBNwocEdQm5CXFGExAgq (73ms) ✔ generate public external change address 4 for xpub6CVcpZVmPNjuu1zjt9joxDzDrP9UNs6GVS5K1jSopnq76RBZswLsxy75qvJTVcSS6V9Y4Df6L7GDsbns99WrLrfmBNwocEdQm5CXFGExAgq (77ms) ✔ generate public external change address 0 for tpubDCrnMSKwDMAbxg82yqDt97peMvftCXk3EfBb9WgZh27mPbHGkysU3TW7qX5AwydmnVQfaGeNhUR6okQ3dS5AJTP9gEP7jk2Wcj6Xntc6gNh (77ms) ✔ generate public external change address 1 for tpubDCrnMSKwDMAbxg82yqDt97peMvftCXk3EfBb9WgZh27mPbHGkysU3TW7qX5AwydmnVQfaGeNhUR6okQ3dS5AJTP9gEP7jk2Wcj6Xntc6gNh (84ms) ✔ generate public external change address 2 for tpubDCrnMSKwDMAbxg82yqDt97peMvftCXk3EfBb9WgZh27mPbHGkysU3TW7qX5AwydmnVQfaGeNhUR6okQ3dS5AJTP9gEP7jk2Wcj6Xntc6gNh (75ms) ✔ generate public external change address 3 for tpubDCrnMSKwDMAbxg82yqDt97peMvftCXk3EfBb9WgZh27mPbHGkysU3TW7qX5AwydmnVQfaGeNhUR6okQ3dS5AJTP9gEP7jk2Wcj6Xntc6gNh (86ms) ✔ generate public external change address 4 for tpubDCrnMSKwDMAbxg82yqDt97peMvftCXk3EfBb9WgZh27mPbHGkysU3TW7qX5AwydmnVQfaGeNhUR6okQ3dS5AJTP9gEP7jk2Wcj6Xntc6gNh (77ms) ✔ generate public external change address 0 for tpubDCrnMSKwDMAbzuN7eQDcFh9c6BsUvHHiL7j1AE9f9mE2ertgK6DwAZ6xmqtM3G5ifPkVynnjhMMMS87R1x4DTPrCbp4VjBttqMc4KmQEMRv (100ms) ✔ generate public external change address 1 for tpubDCrnMSKwDMAbzuN7eQDcFh9c6BsUvHHiL7j1AE9f9mE2ertgK6DwAZ6xmqtM3G5ifPkVynnjhMMMS87R1x4DTPrCbp4VjBttqMc4KmQEMRv (84ms) ✔ generate public external change address 2 for tpubDCrnMSKwDMAbzuN7eQDcFh9c6BsUvHHiL7j1AE9f9mE2ertgK6DwAZ6xmqtM3G5ifPkVynnjhMMMS87R1x4DTPrCbp4VjBttqMc4KmQEMRv (73ms) ✔ generate public external change address 3 for tpubDCrnMSKwDMAbzuN7eQDcFh9c6BsUvHHiL7j1AE9f9mE2ertgK6DwAZ6xmqtM3G5ifPkVynnjhMMMS87R1x4DTPrCbp4VjBttqMc4KmQEMRv (78ms) ✔ generate public external change address 4 for tpubDCrnMSKwDMAbzuN7eQDcFh9c6BsUvHHiL7j1AE9f9mE2ertgK6DwAZ6xmqtM3G5ifPkVynnjhMMMS87R1x4DTPrCbp4VjBttqMc4KmQEMRv (147ms) ✔ generate public external change address 0 for tpubDCrnMSKwDMAc4zKRDfxDqmzzxwLd85MFYF3cHzmdGDchnS7Sz2UiHD6HqaJR5Lefq6BhApPvGsdp3smjE1KRNkWHZ4wWogt7UYrgVznGfs1 (78ms) ✔ generate public external change address 1 for tpubDCrnMSKwDMAc4zKRDfxDqmzzxwLd85MFYF3cHzmdGDchnS7Sz2UiHD6HqaJR5Lefq6BhApPvGsdp3smjE1KRNkWHZ4wWogt7UYrgVznGfs1 (76ms) ✔ generate public external change address 2 for tpubDCrnMSKwDMAc4zKRDfxDqmzzxwLd85MFYF3cHzmdGDchnS7Sz2UiHD6HqaJR5Lefq6BhApPvGsdp3smjE1KRNkWHZ4wWogt7UYrgVznGfs1 (87ms) ✔ generate public external change address 3 for tpubDCrnMSKwDMAc4zKRDfxDqmzzxwLd85MFYF3cHzmdGDchnS7Sz2UiHD6HqaJR5Lefq6BhApPvGsdp3smjE1KRNkWHZ4wWogt7UYrgVznGfs1 (68ms) ✔ generate public external change address 4 for tpubDCrnMSKwDMAc4zKRDfxDqmzzxwLd85MFYF3cHzmdGDchnS7Sz2UiHD6HqaJR5Lefq6BhApPvGsdp3smjE1KRNkWHZ4wWogt7UYrgVznGfs1 (72ms) #fromOutputScript ✔ generate address from output script #toEcashAddress ✔ should convert a BCH address to an eCash address ✔ should convert a BCH address to an eCash address without a prefix #toEtokenAddress ✔ should convert a BCH address to an eToken address ✔ should convert a BCH address to an eToken address without a prefix #BitcoinCash price conversion ✔ should exercise toBitcoinCash ✔ should exercise toSatoshi ✔ should exercise satsToBits sign and verify messages ✔ should exercise signMessageWithPrivKey ✔ shoudl exercise verifyMessage encode and decode to base58Check #encodeBase58Check ✔ encode 0079bd35d306f648350818470c9f18903df6e06902a026f2a7 as base58Check 1C6hRmfzvWst5WA7bFRCVAqHt5gE2g7Qar ✔ encode 006da742680accf2282df5fade8e9b7a01a517e779289b52cc as base58Check 1Azo2JBz2JswboeY9xSMcp14BAfhjnD9SK ✔ encode 00c68a6a07ccdaf1669cfd8d244d80ff36b713551c6208f672 as base58Check 1K6ncAmMEyQrKUYosZRD9swyZNXECu2aKs ✔ encode 00d0a6b5e3dd43d0fb895b3b3df565bb8266c5ab00a25dbeb5 as base58Check 1L2FG9hH3bwchhxHaCs5cg1QNbhmbaeAs6 ✔ encode 00db04c2e6f104997cb04c956bf25da6078e559d303127f08b as base58Check 1Ly4gqPddveYHMNkfjoXHanVszXpD3duKg #decodeBase58Check ✔ decode 1C6hRmfzvWst5WA7bFRCVAqHt5gE2g7Qar as 0079bd35d306f648350818470c9f18903df6e06902a026f2a7 ✔ decode 1Azo2JBz2JswboeY9xSMcp14BAfhjnD9SK as 006da742680accf2282df5fade8e9b7a01a517e779289b52cc ✔ decode 1K6ncAmMEyQrKUYosZRD9swyZNXECu2aKs as 00c68a6a07ccdaf1669cfd8d244d80ff36b713551c6208f672 ✔ decode 1L2FG9hH3bwchhxHaCs5cg1QNbhmbaeAs6 as 00d0a6b5e3dd43d0fb895b3b3df565bb8266c5ab00a25dbeb5 ✔ decode 1Ly4gqPddveYHMNkfjoXHanVszXpD3duKg as 00db04c2e6f104997cb04c956bf25da6078e559d303127f08b encode and decode BIP21 urls #encodeBIP21 ✔ encode 1C6hRmfzvWst5WA7bFRCVAqHt5gE2g7Qar as url ✔ encode 1Azo2JBz2JswboeY9xSMcp14BAfhjnD9SK as url ✔ encode bitcoincash:qrdsfshx7yzfjl9sfj2khuja5crcu4vaxqrt2qkz5s as url ✔ encode bitcoincash:qzc5fxdm6lnwzgeju4jaemngtxkkkgt78ucn6vkjz5 as url ✔ encode qzw6tfrh8p0jh834uf9rhg77pjg5rgnt3qw0e54u03 as url ✔ encode qphgz6ut3uu9xu8sly2zj7n5jkg5eyes5vjv3juf0x as url ✔ encode 1C6hRmfzvWst5WA7bFRCVAqHt5gE2g7Qar as url ✔ encode 1Azo2JBz2JswboeY9xSMcp14BAfhjnD9SK as url ✔ encode bchreg:qrdsfshx7yzfjl9sfj2khuja5crcu4vaxqa9cxhxs2 as url ✔ encode bchreg:qzc5fxdm6lnwzgeju4jaemngtxkkkgt78uxag2hkxw as url ✔ encode qzw6tfrh8p0jh834uf9rhg77pjg5rgnt3qsptj5ctt as url ✔ encode qphgz6ut3uu9xu8sly2zj7n5jkg5eyes5vvzr5adtu as url #decodeBIP21 ✔ decodes bitcoincash:qpum6dwnqmmysdggrprse8ccjq7ldcrfqgmmtgcmny?amount=12.5&label=coinbase%20donation&message=and%20ya%20don%27t%20stop ✔ decodes bitcoincash:qpk6wsngptx0y2pd7hadar5m0gq629l80y2tcp5ktd?label=Foobar ✔ decodes bitcoincash:qrdsfshx7yzfjl9sfj2khuja5crcu4vaxqrt2qkz5s?amount=1&label=test ✔ decodes bitcoincash:qzc5fxdm6lnwzgeju4jaemngtxkkkgt78ucn6vkjz5?amount=3&label=hhhhhhh ✔ decodes bitcoincash:qzw6tfrh8p0jh834uf9rhg77pjg5rgnt3qw0e54u03?amount=23&label=no%20prefix ✔ decodes bitcoincash:qphgz6ut3uu9xu8sly2zj7n5jkg5eyes5vjv3juf0x?amount=20.3&label=Foobar #getByteCount ✔ get byte count ✔ get byte count ✔ get byte count ✔ get byte count ✔ get byte count #bip38 #encryptBIP38 ✔ BIP 38 encrypt wif L1XHKhaBAfkr2FJQn3pTfCMxz652WYfmvKj8xDCHCEDV9tWGcbYj with password 1EBPIyj55eR8bVUov9 on mainnet (6780ms) ✔ BIP 38 encrypt wif L1phBREbhL4vb1uHHHCAse8bdGE5c7ic2PFjRxMawLzQCsiFVbvu with password 9GKVkabAHBMyAf on mainnet (6755ms) ✔ BIP 38 encrypt wif cSx7KzdH9EcvDEireu2WYpGnXdFYpta7sJUNt5kVCJgA7kcAU8Gm with password 1EBPIyj55eR8bVUov9 on testnet (6992ms) ✔ BIP 38 encrypt wif cRgunCa2z1gCN6nNapTwKLdo58FdgTeAiJSaXx6RZeWSabQHkQKG with password 9GKVkabAHBMyAf on testnet (6655ms) #decryptBIP38 ✔ BIP 38 decrypt encrypted key 6PYWWnBNfNpSqEJZKcfwbrYgTTdb9PNiGjQJ8r9V6cvsZNKLfcZD8YefQc on mainnet (7620ms) ✔ BIP 38 decrypt encrypted key 6PYU2fDHRVF2194gKDGkbFbeu4mFgkWtVvg2RPd2Sp6KmZx3RCHFpgBB2G on mainnet (6806ms) ✔ BIP 38 decrypt encrypted key 6PYUAPLwLSEjWSAfoe9NTSPkMZXnJA8j8EFJtKaeSnP18RCouutBrS2735 on testnet (6846ms) ✔ BIP 38 decrypt encrypted key 6PYTNQJ1dYhLg6X1Xqm62ceuyfxCUYvV4LfhFfzzBaTuV4cFhgS5Xe8t1Y on testnet (7135ms) #Blockchain #getBestBlockHash ✔ should get best block hash #getBlock ✔ should get block by hash ✔ should throw error if blockhash is not provided ✔ should handle response error #getBlockchainInfo ✔ should get blockchain info #getBlockCount ✔ should get block count #getBlockHash ✔ should get block hash by height #getBlockHeader ✔ should get block header by hash #getDifficulty ✔ should get difficulty #getMempoolAncestors ✔ should get mempool ancestors #getMempoolDescendants ✔ should get mempool descendants #getMempoolEntry ✔ should get mempool entry #getMempoolInfo ✔ should get mempool info #getRawMempool ✔ should get mempool info #getTxOut ✔ should throw an error for improper txid. ✔ should throw an error if no vout value is provided. ✔ should throw an error if include_mempool is not a boolean ✔ should get information on an unspent tx ✔ should get information on a spent tx #preciousBlock ✔ should get TODO #pruneBlockchain ✔ should prune blockchain #verifyChain ✔ should verify blockchain #verifyTxOutProof ✔ should verify utxo proof #Control #getNetworkInfo ✔ should get info #getMemoryInfo ✔ should get memory info #Crypto #sha256 ✔ should create SHA256Hash hex encoded 04abc8821a06e5a30937967d11ad10221cb5ac3b5273e434f1284ee87129a061 from 0101010101010101 ✔ should create 64 character SHA256Hash hex encoded ✔ should create SHA256Hash hex encoded 75618d82d1f6251f2ef1f42f5f0d5040330948a707ff6d69720dbdcb00b48aab from 031ad329b3117e1d1e2974406868e575d48cff88e8128ba0eedb10da053785033b ✔ should create 64 character SHA256Hash hex encoded ✔ should create SHA256Hash hex encoded 978c09dd46091d1922fa01e9f4a975b91a371f26ba8399de27d53801152121de from 03123464075c7a5fa6b8680afa2c962a02e7bf071c6b2395b0ac711d462cac9354 ✔ should create 64 character SHA256Hash hex encoded ✔ should create SHA256Hash hex encoded 243e5ec9798d6ac435b30661528d8d83745543f517b8adac421a76fbe7f08105 from 03ea9277ebf3d6edd26847fb109494def7d458f05e6e4fba381c094ce703c62248 ✔ should create 64 character SHA256Hash hex encoded ✔ should create SHA256Hash hex encoded 1304a815512047082dba9a9414ff0db643dbbf9eeb68527195f79cc26b021e10 from 020379254cc10ef94976192ab42cab25f65ba4438e4b2b4610debd145d2bdb8d53 ✔ should create 64 character SHA256Hash hex encoded #ripemd160 ✔ should create RIPEMD160Hash hex encoded 5825701b4b9767fd35063b286dca3582853e0630 from 0101010101010101 ✔ should create 64 character RIPEMD160Hash hex encoded ✔ should create RIPEMD160Hash hex encoded 8874ef888a9bcbd83b87d06ff7bc213c51497362 from 75618d82d1f6251f2ef1f42f5f0d5040330948a707ff6d69720dbdcb00b48aab ✔ should create 64 character RIPEMD160Hash hex encoded ✔ should create RIPEMD160Hash hex encoded 5f956a88863051ea5215d8970ced8e218eb615cf from 978c09dd46091d1922fa01e9f4a975b91a371f26ba8399de27d53801152121de ✔ should create 64 character RIPEMD160Hash hex encoded ✔ should create RIPEMD160Hash hex encoded 1fc790f399d3064cdf917c6b22bb0ef534fe35c9 from 243e5ec9798d6ac435b30661528d8d83745543f517b8adac421a76fbe7f08105 ✔ should create 64 character RIPEMD160Hash hex encoded ✔ should create RIPEMD160Hash hex encoded abd7091d8c4bd1e2c074f125870427f3dc0c0ce9 from 1304a815512047082dba9a9414ff0db643dbbf9eeb68527195f79cc26b021e10 ✔ should create 64 character RIPEMD160Hash hex encoded #hash256 ✔ should create double SHA256 Hash hex encoded 728338d99f356175c4945ef5cccfa61b7b56143cbbf426ddd0e0fc7cfe8c3c23 from 0101010101010101 ✔ should create 64 character SHA256 Hash hex encoded ✔ should create double SHA256 Hash hex encoded 7ad2a74bd59698714a2991a82b71736f3542b2828b6ac24de427c440da89d01a from 031ad329b3117e1d1e2974406868e575d48cff88e8128ba0eedb10da053785033b ✔ should create 64 character SHA256 Hash hex encoded ✔ should create double SHA256 Hash hex encoded 688f1d029ed54c34d0320b838bf6fc64f62f38a6e930a0af5bdb4e27d1a684cd from 03123464075c7a5fa6b8680afa2c962a02e7bf071c6b2395b0ac711d462cac9354 ✔ should create 64 character SHA256 Hash hex encoded ✔ should create double SHA256 Hash hex encoded 46f3c4ddfa908cf8a3cda8ce3a676d98fec149d97db834a6e8f071790d839c52 from 03ea9277ebf3d6edd26847fb109494def7d458f05e6e4fba381c094ce703c62248 ✔ should create 64 character SHA256 Hash hex encoded ✔ should create double SHA256 Hash hex encoded 72cfe7b6b9402a4463dfc8bc1c08080578b1b82a2e3e632062e2cce2c9327c1f from 020379254cc10ef94976192ab42cab25f65ba4438e4b2b4610debd145d2bdb8d53 ✔ should create 64 character SHA256 Hash hex encoded #hash160 ✔ should create RIPEMD160(SHA256()) hex encoded abaf1119f83e384210fe8e222eac76e2f0da39dc from 0101010101010101 ✔ should create 64 character SHA256Hash hex encoded ✔ should create RIPEMD160(SHA256()) hex encoded 8874ef888a9bcbd83b87d06ff7bc213c51497362 from 031ad329b3117e1d1e2974406868e575d48cff88e8128ba0eedb10da053785033b ✔ should create 64 character SHA256Hash hex encoded ✔ should create RIPEMD160(SHA256()) hex encoded 5f956a88863051ea5215d8970ced8e218eb615cf from 03123464075c7a5fa6b8680afa2c962a02e7bf071c6b2395b0ac711d462cac9354 ✔ should create 64 character SHA256Hash hex encoded ✔ should create RIPEMD160(SHA256()) hex encoded 1fc790f399d3064cdf917c6b22bb0ef534fe35c9 from 03ea9277ebf3d6edd26847fb109494def7d458f05e6e4fba381c094ce703c62248 ✔ should create 64 character SHA256Hash hex encoded ✔ should create RIPEMD160(SHA256()) hex encoded abd7091d8c4bd1e2c074f125870427f3dc0c0ce9 from 020379254cc10ef94976192ab42cab25f65ba4438e4b2b4610debd145d2bdb8d53 ✔ should create 64 character SHA256Hash hex encoded #randomBytes ✔ should return 16 bytes of entropy hex encoded ✔ should return 20 bytes of entropy hex encoded ✔ should return 24 bytes of entropy hex encoded ✔ should return 28 bytes of entropy hex encoded ✔ should return 32 bytes of entropy hex encoded ✔ should return 16 bytes of entropy hex encoded ✔ should return 20 bytes of entropy hex encoded ✔ should return 24 bytes of entropy hex encoded ✔ should return 28 bytes of entropy hex encoded ✔ should return 32 bytes of entropy hex encoded ✔ should return 16 bytes of entropy hex encoded ✔ should return 20 bytes of entropy hex encoded ✔ should return 24 bytes of entropy hex encoded ✔ should return 28 bytes of entropy hex encoded ✔ should return 32 bytes of entropy hex encoded ✔ should return 16 bytes of entropy hex encoded ✔ should return 20 bytes of entropy hex encoded ✔ should return 24 bytes of entropy hex encoded ✔ should return 28 bytes of entropy hex encoded ✔ should return 32 bytes of entropy hex encoded ✔ should return 16 bytes of entropy hex encoded ✔ should return 20 bytes of entropy hex encoded ✔ should return 24 bytes of entropy hex encoded ✔ should return 28 bytes of entropy hex encoded ✔ should return 32 bytes of entropy hex encoded ✔ should return 16 bytes of entropy hex encoded ✔ should return 20 bytes of entropy hex encoded ✔ should return 24 bytes of entropy hex encoded ✔ should return 28 bytes of entropy hex encoded ✔ should return 32 bytes of entropy hex encoded #DSProof #getDSProof ✔ should throw error if input is not provided ✔ should throw error txid is invalid ✔ should handle error ✔ should get double spend proof #eCash #toSatoshi ✔ should convert XEC to satoshis ✔ should throw an error if input is not a number #toXec ✔ should convert satoshis to XEC ✔ should throw an error if input is not a number #ECPair #fromWIF ✔ should create ECPair from WIF L5PKiCuwwgmVN1GQNg8CdR6Rmg7tg1Npw7GyL5ULRPZ5EVPhtSrz ✔ should get 1P23VhvFLH18qP7YRCPDWPwA9TCJjmp9B5 legacy address ✔ should get bitcoincash:qrcc23q0w7wgld690kduxvhetu0am523c5ufq5pes4 cash address ✔ should get bchreg:qrcc23q0w7wgld690kduxvhetu0am523c5z8jjqa50 cash address ✔ should create ECPair from WIF L1SD3NYLMcoqpUzn2hwJ7c1Vb4pPiqMToSMyGMTcbcvRBDh9U9SP ✔ should get 14tqru6iL3KX2m4nKg36tfLFe13J1d1uwu legacy address ✔ should get bitcoincash:qq4tvcxq5z35pkfj65a2elyy8xpn0r55r59r5he7nz cash address ✔ should get bchreg:qq4tvcxq5z35pkfj65a2elyy8xpn0r55r5mdx3c6hc cash address ✔ should create ECPair from WIF L57L3Xtu3j1Z2B2RuQzc59JLQXJQ86TH8To1hM348URbC2iCZqLe ✔ should get 135cNoFyxcwJ88BQsJd7c6qKfSBgRK7cCT legacy address ✔ should get bitcoincash:qqtv7uskar0nd8hyflesg7wq4uuqwdmtyg4hsx9kge cash address ✔ should get bchreg:qqtv7uskar0nd8hyflesg7wq4uuqwdmtygtezqyjvr cash address ✔ should create ECPair from WIF KzTm29RBrSgUbMyeJL9sCNUnc7LQEuDeT6Upq1iUwx78qWRdRzyW ✔ should get 1NbRysVu1cy8A8mjrLh4z649HqG6DrX9Z legacy address ✔ should get bitcoincash:qqzp270mhkglttfaysmt985aykwjhndw0ulmgr5g5d cash address ✔ should get bchreg:qqzp270mhkglttfaysmt985aykwjhndw0up4694vsh cash address ✔ should create ECPair from WIF L4BwXDmjzEyzKHbAfGruhieUDPs8KTx7DMgqPk4aF9GefzgqPENV ✔ should get 1FoZGWj8rgrimR7W383LNSLUfdPCjKAXLK legacy address ✔ should get bitcoincash:qz39l492msv9zz838t8ltx2w4zmycnqhwck4fnnyym cash address ✔ should get bchreg:qz39l492msv9zz838t8ltx2w4zmycnqhwcgmm4jqqp cash address #toWIF ✔ should get WIF L5PKiCuwwgmVN1GQNg8CdR6Rmg7tg1Npw7GyL5ULRPZ5EVPhtSrz from ECPair ✔ should get WIF L1SD3NYLMcoqpUzn2hwJ7c1Vb4pPiqMToSMyGMTcbcvRBDh9U9SP from ECPair ✔ should get WIF L57L3Xtu3j1Z2B2RuQzc59JLQXJQ86TH8To1hM348URbC2iCZqLe from ECPair ✔ should get WIF KzTm29RBrSgUbMyeJL9sCNUnc7LQEuDeT6Upq1iUwx78qWRdRzyW from ECPair ✔ should get WIF L4BwXDmjzEyzKHbAfGruhieUDPs8KTx7DMgqPk4aF9GefzgqPENV from ECPair #fromPublicKey ✔ should create ECPair from public key buffer ✔ should get 1SeP7kmdWTwjFmWiRMpqtSkDpW39zrVLK legacy address ✔ should get bitcoincash:qqzdnxncgm3v247u5v0gqnglr2vpdhe0hu4wl0rmwt cash address ✔ should get bchreg:qqzdnxncgm3v247u5v0gqnglr2vpdhe0hutqdfzl23 cash address ✔ should create ECPair from public key buffer ✔ should get 1GpugKfjEycPRhk8A8ALPh1zAJmTQGdJPp legacy address ✔ should get bitcoincash:qzkej6g2zr9c9k83chyqh5pllzv6pkw62ckf2m82ks cash address ✔ should get bchreg:qzkej6g2zr9c9k83chyqh5pllzv6pkw62cg8caxwj2 cash address ✔ should create ECPair from public key buffer ✔ should get 1GpugKfjEycPRhk8A8ALPh1zAJmTQGdJPp legacy address ✔ should get bitcoincash:qzkej6g2zr9c9k83chyqh5pllzv6pkw62ckf2m82ks cash address ✔ should get bchreg:qzkej6g2zr9c9k83chyqh5pllzv6pkw62cg8caxwj2 cash address ✔ should create ECPair from public key buffer ✔ should get 15NQKRj7rAVsFL5rWMmhkAgx2K1dYoHoDW legacy address ✔ should get bitcoincash:qqh7evl4w7h6lsu7uvakvadm0z5hj535lqk098l670 cash address ✔ should get bchreg:qqh7evl4w7h6lsu7uvakvadm0z5hj535lqgphp7764 cash address ✔ should create ECPair from public key buffer ✔ should get 14sq5dL1TeFdQJpj3vVMQvjrdmQoqVoM6m legacy address ✔ should get bitcoincash:qq4g2nmk64wt7a2mx85cl07n45nkh2p7lcytfgmqdl cash address ✔ should get bchreg:qq4g2nmk64wt7a2mx85cl07n45nkh2p7lc69mw6yf9 cash address #toPublicKey ✔ should create a public key buffer from an ECPair ✔ should create a public key buffer from an ECPair ✔ should create a public key buffer from an ECPair ✔ should create a public key buffer from an ECPair ✔ should create a public key buffer from an ECPair #toLegacyAddress ✔ should create legacy address 1P23VhvFLH18qP7YRCPDWPwA9TCJjmp9B5 from an ECPair ✔ should create legacy address 14tqru6iL3KX2m4nKg36tfLFe13J1d1uwu from an ECPair ✔ should create legacy address 135cNoFyxcwJ88BQsJd7c6qKfSBgRK7cCT from an ECPair ✔ should create legacy address 1NbRysVu1cy8A8mjrLh4z649HqG6DrX9Z from an ECPair ✔ should create legacy address 1FoZGWj8rgrimR7W383LNSLUfdPCjKAXLK from an ECPair #toCashAddress ✔ should create cash address bitcoincash:qrcc23q0w7wgld690kduxvhetu0am523c5ufq5pes4 from an ECPair ✔ should create cash address bitcoincash:qq4tvcxq5z35pkfj65a2elyy8xpn0r55r59r5he7nz from an ECPair ✔ should create cash address bitcoincash:qqtv7uskar0nd8hyflesg7wq4uuqwdmtyg4hsx9kge from an ECPair ✔ should create cash address bitcoincash:qqzp270mhkglttfaysmt985aykwjhndw0ulmgr5g5d from an ECPair ✔ should create cash address bitcoincash:qz39l492msv9zz838t8ltx2w4zmycnqhwck4fnnyym from an ECPair ✔ should create regtest cash address bchreg:qrcc23q0w7wgld690kduxvhetu0am523c5z8jjqa50 from an ECPair ✔ should create regtest cash address bchreg:qq4tvcxq5z35pkfj65a2elyy8xpn0r55r5mdx3c6hc from an ECPair ✔ should create regtest cash address bchreg:qqtv7uskar0nd8hyflesg7wq4uuqwdmtygtezqyjvr from an ECPair ✔ should create regtest cash address bchreg:qqzp270mhkglttfaysmt985aykwjhndw0up4694vsh from an ECPair ✔ should create regtest cash address bchreg:qz39l492msv9zz838t8ltx2w4zmycnqhwcgmm4jqqp from an ECPair #sign ✔ should sign 32 byte hash buffer ✔ should sign 32 byte hash buffer ✔ should sign 32 byte hash buffer ✔ should sign 32 byte hash buffer ✔ should sign 32 byte hash buffer #verify ✔ should verify signed 32 byte hash buffer (103ms) ✔ should verify signed 32 byte hash buffer (87ms) ✔ should verify signed 32 byte hash buffer (98ms) ✔ should verify signed 32 byte hash buffer (96ms) ✔ should verify signed 32 byte hash buffer (97ms) #ElectrumX #utxo ✔ should throw an error for improper input ✔ should GET utxos for a single address ✔ should POST utxo details for an array of addresses #balance ✔ should throw an error for improper input ✔ should GET balance for a single address ✔ should POST balance for an array of addresses #transactions ✔ should throw an error for improper input ✔ should GET transactions for a single address ✔ should POST transaction history for an array of addresses #unconfirmed ✔ should throw an error for improper input ✔ should GET unconfirmed utxos for a single address ✔ should POST unconfirmed utxo details for an array of addresses #blockHeader ✔ should throw an error for improper height input ✔ should throw an error for improper count input ✔ should GET block headers for a given height #txData ✔ should throw an error for improper input ✔ should GET details data for a single transaction ✔ should POST details for an array of transactions #broadcast ✔ should throw an error for improper input ✔ should broadcast a single transaction #sortConfTxs ✔ should sort in ascending order ✔ should sort in descending order by default ✔ should ignore unconfirmed txs Error in util.js/sortConfTxs() ✔ should handle errors #sortAllTxs ✔ should sort in ascending ✔ should sort in descending order by default Error in util.js/sort0ConfTxs electrumx.js restURL: https://api.fullstack.cash/v5/ ✔ should handle errors #Encryption #getPubKey ✔ should throw error if BCH address is not provided. ✔ should report when public key can not be found ✔ should get a public key #Generating #generateToAddress ✔ should generate #HDNode #fromSeed ✔ should create an HDNode from root seed buffer ✔ should create an HDNode from root seed buffer ✔ should create an HDNode from root seed buffer ✔ should create an HDNode from root seed buffer ✔ should create an HDNode from root seed buffer #derive ✔ should derive non hardened child HDNode (52ms) ✔ should derive non hardened child HDNode (52ms) ✔ should derive non hardened child HDNode (49ms) ✔ should derive non hardened child HDNode (59ms) ✔ should derive non hardened child HDNode (52ms) #deriveHardened ✔ should derive hardened child HDNode (59ms) ✔ should derive hardened child HDNode (60ms) ✔ should derive hardened child HDNode (47ms) ✔ should derive hardened child HDNode (51ms) ✔ should derive hardened child HDNode (47ms) derive BIP44 $BCH account ✔ should derive BIP44 $BCH account (95ms) ✔ should derive BIP44 $BCH account (103ms) ✔ should derive BIP44 $BCH account (122ms) ✔ should derive BIP44 $BCH account (115ms) ✔ should derive BIP44 $BCH account (118ms) #derivePath derive non hardened Path ✔ should derive non hardened child HDNode from path (57ms) ✔ should derive non hardened child HDNode from path (62ms) ✔ should derive non hardened child HDNode from path (56ms) ✔ should derive non hardened child HDNode from path (54ms) ✔ should derive non hardened child HDNode from path (58ms) derive hardened Path ✔ should derive hardened child HDNode from path (56ms) ✔ should derive hardened child HDNode from path (52ms) ✔ should derive hardened child HDNode from path (59ms) ✔ should derive hardened child HDNode from path (59ms) ✔ should derive hardened child HDNode from path (56ms) derive BIP44 $BCH account ✔ should derive BIP44 $BCH account (95ms) ✔ should derive BIP44 $BCH account (109ms) ✔ should derive BIP44 $BCH account (124ms) ✔ should derive BIP44 $BCH account (122ms) ✔ should derive BIP44 $BCH account (120ms) #toLegacyAddress ✔ should get address 1HFrMyKqduYaStXuwwKJo4U6LYd8ygFfJP from HDNode (68ms) ✔ should get address 16PcBknwp8vdT8RH3iV9rFW8Us8JKws2jp from HDNode (64ms) ✔ should get address 18gWYq4bf8hiS5hPDurPrxEs3wikdzskXH from HDNode (72ms) ✔ should get address 14HyYKA6dgn1DVTLnvEFfh1jNFBATyragw from HDNode (70ms) ✔ should get address 1AFWhEY61yrTgsW1bbAfNM6LnrTZ77oMc6 from HDNode (70ms) #toCashAddress ✔ should get address bitcoincash:qze9zznaqzdne2awnlnygt0p74dkc3e4svm9ty58nx from HDNode (63ms) ✔ should get address bchreg:qze9zznaqzdne2awnlnygt0p74dkc3e4sv9tez4rhu from HDNode (61ms) ✔ should get address bitcoincash:qqa37fkpl3g90ydgas3t3ev0xes24du2aqfdxaz85s from HDNode (58ms) ✔ should get address bchreg:qqa37fkpl3g90ydgas3t3ev0xes24du2aqhr5mrrs2 from HDNode (67ms) ✔ should get address bitcoincash:qp2yr38pjeqdtsqw9pfwjs6ng3ya4lqlpu46wkzsh5 from HDNode (62ms) ✔ should get address bchreg:qp2yr38pjeqdtsqw9pfwjs6ng3ya4lqlput5usr5nw from HDNode (62ms) ✔ should get address bitcoincash:qqjpuwkhepkgxylfg8tq59sqm8zwf32dxqdchcnge7 from HDNode (63ms) ✔ should get address bchreg:qqjpuwkhepkgxylfg8tq59sqm8zwf32dxqnk97jvay from HDNode (59ms) ✔ should get address bitcoincash:qpjh00scq3ratsytmttle5cml6yyk9stvc5lfd6pck from HDNode (58ms) ✔ should get address bchreg:qpjh00scq3ratsytmttle5cml6yyk9stvc23mtm9uv from HDNode (59ms) #toWIF ✔ should get privateKeyWIF L3nMAFHGojwdTajZAjEfSsqyP8TmQgqpxmhKNdwpLiNw4EBuhUcg from HDNode ✔ should get privateKeyWIF KxWMGJMHMhB4f8aTwpmqags7gNvcrc7gs76SJHaXbAc4Me2DKP3L from HDNode ✔ should get privateKeyWIF KzYUskkRuJrhDYLgP1JAywmUx3MPh2UZNQa299iZgGS9cNKytzy4 from HDNode ✔ should get privateKeyWIF L54oL29DdWDiPtHDW1kr3fzTWdm2f34V1tWhrFxnJoVafadwx6aS from HDNode ✔ should get privateKeyWIF L5UtYZibxTiHYefBQNvTRHYp75V3EeoqzRdv8KwqzYBtvzewaUME from HDNode #toXPub ✔ should create xpub xpub661MyMwAqRbcGedwRJEC3DjCdtR3aQChzBzrGuLs1ou9ynjKoMBivmYEmQP3Acfg1azWxBmzSmQi7rLPMFbqtus8LZQngeVkSSqU63UabpZ from an HDNode ✔ should create xpub xpub661MyMwAqRbcEchwVMh1yv3z9qDniozsh9niTRpwh12zG1FvGxTjRbMXMLYx2AszH2eQDSxNnq1TUzcGZFWPZt9qLRracrs3Hc2vZNmJHyj from an HDNode ✔ should create xpub xpub661MyMwAqRbcGSmyx3bRW9NhjR3F1Agh9c1d4Hbu8SfdoiC23LXoA2n6T6sZQZybp8ZyjpxN9we9LXwKraVARdwsVMuL8BYFYC3TP3FX2Jx from an HDNode ✔ should create xpub xpub661MyMwAqRbcGkg9gnqwWnxq5KsvMkFsGrjoSYUZKmS19rwiUXGYzZ8wRYXXwxrTpNFN9tiqrB6nDEFEGmaQfz9jfBqio3YsBW8asrh5d2r from an HDNode ✔ should create xpub xpub661MyMwAqRbcFVDUv6gAfL63Z55XDyT1mNePiUKktmVcL426ZHWz5GRssSZ5PHCrKQgPKui7rRGiiNMSfvt3vJ6V4NqbSsNqgoEeimsyHrJ from an HDNode #toXPriv ✔ should create xpriv xprv9s21ZrQH143K4AZUKGhBg5nU5raZAwUrcy5FUWwFTUNB6zQBFosUNyDkv8EmFd1V4ASGt7d8sJ8sBem1DB8asw38K4cccN6azVCssnyfb4t from an HDNode ✔ should create xpriv xprv9s21ZrQH143K28dUPLA1cn7FboPJKMH2Kvs7f3RL8fW1PCvmjR9Uso33W5M1PvysLBcnhhj9DvW5CUviWa6iswxv9QBYnmcsNKjonHwEZpj from an HDNode ✔ should create xpriv xprv9s21ZrQH143K3xhWr24R91RyBPCkbhxqnP62FuCHa78evursVoDYcETcbprrDaiaoxhqieMCzM48THvTGM3b9hTb4FKHUoJrrMsX1cWw2G1 from an HDNode ✔ should create xpriv xprv9s21ZrQH143K4GbgamJw9f26XJ3RxHY1udpCeA4wmRu2H4cZvyxJSkpTaHReJUj5sjRWAfm8WkNChP29GdmkZcwjvWxVrWTe7vmXsx3XZHv from an HDNode ✔ should create xpriv xprv9s21ZrQH143K3191p59AJC9K13F2pWjAQ9inv5v9LRxdTFgx1kCjXU7Q2ACdAm7P432XP8MjAoTHW9dDxjbFpfRqv7cu3hkn9u5ZtBQs3Vi from an HDNode #toKeyPair ✔ should get ECPair from an HDNode ✔ should get ECPair from an HDNode ✔ should get ECPair from an HDNode ✔ should get ECPair from an HDNode ✔ should get ECPair from an HDNode #toPublicKey ✔ should create public key buffer from an HDNode ✔ should create public key buffer from an HDNode ✔ should create public key buffer from an HDNode ✔ should create public key buffer from an HDNode ✔ should create public key buffer from an HDNode #fromXPriv ✔ should exercise fromXPriv #fromXPub ✔ should exercise fromXPub (108ms) #bip32 ✔ should create accounts and addresses seedBuffer: ^�N;ߊM�i�e�����C]Xs�"1� B������!�(;�R>���L�� N�N��P�-� seedBuffer: �0 s8��m7�,o�?����(uՑ�oY�������b���Wf֑c ��wc�Fq�J4 seedBuffer: ����J��x|+Ʊ231uH��Č1c'֔mLj�4h���<���(���j��H�#��&��t seedBuffer: ������m�ťJ���񞥲�����[��!&�$O��L�����H�~5B9@S�-�+*��i�P seedBuffer: `��4?r��vP�y�2 n���'���ӓ멨����ŐS54 '��tP\)�d]��0^��T�)- #sign ✔ should sign 32 byte hash buffer ✔ should sign 32 byte hash buffer (41ms) ✔ should sign 32 byte hash buffer (44ms) ✔ should sign 32 byte hash buffer (40ms) ✔ should sign 32 byte hash buffer #verify ✔ should verify signed 32 byte hash buffer (94ms) ✔ should verify signed 32 byte hash buffer (105ms) ✔ should verify signed 32 byte hash buffer (115ms) ✔ should verify signed 32 byte hash buffer (108ms) ✔ should verify signed 32 byte hash buffer (114ms) #isPublic ✔ should verify hdnode is public (53ms) ✔ should verify hdnode is public ✔ should verify hdnode is public ✔ should verify hdnode is public ✔ should verify hdnode is public ✔ should verify hdnode is not public ✔ should verify hdnode is not public ✔ should verify hdnode is not public ✔ should verify hdnode is not public ✔ should verify hdnode is not public #isPrivate ✔ should verify hdnode is not private ✔ should verify hdnode is not private ✔ should verify hdnode is not private ✔ should verify hdnode is not private ✔ should verify hdnode is not private ✔ should verify hdnode is private ✔ should verify hdnode is private ✔ should verify hdnode is private ✔ should verify hdnode is private ✔ should verify hdnode is private #toIdentifier ✔ should get identifier of hdnode ✔ should get identifier of hdnode ✔ should get identifier of hdnode ✔ should get identifier of hdnode ✔ should get identifier of hdnode #Mining #getBlockTemplate ✔ should get block template #getMiningInfo ✔ should get mining info #getNetworkHashps ✔ should get network hashps #submitBlock ✔ should TODO #Mnemonic #generate ✔ should generate a 12 word mnemonic ✔ should generate a 15 word mnemonic ✔ should generate a 18 word mnemonic ✔ should generate an 21 word mnemonic ✔ should generate an 24 word mnemonic ✔ should generate an 24 word italian mnemonic #fromEntropy ✔ should generate a 12 word mnemonic from 16 bytes of entropy ✔ should generate a 15 word mnemonic from 20 bytes of entropy ✔ should generate an 18 word mnemonic from 24 bytes of entropy ✔ should generate an 21 word mnemonic from 28 bytes of entropy ✔ should generate an 24 word mnemonic from 32 bytes of entropy ✔ should generate an 24 french word mnemonic 32 bytes of entropy ✔ should convert b207cc3029bd141f8ef4e1ba9cc86d68 to rare dinosaur army fat spend average design order ritual town brave spike ✔ should convert b03cd014c7d471de387cff45f9b245f417a9d74c to rabbit track ahead moral either upper tiger paper echo snow multiply trial kind two cram ✔ should convert c4daa193352815f1e10bba884885fc6b54ef54ff76b40cd6 to shadow steak gospel heart life wedding loud jar marriage during lecture stove exclude price worry story art relief ✔ should convert d9d7db820bf31a4ad2f149110178b8e9577653e46d42fccdc904ae97 to supply salute they blood coyote century envelope circle baby armed comfort sport jazz clarify museum portion wolf hour donkey frog juice ✔ should convert ea9d80e70b08bbfb6b7f2bca56c88ddb2c2d003e675a855779d81e11f3009346 to tunnel ugly degree bid merry world pupil tornado ski rent casino rent security length wet twice luxury rookie invite destroy busy leopard escape shoe #toEntropy ✔ should turn a 12 word mnemonic to entropy ✔ should turn a 15 word mnemonic to entropy ✔ should turn a 18 word mnemonic to entropy ✔ should turn a 21 word mnemonic to entropy ✔ should turn a 24 word mnemonic to entropy ✔ should turn a 24 word spanish mnemonic to entropy ✔ should convert rare dinosaur army fat spend average design order ritual town brave spike to b207cc3029bd141f8ef4e1ba9cc86d68 ✔ should convert rabbit track ahead moral either upper tiger paper echo snow multiply trial kind two cram to b03cd014c7d471de387cff45f9b245f417a9d74c ✔ should convert shadow steak gospel heart life wedding loud jar marriage during lecture stove exclude price worry story art relief to c4daa193352815f1e10bba884885fc6b54ef54ff76b40cd6 ✔ should convert supply salute they blood coyote century envelope circle baby armed comfort sport jazz clarify museum portion wolf hour donkey frog juice to d9d7db820bf31a4ad2f149110178b8e9577653e46d42fccdc904ae97 ✔ should convert tunnel ugly degree bid merry world pupil tornado ski rent casino rent security length wet twice luxury rookie invite destroy busy leopard escape shoe to ea9d80e70b08bbfb6b7f2bca56c88ddb2c2d003e675a855779d81e11f3009346 #validate ✔ fails for a mnemonic that is too short ✔ fails for a mnemonic that is too long ✔ fails if mnemonic words are not in the word list ✔ validate a 128 bit mnemonic ✔ validate a 160 bit mnemonic ✔ validate a 192 bit mnemonic ✔ validate a 224 bit mnemonic ✔ validate a 256 bit mnemonic ✔ validate a 256 bit chinese simplified mnemonic #toSeed ✔ should create 512 bit / 64 byte HMAC-SHA512 root seed from a 128 bit mnemonic ✔ should create 512 bit / 64 byte HMAC-SHA512 root seed from a 160 bit mnemonic ✔ should create 512 bit / 64 byte HMAC-SHA512 root seed from a 192 bit mnemonic ✔ should create 512 bit / 64 byte HMAC-SHA512 root seed from a 224 bit mnemonic ✔ should create 512 bit / 64 byte HMAC-SHA512 root seed from a 256 bit mnemonic #wordLists ✔ return a list of 2048 english words ✔ return a list of 2048 japanese words ✔ return a list of 2048 chinese simplified words ✔ return a list of 2048 chinese traditional words ✔ return a list of 2048 french words ✔ return a list of 2048 italian words ✔ return a list of 2048 korean words ✔ return a list of 2048 spanish words #findNearestWord ✔ find word abandon near ab in english ✔ find word octupler near octu in french ✔ find word area near reda in english ✔ find word forro near foobaro in spanish ✔ find word neve near nv in italian #price #getUsd ✔ should get the USD price of BCH #rates ✔ should get the price of BCH in several currencies #getBchaUsd ✔ should get the USD price of BCHA #getBchUsd ✔ should get the USD price of BCH ✔ should handle error #PsfSlpIndexer #status ✔ should GET status ✔ should handle axios error ✔ should handle request error #balance ✔ should GET balance ✔ should throw an error for improper input ✔ should handle axios error ✔ should handle request error #tokenStats ✔ should GET token stats ✔ should throw an error for improper input ✔ should handle axios error ✔ should handle request error #tx ✔ should GET transaction data ✔ should throw an error for improper input ✔ should handle axios error ✔ should get tx from full node if not available from slp indexer ✔ should return isValidSlp=null for blacklisted token #checkBlacklist ✔ should return true if txid contains token in blacklist ✔ should return false if there is an error ✔ should return false if there is no tokenId match #getTokenData ✔ should GET token data ✔ should throw an error for improper input ✔ should handle axios error ✔ should handle request error #getTokenData2 ✔ should get token data #RawTransactions #decodeRawTransaction ✔ should decode raw transaction #decodeScript ✔ should decode script #getRawTransaction ✔ should get raw transaction #sendRawTransaction ✔ should send single raw transaction #_getInputAddrs ✔ should return an array of input addresses ✔ should catch and throw and error #getTxData ✔ should return tx data with input addresses ✔ should throw an error for a non-txid input ✔ should catch and throw an error #Script #decode P2PKH scriptSig ✔ should decode scriptSig buffer ✔ should decode scriptSig buffer to cash address bitcoincash:qqzdnxncgm3v247u5v0gqnglr2vpdhe0hu4wl0rmwt ✔ should decode scriptSig buffer to legacy address 1SeP7kmdWTwjFmWiRMpqtSkDpW39zrVLK ✔ should decode scriptSig buffer ✔ should decode scriptSig buffer to cash address bitcoincash:qzkej6g2zr9c9k83chyqh5pllzv6pkw62ckf2m82ks ✔ should decode scriptSig buffer to legacy address 1GpugKfjEycPRhk8A8ALPh1zAJmTQGdJPp ✔ should decode scriptSig buffer ✔ should decode scriptSig buffer to cash address bitcoincash:qqz4f6xwz5matms0sef8whspw89a6clvecgwtand6r ✔ should decode scriptSig buffer to legacy address 1VC6ZuSpcKcYEQZupNS6yMxddauCuq7dc ✔ should decode scriptSig buffer ✔ should decode scriptSig buffer to cash address bitcoincash:qqh7evl4w7h6lsu7uvakvadm0z5hj535lqk098l670 ✔ should decode scriptSig buffer to legacy address 15NQKRj7rAVsFL5rWMmhkAgx2K1dYoHoDW ✔ should decode scriptSig buffer ✔ should decode scriptSig buffer to cash address bitcoincash:qq4g2nmk64wt7a2mx85cl07n45nkh2p7lcytfgmqdl ✔ should decode scriptSig buffer to legacy address 14sq5dL1TeFdQJpj3vVMQvjrdmQoqVoM6m P2PKH scriptPubKey ✔ should decode scriptSig buffer ✔ should match hashed pubKey 02a4766c2b0330a1e1c2cdc0b2f5df288bbfed3744bc2ac629ddc898599ec5e8ba ✔ should decode scriptSig buffer ✔ should match hashed pubKey 031f3a008f31d050a3a0656fe75f25b2672d6e51d333f94476dba0186606fb60ae ✔ should decode scriptSig buffer ✔ should match hashed pubKey 03a0ef9f3169f53511fd860823549a2de2307ac5b9c19b5bd8a0d24462f9b71900 ✔ should decode scriptSig buffer ✔ should match hashed pubKey 03520d443e292c2cc6934e9dfc682326dffcf680b72fcc76e4f5f38b40c3ec4e26 ✔ should decode scriptSig buffer ✔ should match hashed pubKey 036effd263eb7b3f48a0a26920a8972c711af30606bf3a651843455e91cf385cf0 #encode P2PKH scriptSig ✔ should encode scriptSig chunks to buffer ✔ should encode scriptSig chunks to buffer ✔ should encode scriptSig chunks to buffer ✔ should encode scriptSig chunks to buffer ✔ should encode scriptSig chunks to buffer P2PKH scriptPubKey ✔ should encode scriptPubKey buffer ✔ should encode scriptPubKey buffer ✔ should encode scriptPubKey buffer ✔ should encode scriptPubKey buffer ✔ should encode scriptPubKey buffer Encode SLP SEND OP_RETURN properly Hex string: 6a04534c500001010453454e442073db55368981e4878440637e448d4abe7f661be5c3efdcbcb63bd86a01a76b5a0400000001 ✔ should correctly compile OP_RETURN SLP SEND transaction #toASM P2PKH scriptSig ✔ should encode scriptSig buffer to 3045022100877e2f9c28421f0a850cc8ff66ba1d0f6c8dbe9e63e199c2c2600c9c15bf9d4402204d35b13d3cc202aa25722b2b1791442ebc5c39d898b609515260ad08f0e766a601 02fb721b92025e775b1b84774e65d568d24645cb633275f5c26f5c3101b214a8fb ✔ should encode scriptSig buffer to 3045022100baaa13f933f528721972fd8ffc685eb8017e33aa30822bb6bd462a7cf5e7a2fa0220239be52243487b2d8d619f7076a75d3f90bbbe0325a0cf4ef5f12187996b5f84 037eb440a8f01b18c681aa0193570980949dce19ad3767c2bdd6381e912b2004b9 ✔ should encode scriptSig buffer to 304402206d063e9b9e10ac373ac18ce6c11aa590661970309e4e89158fc4852460da554c022037b54465c4ba407b17d83a2f207ecfa6b1966fe17ff12afd6c865cdab3a6a5c9 025836f9a2024a2dd3dbb808dca3a30eb1cef72e38cd70d86fdffbfb05ac52d613 ✔ should encode scriptSig buffer to 304402201bf30e8c74afdf1a81a5c9e36ee25ea9c0ed0da133aaca604e960039499cfc50022023ca25a688d9792d3d289c3bbf6fe324dabce956f664e6a0c8bfdfd60962d281 038d594622ea23f7c105770bdad52f86a5854ec7809805a16b861d659dbe4248fd ✔ should encode scriptSig buffer to 3044022044134e2b5e17337a145efde74324754ac02029f6059646365a4974d79b8bb9aa02205e73d44349b8e04dba8154abcfcf318f4e74dfe083cf280664786e87d829868a 034a72f4e88f47c3ea10b7949b83555f5553fa2358b3f1821ab0b4894e7a039cc5 ✔ should encode scriptSig buffer to 304502210096478f7b5758bf5f1753a7c3624f727f3251f5c94c107f253a49eff5952e58bc022005d33eaa3f0c172561b40bd2d9e2890ddbbc6a96b22961e7f070687acba82d0e 020a50e91df19b66d0fecb509f5983fe9c53ceb78bab2967a3a31e6145a3c95639 P2PKH scriptPubKey ✔ should compile scriptPubKey buffer to OP_DUP OP_HASH160 bee4182d9fbc8931a728410a0cd3e0f340f2995a OP_EQUALVERIFY OP_CHECKSIG ✔ should compile scriptPubKey buffer to OP_DUP OP_HASH160 5fdffba08fa0289af38bc43239d5dc31879b4322 OP_EQUALVERIFY OP_CHECKSIG ✔ should compile scriptPubKey buffer to OP_DUP OP_HASH160 14343842516b4af7d8bdb5f16195f9421898cf0f OP_EQUALVERIFY OP_CHECKSIG ✔ should compile scriptPubKey buffer to OP_DUP OP_HASH160 dd4eb9879eb4901d5a0fd0493f1d684eeae43a46 OP_EQUALVERIFY OP_CHECKSIG ✔ should compile scriptPubKey buffer to OP_DUP OP_HASH160 633039b5adf5e4723cb4d41276eac2fd43178e3e OP_EQUALVERIFY OP_CHECKSIG #fromASM P2PKH scriptSig ✔ should decode scriptSig asm to buffer ✔ should decode scriptSig asm to buffer ✔ should decode scriptSig asm to buffer ✔ should decode scriptSig asm to buffer ✔ should decode scriptSig asm to buffer ✔ should decode scriptSig asm to buffer P2PKH scriptPubKey ✔ should decode scriptPubKey asm to buffer ✔ should decode scriptPubKey asm to buffer ✔ should decode scriptPubKey asm to buffer ✔ should decode scriptPubKey asm to buffer ✔ should decode scriptPubKey asm to buffer #OPCodes ✔ should have OP Code OP_FALSE ✔ should have OP Code OP_0 ✔ should have OP Code OP_PUSHDATA1 ✔ should have OP Code OP_PUSHDATA2 ✔ should have OP Code OP_PUSHDATA4 ✔ should have OP Code OP_1NEGATE ✔ should have OP Code OP_RESERVED ✔ should have OP Code OP_TRUE ✔ should have OP Code OP_1 ✔ should have OP Code OP_2 ✔ should have OP Code OP_3 ✔ should have OP Code OP_4 ✔ should have OP Code OP_5 ✔ should have OP Code OP_6 ✔ should have OP Code OP_7 ✔ should have OP Code OP_8 ✔ should have OP Code OP_9 ✔ should have OP Code OP_10 ✔ should have OP Code OP_11 ✔ should have OP Code OP_12 ✔ should have OP Code OP_13 ✔ should have OP Code OP_14 ✔ should have OP Code OP_15 ✔ should have OP Code OP_16 ✔ should have OP Code OP_NOP ✔ should have OP Code OP_VER ✔ should have OP Code OP_IF ✔ should have OP Code OP_NOTIF ✔ should have OP Code OP_VERIF ✔ should have OP Code OP_VERNOTIF ✔ should have OP Code OP_ELSE ✔ should have OP Code OP_ENDIF ✔ should have OP Code OP_VERIFY ✔ should have OP Code OP_RETURN ✔ should have OP Code OP_TOALTSTACK ✔ should have OP Code OP_FROMALTSTACK ✔ should have OP Code OP_2DROP ✔ should have OP Code OP_2DUP ✔ should have OP Code OP_3DUP ✔ should have OP Code OP_2OVER ✔ should have OP Code OP_2ROT ✔ should have OP Code OP_2SWAP ✔ should have OP Code OP_IFDUP ✔ should have OP Code OP_DEPTH ✔ should have OP Code OP_DROP ✔ should have OP Code OP_DUP ✔ should have OP Code OP_NIP ✔ should have OP Code OP_OVER ✔ should have OP Code OP_PICK ✔ should have OP Code OP_ROLL ✔ should have OP Code OP_ROT ✔ should have OP Code OP_SWAP ✔ should have OP Code OP_TUCK ✔ should have OP Code OP_CAT ✔ should have OP Code OP_SPLIT ✔ should have OP Code OP_NUM2BIN ✔ should have OP Code OP_BIN2NUM ✔ should have OP Code OP_SIZE ✔ should have OP Code OP_INVERT ✔ should have OP Code OP_AND ✔ should have OP Code OP_OR ✔ should have OP Code OP_XOR ✔ should have OP Code OP_EQUAL ✔ should have OP Code OP_EQUALVERIFY ✔ should have OP Code OP_RESERVED1 ✔ should have OP Code OP_RESERVED2 ✔ should have OP Code OP_1ADD ✔ should have OP Code OP_1SUB ✔ should have OP Code OP_2MUL ✔ should have OP Code OP_2DIV ✔ should have OP Code OP_NEGATE ✔ should have OP Code OP_ABS ✔ should have OP Code OP_NOT ✔ should have OP Code OP_0NOTEQUAL ✔ should have OP Code OP_ADD ✔ should have OP Code OP_SUB ✔ should have OP Code OP_MUL ✔ should have OP Code OP_DIV ✔ should have OP Code OP_MOD ✔ should have OP Code OP_LSHIFT ✔ should have OP Code OP_RSHIFT ✔ should have OP Code OP_BOOLAND ✔ should have OP Code OP_BOOLOR ✔ should have OP Code OP_NUMEQUAL ✔ should have OP Code OP_NUMEQUALVERIFY ✔ should have OP Code OP_NUMNOTEQUAL ✔ should have OP Code OP_LESSTHAN ✔ should have OP Code OP_GREATERTHAN ✔ should have OP Code OP_LESSTHANOREQUAL ✔ should have OP Code OP_GREATERTHANOREQUAL ✔ should have OP Code OP_MIN ✔ should have OP Code OP_MAX ✔ should have OP Code OP_WITHIN ✔ should have OP Code OP_RIPEMD160 ✔ should have OP Code OP_SHA1 ✔ should have OP Code OP_SHA256 ✔ should have OP Code OP_HASH160 ✔ should have OP Code OP_HASH256 ✔ should have OP Code OP_CODESEPARATOR ✔ should have OP Code OP_CHECKSIG ✔ should have OP Code OP_CHECKSIGVERIFY ✔ should have OP Code OP_CHECKMULTISIG ✔ should have OP Code OP_CHECKMULTISIGVERIFY ✔ should have OP Code OP_NOP1 ✔ should have OP Code OP_NOP2 ✔ should have OP Code OP_CHECKLOCKTIMEVERIFY ✔ should have OP Code OP_NOP3 ✔ should have OP Code OP_CHECKSEQUENCEVERIFY ✔ should have OP Code OP_NOP4 ✔ should have OP Code OP_NOP5 ✔ should have OP Code OP_NOP6 ✔ should have OP Code OP_NOP7 ✔ should have OP Code OP_NOP8 ✔ should have OP Code OP_NOP9 ✔ should have OP Code OP_NOP10 ✔ should have OP Code OP_PUBKEYHASH ✔ should have OP Code OP_PUBKEY ✔ should have OP Code OP_INVALIDOPCODE #classifyInput ✔ should classify input type pubkey ✔ should classify input type pubkey ✔ should classify input type pubkey ✔ should classify input type pubkey ✔ should classify input type pubkey ✔ should classify input type pubkeyhash ✔ should classify input type pubkeyhash ✔ should classify input type pubkeyhash ✔ should classify input type pubkeyhash ✔ should classify input type pubkeyhash ✔ should classify input type multisig ✔ should classify input type multisig ✔ should classify input type multisig ✔ should classify input type scripthash #classifyOutput ✔ should classify ouput type nulldata ✔ should classify ouput type nulldata ✔ should classify ouput type nulldata ✔ should classify ouput type nulldata ✔ should classify ouput type nulldata ✔ should classify ouput type pubkey ✔ should classify ouput type pubkey ✔ should classify ouput type pubkey ✔ should classify ouput type pubkey ✔ should classify ouput type pubkey ✔ should classify ouput type pubkeyhash ✔ should classify ouput type pubkeyhash ✔ should classify ouput type pubkeyhash ✔ should classify ouput type pubkeyhash ✔ should classify ouput type pubkeyhash ✔ should classify ouput type multisig ✔ should classify ouput type multisig ✔ should classify ouput type multisig ✔ should classify ouput type scripthash #nullDataTemplate ✔ should encode nulldata output ✔ should decode nulldata output ✔ should confirm correctly formatted nulldata output ✔ should encode nulldata output ✔ should decode nulldata output ✔ should confirm correctly formatted nulldata output ✔ should encode nulldata output ✔ should decode nulldata output ✔ should confirm correctly formatted nulldata output #pubKeyTemplate #pubKeyInputTemplate ✔ should encode pubKey input ✔ should decode pubKey input ✔ should confirm correctly formatted pubKeyHash input ✔ should encode pubKey input ✔ should decode pubKey input ✔ should confirm correctly formatted pubKeyHash input ✔ should encode pubKey input ✔ should decode pubKey input ✔ should confirm correctly formatted pubKeyHash input ✔ should encode pubKey input ✔ should decode pubKey input ✔ should confirm correctly formatted pubKeyHash input ✔ should encode pubKey input ✔ should decode pubKey input ✔ should confirm correctly formatted pubKeyHash input #pubKeyOutputTemplate ✔ should encode pubKey output ✔ should decode pubKey output ✔ should confirm correctly formatted pubKey output ✔ should encode pubKey output ✔ should decode pubKey output ✔ should confirm correctly formatted pubKey output ✔ should encode pubKey output ✔ should decode pubKey output ✔ should confirm correctly formatted pubKey output ✔ should encode pubKey output ✔ should decode pubKey output ✔ should confirm correctly formatted pubKey output ✔ should encode pubKey output ✔ should decode pubKey output ✔ should confirm correctly formatted pubKey output #pubKeyHashTemplate #pubKeyHashInputTemplate ✔ should encode pubKeyHash input ✔ should decode pubKeyHash input signature ✔ should decode pubKeyHash input pubkey ✔ should confirm correctly formatted pubKeyHash input ✔ should encode pubKeyHash input ✔ should decode pubKeyHash input signature ✔ should decode pubKeyHash input pubkey ✔ should confirm correctly formatted pubKeyHash input ✔ should encode pubKeyHash input ✔ should decode pubKeyHash input signature ✔ should decode pubKeyHash input pubkey ✔ should confirm correctly formatted pubKeyHash input ✔ should encode pubKeyHash input ✔ should decode pubKeyHash input signature ✔ should decode pubKeyHash input pubkey ✔ should confirm correctly formatted pubKeyHash input ✔ should encode pubKeyHash input ✔ should decode pubKeyHash input signature ✔ should decode pubKeyHash input pubkey ✔ should confirm correctly formatted pubKeyHash input #pubKeyHashOutputTemplate ✔ should exercise pubKeyHashOutputTemplate (121ms) #multisigTemplate #multisigInputTemplate ✔ should encode multisig input ✔ should decode multisig input ✔ should confirm correctly formatted multisig input ✔ should encode multisig input ✔ should decode multisig input ✔ should confirm correctly formatted multisig input ✔ should encode multisig input ✔ should decode multisig input ✔ should confirm correctly formatted multisig input #multisigOutputTemplate ✔ should encode multisig output ✔ should decode multisig output ✔ should confirm correctly formatted multisig output ✔ should encode multisig output ✔ should decode multisig output ✔ should confirm correctly formatted multisig output ✔ should encode multisig output ✔ should decode multisig output ✔ should confirm correctly formatted multisig output #scriptHashTemplate #scriptHashInputTemplate ✔ should encode scriptHash input ✔ should decode scriptHash input ✔ should confirm correctly formatted scriptHash input #scriptHashOutputTemplate ✔ should encode scriptHash output ✔ should decode scriptHash output ✔ should confirm correctly formatted scriptHash output #SLP Address #mainnet #toLegacyAddress ✔ should convert mainnet legacy address format to itself correctly (75ms) ✔ should convert cashAddr to legacyAddr (97ms) ✔ should convert slpAddr to legacyAddr (93ms) #toCashAddress ✔ should convert mainnet cash address format to itself correctly (55ms) ✔ should convert legacyAddr to cashAddr ✔ should convert slpAddr to cashAddr (75ms) #toSLPAddress ✔ should convert mainnet slp address format to itself correctly (87ms) ✔ should convert legacyAddr to slpAddr ✔ should convert cashAddr to slpAddr (60ms) #isLegacyAddress is legacy addr ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is a legacy address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is a legacy address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is a legacy address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is a legacy address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is a legacy address ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is a legacy address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is a legacy address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is a legacy address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is a legacy address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is a legacy address cashaddr is not legacy addr ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is not a legacy address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is not a legacy address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is not a legacy address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is not a legacy address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is not a legacy address ✔ should detect bitcoincash:pp7ushdxf5we8mcpaa3wqgsuqt639cu59ur5xu5fug is not a legacy address ✔ should detect bitcoincash:ppsup5akyvql5w46q9eszd9fxpx970acpyqkw79vq2 is not a legacy address ✔ should detect bitcoincash:prznrkhnf6zqsap6l664ayzu2xue67ue4gv686sjyu is not a legacy address ✔ should detect bitcoincash:pphmm80pznl6pnkmzakz3ahafydmvhwzcslea4v5mz is not a legacy address ✔ should detect bitcoincash:pz6pr25g6mulp0kes9xnmsda0u4rf442ase2un89pl is not a legacy address slpaddr is not legacy addr ✔ should detect simpleledger:qptnmya5wkly7xf97wm5ak23yqdsz3l2cy79a7ey6f is not a legacy address ✔ should detect simpleledger:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsl7u0euja is not a legacy address ✔ should detect simpleledger:qpkfg4kck99wksyss6nvaqtafeahfnyrps75jky754 is not a legacy address ✔ should detect simpleledger:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvg5n38vcq is not a legacy address ✔ should detect simpleledger:qryj8x4s7vfsc864jm0xaak9qfe8qgk245g7mdg5qp is not a legacy address ✔ should detect simpleledger:pp7ushdxf5we8mcpaa3wqgsuqt639cu59u00d8pfzk is not a legacy address ✔ should detect simpleledger:ppsup5akyvql5w46q9eszd9fxpx970acpyvd99sv75 is not a legacy address ✔ should detect simpleledger:prznrkhnf6zqsap6l664ayzu2xue67ue4gqpvp9j6z is not a legacy address ✔ should detect simpleledger:pphmm80pznl6pnkmzakz3ahafydmvhwzcsnzkwe59u is not a legacy address ✔ should detect simpleledger:pz6pr25g6mulp0kes9xnmsda0u4rf442as43hgj9lp is not a legacy address #isCashAddress is cashaddr ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is a cashaddr address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is a cashaddr address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is a cashaddr address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is a cashaddr address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is a cashaddr address ✔ should detect bitcoincash:pp7ushdxf5we8mcpaa3wqgsuqt639cu59ur5xu5fug is a cashaddr address ✔ should detect bitcoincash:ppsup5akyvql5w46q9eszd9fxpx970acpyqkw79vq2 is a cashaddr address ✔ should detect bitcoincash:prznrkhnf6zqsap6l664ayzu2xue67ue4gv686sjyu is a cashaddr address ✔ should detect bitcoincash:pphmm80pznl6pnkmzakz3ahafydmvhwzcslea4v5mz is a cashaddr address ✔ should detect bitcoincash:pz6pr25g6mulp0kes9xnmsda0u4rf442ase2un89pl is a cashaddr address legacy is not cash addr ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is not a cash address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is not a cash address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is not a cash address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is not a cash address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is not a cash address ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is not a cash address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is not a cash address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is not a cash address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is not a cash address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is not a cash address slpaddr is not cash addr ✔ should detect simpleledger:qptnmya5wkly7xf97wm5ak23yqdsz3l2cy79a7ey6f is not a cash address ✔ should detect simpleledger:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsl7u0euja is not a cash address ✔ should detect simpleledger:qpkfg4kck99wksyss6nvaqtafeahfnyrps75jky754 is not a cash address ✔ should detect simpleledger:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvg5n38vcq is not a cash address ✔ should detect simpleledger:qryj8x4s7vfsc864jm0xaak9qfe8qgk245g7mdg5qp is not a cash address ✔ should detect simpleledger:pp7ushdxf5we8mcpaa3wqgsuqt639cu59u00d8pfzk is not a cash address ✔ should detect simpleledger:ppsup5akyvql5w46q9eszd9fxpx970acpyvd99sv75 is not a cash address ✔ should detect simpleledger:prznrkhnf6zqsap6l664ayzu2xue67ue4gqpvp9j6z is not a cash address ✔ should detect simpleledger:pphmm80pznl6pnkmzakz3ahafydmvhwzcsnzkwe59u is not a cash address ✔ should detect simpleledger:pz6pr25g6mulp0kes9xnmsda0u4rf442as43hgj9lp is not a cash address #isSLPAddress is slpaddr ✔ should detect simpleledger:qptnmya5wkly7xf97wm5ak23yqdsz3l2cy79a7ey6f is an slp address ✔ should detect simpleledger:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsl7u0euja is an slp address ✔ should detect simpleledger:qpkfg4kck99wksyss6nvaqtafeahfnyrps75jky754 is an slp address ✔ should detect simpleledger:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvg5n38vcq is an slp address ✔ should detect simpleledger:qryj8x4s7vfsc864jm0xaak9qfe8qgk245g7mdg5qp is an slp address ✔ should detect simpleledger:pp7ushdxf5we8mcpaa3wqgsuqt639cu59u00d8pfzk is an slp address ✔ should detect simpleledger:ppsup5akyvql5w46q9eszd9fxpx970acpyvd99sv75 is an slp address ✔ should detect simpleledger:prznrkhnf6zqsap6l664ayzu2xue67ue4gqpvp9j6z is an slp address ✔ should detect simpleledger:pphmm80pznl6pnkmzakz3ahafydmvhwzcsnzkwe59u is an slp address ✔ should detect simpleledger:pz6pr25g6mulp0kes9xnmsda0u4rf442as43hgj9lp is an slp address legacy is not slp addr ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is not an slp address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is not an slp address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is not an slp address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is not an slp address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is not an slp address ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is not an slp address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is not an slp address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is not an slp address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is not an slp address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is not an slp address cash is not slp addr ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is not an slp address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is not an slp address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is not an slp address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is not an slp address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is not an slp address ✔ should detect bitcoincash:pp7ushdxf5we8mcpaa3wqgsuqt639cu59ur5xu5fug is not an slp address ✔ should detect bitcoincash:ppsup5akyvql5w46q9eszd9fxpx970acpyqkw79vq2 is not an slp address ✔ should detect bitcoincash:prznrkhnf6zqsap6l664ayzu2xue67ue4gv686sjyu is not an slp address ✔ should detect bitcoincash:pphmm80pznl6pnkmzakz3ahafydmvhwzcslea4v5mz is not an slp address ✔ should detect bitcoincash:pz6pr25g6mulp0kes9xnmsda0u4rf442ase2un89pl is not an slp address #isMainnetAddress mainnet legacy addr ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is a mainnet address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is a mainnet address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is a mainnet address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is a mainnet address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is a mainnet address ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is a mainnet address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is a mainnet address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is a mainnet address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is a mainnet address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is a mainnet address mainnet cash addr ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is a mainnet address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is a mainnet address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is a mainnet address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is a mainnet address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is a mainnet address ✔ should detect bitcoincash:pp7ushdxf5we8mcpaa3wqgsuqt639cu59ur5xu5fug is a mainnet address ✔ should detect bitcoincash:ppsup5akyvql5w46q9eszd9fxpx970acpyqkw79vq2 is a mainnet address ✔ should detect bitcoincash:prznrkhnf6zqsap6l664ayzu2xue67ue4gv686sjyu is a mainnet address ✔ should detect bitcoincash:pphmm80pznl6pnkmzakz3ahafydmvhwzcslea4v5mz is a mainnet address ✔ should detect bitcoincash:pz6pr25g6mulp0kes9xnmsda0u4rf442ase2un89pl is a mainnet address mainnet slp addr ✔ should detect simpleledger:qptnmya5wkly7xf97wm5ak23yqdsz3l2cy79a7ey6f is a mainnet address ✔ should detect simpleledger:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsl7u0euja is a mainnet address ✔ should detect simpleledger:qpkfg4kck99wksyss6nvaqtafeahfnyrps75jky754 is a mainnet address ✔ should detect simpleledger:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvg5n38vcq is a mainnet address ✔ should detect simpleledger:qryj8x4s7vfsc864jm0xaak9qfe8qgk245g7mdg5qp is a mainnet address ✔ should detect simpleledger:pp7ushdxf5we8mcpaa3wqgsuqt639cu59u00d8pfzk is a mainnet address ✔ should detect simpleledger:ppsup5akyvql5w46q9eszd9fxpx970acpyvd99sv75 is a mainnet address ✔ should detect simpleledger:prznrkhnf6zqsap6l664ayzu2xue67ue4gqpvp9j6z is a mainnet address ✔ should detect simpleledger:pphmm80pznl6pnkmzakz3ahafydmvhwzcsnzkwe59u is a mainnet address ✔ should detect simpleledger:pz6pr25g6mulp0kes9xnmsda0u4rf442as43hgj9lp is a mainnet address testnet legacy addr ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is not a mainnet address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is not a mainnet address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is not a mainnet address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is not a mainnet address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is not a mainnet address ✔ should detect 2N7euSnwuJP93QmK5TD4AkWmaTfBbBLrxUs is not a mainnet address ✔ should detect 2N38BPRHX4ejA7QJEfYGikw2PM7QRaVnFg3 is not a mainnet address ✔ should detect 2N46fAZgsFSwKxM5reRdQCmmtAXaotVqakP is not a mainnet address ✔ should detect 2MzFSj4mQM3bCFYEKmhxSecuoPA3aziudov is not a mainnet address ✔ should detect 2N4Y11CqifLKEDfCFRHa6Dt36X9BKCP2K2o is not a mainnet address testnet cash addr ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is not a mainnet address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is not a mainnet address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is not a mainnet address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is not a mainnet address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is not a mainnet address ✔ should detect bchtest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqh2hmtpyr is not a mainnet address ✔ should detect bchtest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq75a27y9c is not a mainnet address ✔ should detect bchtest:ppms42pganhr9fqnkfz7xnwcj7emxng3u5526prj59 is not a mainnet address ✔ should detect bchtest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5mnszkjw8 is not a mainnet address ✔ should detect bchtest:ppaat8w24kdu74782fu8jr27k42dwhem45ycrhxgae is not a mainnet address testnet slp addr ✔ should detect slptest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u375e3j88 is not a mainnet address ✔ should detect slptest:qpzj67wmlsq8uttddddapjjawyusureca57g07z2y6 is not a mainnet address ✔ should detect slptest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5qw3lr9ms is not a mainnet address ✔ should detect slptest:qrem2cg43ksmvlampheur8gfgdhhk57mygl7aly7cy is not a mainnet address ✔ should detect slptest:qp4jf3n740kffkladul96xnq5dtrflg4x54qyj7ac7 is not a mainnet address ✔ should detect slptest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqv7sq3kk7 is not a mainnet address ✔ should detect slptest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq9q63ynh9 is not a mainnet address ✔ should detect slptest:ppms42pganhr9fqnkfz7xnwcj7emxng3u507a6e9xc is not a mainnet address ✔ should detect slptest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5q8hev9u6 is not a mainnet address ✔ should detect slptest:ppaat8w24kdu74782fu8jr27k42dwhem45lvyvul0y is not a mainnet address #isP2PKHAddress mainnet legacy addr ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is a P2PKH address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is a P2PKH address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is a P2PKH address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is a P2PKH address (57ms) ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is a P2PKH address ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is a P2PKH address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is a P2PKH address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is a P2PKH address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is a P2PKH address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is a P2PKH address ✔ should detect simpleledger:qptnmya5wkly7xf97wm5ak23yqdsz3l2cy79a7ey6f is a P2PKH address ✔ should detect simpleledger:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsl7u0euja is a P2PKH address ✔ should detect simpleledger:qpkfg4kck99wksyss6nvaqtafeahfnyrps75jky754 is a P2PKH address ✔ should detect simpleledger:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvg5n38vcq is a P2PKH address ✔ should detect simpleledger:qryj8x4s7vfsc864jm0xaak9qfe8qgk245g7mdg5qp is a P2PKH address #isP2SHAddress mainnet legacy addr ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is a P2SH address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is a P2SH address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is a P2SH address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is a P2SH address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is a P2SH address ✔ should detect bitcoincash:pp7ushdxf5we8mcpaa3wqgsuqt639cu59ur5xu5fug is a P2SH address ✔ should detect bitcoincash:ppsup5akyvql5w46q9eszd9fxpx970acpyqkw79vq2 is a P2SH address ✔ should detect bitcoincash:prznrkhnf6zqsap6l664ayzu2xue67ue4gv686sjyu is a P2SH address ✔ should detect bitcoincash:pphmm80pznl6pnkmzakz3ahafydmvhwzcslea4v5mz is a P2SH address ✔ should detect bitcoincash:pz6pr25g6mulp0kes9xnmsda0u4rf442ase2un89pl is a P2SH address ✔ should detect simpleledger:pp7ushdxf5we8mcpaa3wqgsuqt639cu59u00d8pfzk is a P2SH address ✔ should detect simpleledger:ppsup5akyvql5w46q9eszd9fxpx970acpyvd99sv75 is a P2SH address ✔ should detect simpleledger:prznrkhnf6zqsap6l664ayzu2xue67ue4gqpvp9j6z is a P2SH address ✔ should detect simpleledger:pphmm80pznl6pnkmzakz3ahafydmvhwzcsnzkwe59u is a P2SH address ✔ should detect simpleledger:pz6pr25g6mulp0kes9xnmsda0u4rf442as43hgj9lp is a P2SH address #detectAddressFormat ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is a legacy address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is a legacy address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is a legacy address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is a legacy address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is a legacy address ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is a legacy address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is a legacy address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is a legacy address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is a legacy address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is a legacy address ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is a cash address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is a cash address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is a cash address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is a cash address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is a cash address ✔ should detect bitcoincash:pp7ushdxf5we8mcpaa3wqgsuqt639cu59ur5xu5fug is a cash address ✔ should detect bitcoincash:ppsup5akyvql5w46q9eszd9fxpx970acpyqkw79vq2 is a cash address ✔ should detect bitcoincash:prznrkhnf6zqsap6l664ayzu2xue67ue4gv686sjyu is a cash address ✔ should detect bitcoincash:pphmm80pznl6pnkmzakz3ahafydmvhwzcslea4v5mz is a cash address ✔ should detect bitcoincash:pz6pr25g6mulp0kes9xnmsda0u4rf442ase2un89pl is a cash address ✔ should detect simpleledger:qptnmya5wkly7xf97wm5ak23yqdsz3l2cy79a7ey6f is an slp address ✔ should detect simpleledger:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsl7u0euja is an slp address ✔ should detect simpleledger:qpkfg4kck99wksyss6nvaqtafeahfnyrps75jky754 is an slp address ✔ should detect simpleledger:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvg5n38vcq is an slp address ✔ should detect simpleledger:qryj8x4s7vfsc864jm0xaak9qfe8qgk245g7mdg5qp is an slp address ✔ should detect simpleledger:pp7ushdxf5we8mcpaa3wqgsuqt639cu59u00d8pfzk is an slp address ✔ should detect simpleledger:ppsup5akyvql5w46q9eszd9fxpx970acpyvd99sv75 is an slp address ✔ should detect simpleledger:prznrkhnf6zqsap6l664ayzu2xue67ue4gqpvp9j6z is an slp address ✔ should detect simpleledger:pphmm80pznl6pnkmzakz3ahafydmvhwzcsnzkwe59u is an slp address ✔ should detect simpleledger:pz6pr25g6mulp0kes9xnmsda0u4rf442as43hgj9lp is an slp address #detectAddressNetwork ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is a mainnet address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is a mainnet address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is a mainnet address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is a mainnet address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is a mainnet address ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is a mainnet address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is a mainnet address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is a mainnet address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is a mainnet address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is a mainnet address ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is a mainnet address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is a mainnet address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is a mainnet address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is a mainnet address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is a mainnet address ✔ should detect bitcoincash:pp7ushdxf5we8mcpaa3wqgsuqt639cu59ur5xu5fug is a mainnet address ✔ should detect bitcoincash:ppsup5akyvql5w46q9eszd9fxpx970acpyqkw79vq2 is a mainnet address ✔ should detect bitcoincash:prznrkhnf6zqsap6l664ayzu2xue67ue4gv686sjyu is a mainnet address ✔ should detect bitcoincash:pphmm80pznl6pnkmzakz3ahafydmvhwzcslea4v5mz is a mainnet address ✔ should detect bitcoincash:pz6pr25g6mulp0kes9xnmsda0u4rf442ase2un89pl is a mainnet address ✔ should detect simpleledger:qptnmya5wkly7xf97wm5ak23yqdsz3l2cy79a7ey6f is a mainnet address ✔ should detect simpleledger:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsl7u0euja is a mainnet address ✔ should detect simpleledger:qpkfg4kck99wksyss6nvaqtafeahfnyrps75jky754 is a mainnet address ✔ should detect simpleledger:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvg5n38vcq is a mainnet address ✔ should detect simpleledger:qryj8x4s7vfsc864jm0xaak9qfe8qgk245g7mdg5qp is a mainnet address ✔ should detect simpleledger:pp7ushdxf5we8mcpaa3wqgsuqt639cu59u00d8pfzk is a mainnet address ✔ should detect simpleledger:ppsup5akyvql5w46q9eszd9fxpx970acpyvd99sv75 is a mainnet address ✔ should detect simpleledger:prznrkhnf6zqsap6l664ayzu2xue67ue4gqpvp9j6z is a mainnet address ✔ should detect simpleledger:pphmm80pznl6pnkmzakz3ahafydmvhwzcsnzkwe59u is a mainnet address ✔ should detect simpleledger:pz6pr25g6mulp0kes9xnmsda0u4rf442as43hgj9lp is a mainnet address #detectAddressType ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is a p2pkh address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is a p2pkh address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is a p2pkh address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is a p2pkh address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is a p2pkh address ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is a p2pkh address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is a p2pkh address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is a p2pkh address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is a p2pkh address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is a p2pkh address ✔ should detect simpleledger:qptnmya5wkly7xf97wm5ak23yqdsz3l2cy79a7ey6f is a p2pkh address ✔ should detect simpleledger:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsl7u0euja is a p2pkh address ✔ should detect simpleledger:qpkfg4kck99wksyss6nvaqtafeahfnyrps75jky754 is a p2pkh address ✔ should detect simpleledger:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvg5n38vcq is a p2pkh address ✔ should detect simpleledger:qryj8x4s7vfsc864jm0xaak9qfe8qgk245g7mdg5qp is a p2pkh address ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is a p2sh address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is a p2sh address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is a p2sh address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is a p2sh address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is a p2sh address ✔ should detect bitcoincash:pp7ushdxf5we8mcpaa3wqgsuqt639cu59ur5xu5fug is a p2sh address ✔ should detect bitcoincash:ppsup5akyvql5w46q9eszd9fxpx970acpyqkw79vq2 is a p2sh address ✔ should detect bitcoincash:prznrkhnf6zqsap6l664ayzu2xue67ue4gv686sjyu is a p2sh address ✔ should detect bitcoincash:pphmm80pznl6pnkmzakz3ahafydmvhwzcslea4v5mz is a p2sh address ✔ should detect bitcoincash:pz6pr25g6mulp0kes9xnmsda0u4rf442ase2un89pl is a p2sh address ✔ should detect simpleledger:pp7ushdxf5we8mcpaa3wqgsuqt639cu59u00d8pfzk is a p2sh address ✔ should detect simpleledger:ppsup5akyvql5w46q9eszd9fxpx970acpyvd99sv75 is a p2sh address ✔ should detect simpleledger:prznrkhnf6zqsap6l664ayzu2xue67ue4gqpvp9j6z is a p2sh address ✔ should detect simpleledger:pphmm80pznl6pnkmzakz3ahafydmvhwzcsnzkwe59u is a p2sh address ✔ should detect simpleledger:pz6pr25g6mulp0kes9xnmsda0u4rf442as43hgj9lp is a p2sh address #testnet #toLegacyAddress ✔ should convert testnet legacy address format to itself correctly ✔ should convert cashAddr to legacyAddr (68ms) ✔ should convert slpAddr to legacyAddr (103ms) #toCashAddress ✔ should convert testnet cash address format to itself correctly (61ms) ✔ should convert legacyAddr to cashAddr ✔ should convert slpAddr to cashAddr (71ms) #toSLPAddress ✔ should convert testnet slp address format to itself correctly (66ms) ✔ should convert legacyAddr to slpAddr ✔ should convert cashAddr to slpAddr (43ms) #isLegacyAddress is legacy addr ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is a legacy address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is a legacy address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is a legacy address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is a legacy address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is a legacy address ✔ should detect 2N7euSnwuJP93QmK5TD4AkWmaTfBbBLrxUs is a legacy address ✔ should detect 2N38BPRHX4ejA7QJEfYGikw2PM7QRaVnFg3 is a legacy address ✔ should detect 2N46fAZgsFSwKxM5reRdQCmmtAXaotVqakP is a legacy address ✔ should detect 2MzFSj4mQM3bCFYEKmhxSecuoPA3aziudov is a legacy address ✔ should detect 2N4Y11CqifLKEDfCFRHa6Dt36X9BKCP2K2o is a legacy address cashaddr is not legacy addr ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is not a legacy address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is not a legacy address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is not a legacy address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is not a legacy address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is not a legacy address ✔ should detect bchtest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqh2hmtpyr is not a legacy address ✔ should detect bchtest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq75a27y9c is not a legacy address ✔ should detect bchtest:ppms42pganhr9fqnkfz7xnwcj7emxng3u5526prj59 is not a legacy address ✔ should detect bchtest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5mnszkjw8 is not a legacy address ✔ should detect bchtest:ppaat8w24kdu74782fu8jr27k42dwhem45ycrhxgae is not a legacy address slpaddr is not legacy addr ✔ should detect slptest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u375e3j88 is not a legacy address ✔ should detect slptest:qpzj67wmlsq8uttddddapjjawyusureca57g07z2y6 is not a legacy address ✔ should detect slptest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5qw3lr9ms is not a legacy address ✔ should detect slptest:qrem2cg43ksmvlampheur8gfgdhhk57mygl7aly7cy is not a legacy address ✔ should detect slptest:qp4jf3n740kffkladul96xnq5dtrflg4x54qyj7ac7 is not a legacy address ✔ should detect slptest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqv7sq3kk7 is not a legacy address ✔ should detect slptest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq9q63ynh9 is not a legacy address ✔ should detect slptest:ppms42pganhr9fqnkfz7xnwcj7emxng3u507a6e9xc is not a legacy address ✔ should detect slptest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5q8hev9u6 is not a legacy address ✔ should detect slptest:ppaat8w24kdu74782fu8jr27k42dwhem45lvyvul0y is not a legacy address #isCashAddress is cashaddr ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is a cashaddr address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is a cashaddr address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is a cashaddr address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is a cashaddr address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is a cashaddr address ✔ should detect bchtest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqh2hmtpyr is a cashaddr address ✔ should detect bchtest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq75a27y9c is a cashaddr address ✔ should detect bchtest:ppms42pganhr9fqnkfz7xnwcj7emxng3u5526prj59 is a cashaddr address ✔ should detect bchtest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5mnszkjw8 is a cashaddr address ✔ should detect bchtest:ppaat8w24kdu74782fu8jr27k42dwhem45ycrhxgae is a cashaddr address legacy is not cash addr ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is not a cash address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is not a cash address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is not a cash address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is not a cash address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is not a cash address ✔ should detect 2N7euSnwuJP93QmK5TD4AkWmaTfBbBLrxUs is not a cash address ✔ should detect 2N38BPRHX4ejA7QJEfYGikw2PM7QRaVnFg3 is not a cash address ✔ should detect 2N46fAZgsFSwKxM5reRdQCmmtAXaotVqakP is not a cash address ✔ should detect 2MzFSj4mQM3bCFYEKmhxSecuoPA3aziudov is not a cash address ✔ should detect 2N4Y11CqifLKEDfCFRHa6Dt36X9BKCP2K2o is not a cash address slpaddr is not cash addr ✔ should detect slptest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u375e3j88 is not a cash address ✔ should detect slptest:qpzj67wmlsq8uttddddapjjawyusureca57g07z2y6 is not a cash address ✔ should detect slptest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5qw3lr9ms is not a cash address ✔ should detect slptest:qrem2cg43ksmvlampheur8gfgdhhk57mygl7aly7cy is not a cash address ✔ should detect slptest:qp4jf3n740kffkladul96xnq5dtrflg4x54qyj7ac7 is not a cash address ✔ should detect slptest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqv7sq3kk7 is not a cash address ✔ should detect slptest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq9q63ynh9 is not a cash address ✔ should detect slptest:ppms42pganhr9fqnkfz7xnwcj7emxng3u507a6e9xc is not a cash address ✔ should detect slptest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5q8hev9u6 is not a cash address ✔ should detect slptest:ppaat8w24kdu74782fu8jr27k42dwhem45lvyvul0y is not a cash address #isSLPAddress is slpaddr ✔ should detect slptest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u375e3j88 is an slp address ✔ should detect slptest:qpzj67wmlsq8uttddddapjjawyusureca57g07z2y6 is an slp address ✔ should detect slptest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5qw3lr9ms is an slp address ✔ should detect slptest:qrem2cg43ksmvlampheur8gfgdhhk57mygl7aly7cy is an slp address ✔ should detect slptest:qp4jf3n740kffkladul96xnq5dtrflg4x54qyj7ac7 is an slp address ✔ should detect slptest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqv7sq3kk7 is an slp address ✔ should detect slptest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq9q63ynh9 is an slp address ✔ should detect slptest:ppms42pganhr9fqnkfz7xnwcj7emxng3u507a6e9xc is an slp address ✔ should detect slptest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5q8hev9u6 is an slp address ✔ should detect slptest:ppaat8w24kdu74782fu8jr27k42dwhem45lvyvul0y is an slp address legacy is not slp addr ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is not an slp address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is not an slp address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is not an slp address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is not an slp address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is not an slp address ✔ should detect 2N7euSnwuJP93QmK5TD4AkWmaTfBbBLrxUs is not an slp address ✔ should detect 2N38BPRHX4ejA7QJEfYGikw2PM7QRaVnFg3 is not an slp address ✔ should detect 2N46fAZgsFSwKxM5reRdQCmmtAXaotVqakP is not an slp address ✔ should detect 2MzFSj4mQM3bCFYEKmhxSecuoPA3aziudov is not an slp address ✔ should detect 2N4Y11CqifLKEDfCFRHa6Dt36X9BKCP2K2o is not an slp address cash is not slp addr ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is not an slp address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is not an slp address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is not an slp address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is not an slp address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is not an slp address ✔ should detect bchtest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqh2hmtpyr is not an slp address ✔ should detect bchtest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq75a27y9c is not an slp address ✔ should detect bchtest:ppms42pganhr9fqnkfz7xnwcj7emxng3u5526prj59 is not an slp address ✔ should detect bchtest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5mnszkjw8 is not an slp address ✔ should detect bchtest:ppaat8w24kdu74782fu8jr27k42dwhem45ycrhxgae is not an slp address #isTestnetAddress testnet legacy addr ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is a testnet address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is a testnet address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is a testnet address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is a testnet address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is a testnet address ✔ should detect 2N7euSnwuJP93QmK5TD4AkWmaTfBbBLrxUs is a testnet address ✔ should detect 2N38BPRHX4ejA7QJEfYGikw2PM7QRaVnFg3 is a testnet address ✔ should detect 2N46fAZgsFSwKxM5reRdQCmmtAXaotVqakP is a testnet address ✔ should detect 2MzFSj4mQM3bCFYEKmhxSecuoPA3aziudov is a testnet address ✔ should detect 2N4Y11CqifLKEDfCFRHa6Dt36X9BKCP2K2o is a testnet address testnet cash addr ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is a testnet address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is a testnet address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is a testnet address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is a testnet address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is a testnet address ✔ should detect bchtest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqh2hmtpyr is a testnet address ✔ should detect bchtest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq75a27y9c is a testnet address ✔ should detect bchtest:ppms42pganhr9fqnkfz7xnwcj7emxng3u5526prj59 is a testnet address ✔ should detect bchtest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5mnszkjw8 is a testnet address ✔ should detect bchtest:ppaat8w24kdu74782fu8jr27k42dwhem45ycrhxgae is a testnet address testnet slp addr ✔ should detect slptest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u375e3j88 is a testnet address ✔ should detect slptest:qpzj67wmlsq8uttddddapjjawyusureca57g07z2y6 is a testnet address ✔ should detect slptest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5qw3lr9ms is a testnet address ✔ should detect slptest:qrem2cg43ksmvlampheur8gfgdhhk57mygl7aly7cy is a testnet address ✔ should detect slptest:qp4jf3n740kffkladul96xnq5dtrflg4x54qyj7ac7 is a testnet address ✔ should detect slptest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqv7sq3kk7 is a testnet address ✔ should detect slptest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq9q63ynh9 is a testnet address ✔ should detect slptest:ppms42pganhr9fqnkfz7xnwcj7emxng3u507a6e9xc is a testnet address ✔ should detect slptest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5q8hev9u6 is a testnet address ✔ should detect slptest:ppaat8w24kdu74782fu8jr27k42dwhem45lvyvul0y is a testnet address mainnet legacy addr ✔ should detect 18xHZ8g2feo4ceejGpvzHkvXT79fi2ZdTG is not a testnet address ✔ should detect 1K7Qb1dWkiYwPrZhLws3uUKhxKEU7dRnbQ is not a testnet address ✔ should detect 1Au7gWXS2zAgFSdWwT5QnTNeasye16kxoG is not a testnet address ✔ should detect 174uecjfRgh1XkVBYFzZymkV1JwmFQ91s9 is not a testnet address ✔ should detect 1KLXUPMdq4vaU3VoQzSvLUx2mub5qzFkTc is not a testnet address ✔ should detect 3DA6RBcFgLwLTpnF6BRAee8w6a9H6JQLCm is not a testnet address ✔ should detect 3AbtU1JSaiQijyGT21stxpBRZj1hixWcGB is not a testnet address ✔ should detect 3KfgmLeczB525pV2tJLQ6RM5qFMLaB2Kn1 is not a testnet address ✔ should detect 3Bsr5dvAJ2Q8CpHxJSZkNdgD12Tkb9TaR7 is not a testnet address ✔ should detect 3J78iYD4i4ht8Btp8pyRx71jg5yrRTkQaM is not a testnet address mainnet cash addr ✔ should detect bitcoincash:qptnmya5wkly7xf97wm5ak23yqdsz3l2cyj7k9vyyh is not a testnet address ✔ should detect bitcoincash:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsn9h5vuvr is not a testnet address ✔ should detect bitcoincash:qpkfg4kck99wksyss6nvaqtafeahfnyrpsj0ed372t is not a testnet address ✔ should detect bitcoincash:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvy0c2jvx7 is not a testnet address ✔ should detect bitcoincash:qryj8x4s7vfsc864jm0xaak9qfe8qgk245y9ska57l is not a testnet address ✔ should detect bitcoincash:pp7ushdxf5we8mcpaa3wqgsuqt639cu59ur5xu5fug is not a testnet address ✔ should detect bitcoincash:ppsup5akyvql5w46q9eszd9fxpx970acpyqkw79vq2 is not a testnet address ✔ should detect bitcoincash:prznrkhnf6zqsap6l664ayzu2xue67ue4gv686sjyu is not a testnet address ✔ should detect bitcoincash:pphmm80pznl6pnkmzakz3ahafydmvhwzcslea4v5mz is not a testnet address ✔ should detect bitcoincash:pz6pr25g6mulp0kes9xnmsda0u4rf442ase2un89pl is not a testnet address mainnet slp addr ✔ should detect simpleledger:qptnmya5wkly7xf97wm5ak23yqdsz3l2cy79a7ey6f is not a testnet address ✔ should detect simpleledger:qrr2suh9yjsrkl2qp3p967uhfg6u0r6xxsl7u0euja is not a testnet address ✔ should detect simpleledger:qpkfg4kck99wksyss6nvaqtafeahfnyrps75jky754 is not a testnet address ✔ should detect simpleledger:qppgmuuwy07g0x39sx2z0x2u8e34tvfdxvg5n38vcq is not a testnet address ✔ should detect simpleledger:qryj8x4s7vfsc864jm0xaak9qfe8qgk245g7mdg5qp is not a testnet address ✔ should detect simpleledger:pp7ushdxf5we8mcpaa3wqgsuqt639cu59u00d8pfzk is not a testnet address ✔ should detect simpleledger:ppsup5akyvql5w46q9eszd9fxpx970acpyvd99sv75 is not a testnet address ✔ should detect simpleledger:prznrkhnf6zqsap6l664ayzu2xue67ue4gqpvp9j6z is not a testnet address ✔ should detect simpleledger:pphmm80pznl6pnkmzakz3ahafydmvhwzcsnzkwe59u is not a testnet address ✔ should detect simpleledger:pz6pr25g6mulp0kes9xnmsda0u4rf442as43hgj9lp is not a testnet address #isP2PKHAddress testnet legacy addr ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is a P2PKH address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is a P2PKH address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is a P2PKH address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is a P2PKH address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is a P2PKH address ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is a P2PKH address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is a P2PKH address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is a P2PKH address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is a P2PKH address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is a P2PKH address ✔ should detect slptest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u375e3j88 is a P2PKH address ✔ should detect slptest:qpzj67wmlsq8uttddddapjjawyusureca57g07z2y6 is a P2PKH address ✔ should detect slptest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5qw3lr9ms is a P2PKH address ✔ should detect slptest:qrem2cg43ksmvlampheur8gfgdhhk57mygl7aly7cy is a P2PKH address ✔ should detect slptest:qp4jf3n740kffkladul96xnq5dtrflg4x54qyj7ac7 is a P2PKH address #isP2SHAddress testnet legacy addr ✔ should detect 2N7euSnwuJP93QmK5TD4AkWmaTfBbBLrxUs is a P2SH address ✔ should detect 2N38BPRHX4ejA7QJEfYGikw2PM7QRaVnFg3 is a P2SH address ✔ should detect 2N46fAZgsFSwKxM5reRdQCmmtAXaotVqakP is a P2SH address ✔ should detect 2MzFSj4mQM3bCFYEKmhxSecuoPA3aziudov is a P2SH address ✔ should detect 2N4Y11CqifLKEDfCFRHa6Dt36X9BKCP2K2o is a P2SH address ✔ should detect bchtest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqh2hmtpyr is a P2SH address ✔ should detect bchtest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq75a27y9c is a P2SH address ✔ should detect bchtest:ppms42pganhr9fqnkfz7xnwcj7emxng3u5526prj59 is a P2SH address ✔ should detect bchtest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5mnszkjw8 is a P2SH address ✔ should detect bchtest:ppaat8w24kdu74782fu8jr27k42dwhem45ycrhxgae is a P2SH address ✔ should detect slptest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqv7sq3kk7 is a P2SH address ✔ should detect slptest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq9q63ynh9 is a P2SH address ✔ should detect slptest:ppms42pganhr9fqnkfz7xnwcj7emxng3u507a6e9xc is a P2SH address ✔ should detect slptest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5q8hev9u6 is a P2SH address ✔ should detect slptest:ppaat8w24kdu74782fu8jr27k42dwhem45lvyvul0y is a P2SH address #detectAddressFormat ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is a legacy address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is a legacy address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is a legacy address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is a legacy address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is a legacy address ✔ should detect 2N7euSnwuJP93QmK5TD4AkWmaTfBbBLrxUs is a legacy address ✔ should detect 2N38BPRHX4ejA7QJEfYGikw2PM7QRaVnFg3 is a legacy address ✔ should detect 2N46fAZgsFSwKxM5reRdQCmmtAXaotVqakP is a legacy address ✔ should detect 2MzFSj4mQM3bCFYEKmhxSecuoPA3aziudov is a legacy address ✔ should detect 2N4Y11CqifLKEDfCFRHa6Dt36X9BKCP2K2o is a legacy address ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is a cash address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is a cash address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is a cash address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is a cash address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is a cash address ✔ should detect bchtest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqh2hmtpyr is a cash address ✔ should detect bchtest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq75a27y9c is a cash address ✔ should detect bchtest:ppms42pganhr9fqnkfz7xnwcj7emxng3u5526prj59 is a cash address ✔ should detect bchtest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5mnszkjw8 is a cash address ✔ should detect bchtest:ppaat8w24kdu74782fu8jr27k42dwhem45ycrhxgae is a cash address ✔ should detect slptest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u375e3j88 is an slp address ✔ should detect slptest:qpzj67wmlsq8uttddddapjjawyusureca57g07z2y6 is an slp address ✔ should detect slptest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5qw3lr9ms is an slp address ✔ should detect slptest:qrem2cg43ksmvlampheur8gfgdhhk57mygl7aly7cy is an slp address ✔ should detect slptest:qp4jf3n740kffkladul96xnq5dtrflg4x54qyj7ac7 is an slp address ✔ should detect slptest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqv7sq3kk7 is an slp address ✔ should detect slptest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq9q63ynh9 is an slp address ✔ should detect slptest:ppms42pganhr9fqnkfz7xnwcj7emxng3u507a6e9xc is an slp address ✔ should detect slptest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5q8hev9u6 is an slp address ✔ should detect slptest:ppaat8w24kdu74782fu8jr27k42dwhem45lvyvul0y is an slp address #detectAddressNetwork ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is a testnet address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is a testnet address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is a testnet address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is a testnet address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is a testnet address ✔ should detect 2N7euSnwuJP93QmK5TD4AkWmaTfBbBLrxUs is a testnet address ✔ should detect 2N38BPRHX4ejA7QJEfYGikw2PM7QRaVnFg3 is a testnet address ✔ should detect 2N46fAZgsFSwKxM5reRdQCmmtAXaotVqakP is a testnet address ✔ should detect 2MzFSj4mQM3bCFYEKmhxSecuoPA3aziudov is a testnet address ✔ should detect 2N4Y11CqifLKEDfCFRHa6Dt36X9BKCP2K2o is a testnet address ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is a testnet address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is a testnet address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is a testnet address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is a testnet address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is a testnet address ✔ should detect bchtest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqh2hmtpyr is a testnet address ✔ should detect bchtest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq75a27y9c is a testnet address ✔ should detect bchtest:ppms42pganhr9fqnkfz7xnwcj7emxng3u5526prj59 is a testnet address ✔ should detect bchtest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5mnszkjw8 is a testnet address ✔ should detect bchtest:ppaat8w24kdu74782fu8jr27k42dwhem45ycrhxgae is a testnet address ✔ should detect slptest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u375e3j88 is a testnet address ✔ should detect slptest:qpzj67wmlsq8uttddddapjjawyusureca57g07z2y6 is a testnet address ✔ should detect slptest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5qw3lr9ms is a testnet address ✔ should detect slptest:qrem2cg43ksmvlampheur8gfgdhhk57mygl7aly7cy is a testnet address ✔ should detect slptest:qp4jf3n740kffkladul96xnq5dtrflg4x54qyj7ac7 is a testnet address ✔ should detect slptest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqv7sq3kk7 is a testnet address ✔ should detect slptest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq9q63ynh9 is a testnet address ✔ should detect slptest:ppms42pganhr9fqnkfz7xnwcj7emxng3u507a6e9xc is a testnet address ✔ should detect slptest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5q8hev9u6 is a testnet address ✔ should detect slptest:ppaat8w24kdu74782fu8jr27k42dwhem45lvyvul0y is a testnet address #detectAddressType ✔ should detect mhTg9sgNgvAGfmJs192oUzQWqAXHH5nqLE is a p2pkh address ✔ should detect mmpjQ24UyGGfJ39k44prH6W2A7y1qVaQti is a p2pkh address ✔ should detect muEnSveRwu8cEJSvXzDTJZQWrr7y9i331i is a p2pkh address ✔ should detect n3jZn7rb3Bjepap4TWo8pyqcwuxAw439HW is a p2pkh address ✔ should detect mqHUen3SUNjQkAPjMxZfSnuyd8cmcbL6fq is a p2pkh address ✔ should detect bchtest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u22nzt946 is a p2pkh address ✔ should detect bchtest:qpzj67wmlsq8uttddddapjjawyusureca59ug9cak8 is a p2pkh address ✔ should detect bchtest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5m6kyejfd is a p2pkh address ✔ should detect bchtest:qrem2cg43ksmvlampheur8gfgdhhk57mygy26y7f2e is a p2pkh address ✔ should detect bchtest:qp4jf3n740kffkladul96xnq5dtrflg4x5w5rfy22r is a p2pkh address ✔ should detect slptest:qq24rpar9qas3vc9r8d4p0prhwaf7jmx2u375e3j88 is a p2pkh address ✔ should detect slptest:qpzj67wmlsq8uttddddapjjawyusureca57g07z2y6 is a p2pkh address ✔ should detect slptest:qztg9c4u3ldhg68mqgzrple6ae92hwnfe5qw3lr9ms is a p2pkh address ✔ should detect slptest:qrem2cg43ksmvlampheur8gfgdhhk57mygl7aly7cy is a p2pkh address ✔ should detect slptest:qp4jf3n740kffkladul96xnq5dtrflg4x54qyj7ac7 is a p2pkh address #detectAddressType ✔ should detect 2N7euSnwuJP93QmK5TD4AkWmaTfBbBLrxUs is a p2sh address ✔ should detect 2N38BPRHX4ejA7QJEfYGikw2PM7QRaVnFg3 is a p2sh address ✔ should detect 2N46fAZgsFSwKxM5reRdQCmmtAXaotVqakP is a p2sh address ✔ should detect 2MzFSj4mQM3bCFYEKmhxSecuoPA3aziudov is a p2sh address ✔ should detect 2N4Y11CqifLKEDfCFRHa6Dt36X9BKCP2K2o is a p2sh address ✔ should detect bchtest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqh2hmtpyr is a p2sh address ✔ should detect bchtest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq75a27y9c is a p2sh address ✔ should detect bchtest:ppms42pganhr9fqnkfz7xnwcj7emxng3u5526prj59 is a p2sh address ✔ should detect bchtest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5mnszkjw8 is a p2sh address ✔ should detect bchtest:ppaat8w24kdu74782fu8jr27k42dwhem45ycrhxgae is a p2sh address ✔ should detect slptest:pz0qcslrqn7hr44hsszwl4lw5r6udkg6zqv7sq3kk7 is a p2sh address ✔ should detect slptest:ppk9ctxq9feg56vmwyznlgqs8sk6astknq9q63ynh9 is a p2sh address ✔ should detect slptest:ppms42pganhr9fqnkfz7xnwcj7emxng3u507a6e9xc is a p2sh address ✔ should detect slptest:ppxd8qmgse5h2gy03vf7swxg4rrfpxckx5q8hev9u6 is a p2sh address ✔ should detect slptest:ppaat8w24kdu74782fu8jr27k42dwhem45lvyvul0y is a p2sh address #SLP ECPair #toSLPAddress ✔ should return slp address for ecpair (72ms) #SLP NFT1 #newNFTGroupOpReturn ✔ should generate new NFT Group OP_RETURN code #mintNFTGroupOpReturn ✔ should generate NFT Group Mint OP_RETURN code #generateNFTChildOpReturn ✔ should generate NFT Genesis OP_RETURN code #generateNFTChildSendOpReturn ✔ should generate send OP_RETURN code for no change ✔ should generate send OP_RETURN code with change #generateNFTGroupSendOpReturn ✔ should generate send OP_RETURN with change ✔ should generate send OP_RETURN with no change #SLP TokenType1 #generateSendOpReturn ✔ should generate send OP_RETURN code #generateSendOpReturn01 ✔ should generate send OP_RETURN code #generateSendOpReturn02 ✔ should generate send OP_RETURN code #generateSendOpReturn03 ✔ should generate send OP_RETURN code #generateSendOpReturn06 ✔ should generate send OP_RETURN code #generateSendOpReturn07 ✔ should generate send OP_RETURN code #generateBurnOpReturn ✔ should generate burn OP_RETURN code #generateGenesisOpReturn ✔ should generate genesis OP_RETURN code ✔ should work if user does not specify doc hash #generateMintOpReturn Error in generateMintOpReturn() ✔ should throw error if tokenUtxos is not an array. Error in generateMintOpReturn() ✔ should throw error if minting baton is not in UTXOs. Error in generateMintOpReturn() ✔ should throw error if tokenId is not included in minting-baton UTXO. Error in generateMintOpReturn() ✔ should throw error if decimals is not included in minting-baton UTXO. ✔ should generate genesis OP_RETURN code #getHexOpReturn ✔ should return OP_RETURN object #SLP Utils #decodeOpReturn ✔ should throw an error for a non-string input ✔ should throw an error for non-SLP transaction ✔ should throw an error for non-SLP transaction with OP_RETURN ✔ should decode a genesis transaction ✔ should decode a mint transaction ✔ should decode a send transaction ✔ should properly decode a Genesis transaction with no minting baton ✔ should decode a send transaction with alternate encoding ✔ should throw error for invalid SLP transaction ✔ should decode a NFT Parent transaction ✔ should decode a NFT Child transaction ✔ should throw error when axios returns 429 status ✔ should throw error when axios returns 503 status #TransactionBuilder #hashTypes ✔ should match hash type ✔ should match hash type ✔ should match hash type ✔ should match hash type ✔ should match hash type ✔ should match hash type ✔ should match hash type #P2PK #toOne #Mainnet ✔ should create 1-to-1 P2PK transaction on mainnet (75ms) ✔ should create 1-to-1 P2PK transaction on mainnet (58ms) ✔ should create 1-to-1 P2PK transaction on mainnet (61ms) ✔ should create 1-to-1 P2PK transaction on mainnet (58ms) ✔ should create 1-to-1 P2PK transaction on mainnet (64ms) #Testnet ✔ should create 1-to-1 P2PK transaction on testnet (61ms) ✔ should create 1-to-1 P2PK transaction on testnet (52ms) ✔ should create 1-to-1 P2PK transaction on testnet (53ms) ✔ should create 1-to-1 P2PK transaction on testnet (57ms) ✔ should create 1-to-1 P2PK transaction on testnet (49ms) #toMany #Mainnet ✔ should create 1-to-many P2PK transaction on mainnet (89ms) ✔ should create 1-to-many P2PK transaction on mainnet (96ms) ✔ should create 1-to-many P2PK transaction on mainnet (105ms) ✔ should create 1-to-many P2PK transaction on mainnet (129ms) ✔ should create 1-to-many P2PK transaction on mainnet (126ms) #Testnet ✔ should create 1-to-many P2PK transaction on testnet (118ms) ✔ should create 1-to-many P2PK transaction on testnet (124ms) ✔ should create 1-to-many P2PK transaction on testnet (106ms) ✔ should create 1-to-many P2PK transaction on testnet (108ms) ✔ should create 1-to-many P2PK transaction on testnet (97ms) #manyToMany #Mainnet ✔ should create many-to-many P2PK transaction on mainnet (180ms) ✔ should create many-to-many P2PK transaction on mainnet (183ms) ✔ should create many-to-many P2PK transaction on mainnet (182ms) ✔ should create many-to-many P2PK transaction on mainnet (167ms) ✔ should create many-to-many P2PK transaction on mainnet (195ms) #Testnet ✔ should create many-to-many P2PK transaction on testnet (170ms) ✔ should create many-to-many P2PK transaction on testnet (166ms) ✔ should create many-to-many P2PK transaction on testnet (150ms) ✔ should create many-to-many P2PK transaction on testnet (147ms) ✔ should create many-to-many P2PK transaction on testnet (170ms) #fromMany #Mainnet ✔ should create many-to-1 P2PK transaction on mainnet (141ms) ✔ should create many-to-1 P2PK transaction on mainnet (119ms) ✔ should create many-to-1 P2PK transaction on mainnet (123ms) ✔ should create many-to-1 P2PK transaction on mainnet (136ms) ✔ should create many-to-1 P2PK transaction on mainnet (137ms) #Testnet ✔ should create many-to-1 P2PK transaction on testnet (138ms) ✔ should create many-to-1 P2PK transaction on testnet (136ms) ✔ should create many-to-1 P2PK transaction on testnet (130ms) ✔ should create many-to-1 P2PK transaction on testnet (157ms) ✔ should create many-to-1 P2PK transaction on testnet (149ms) #P2PKH #toOne #Mainnet ✔ should create 1-to-1 P2PKH transaction on mainnet (61ms) ✔ should create 1-to-1 P2PKH transaction on mainnet (69ms) ✔ should create 1-to-1 P2PKH transaction on mainnet (71ms) ✔ should create 1-to-1 P2PKH transaction on mainnet (73ms) ✔ should create 1-to-1 P2PKH transaction on mainnet (61ms) #Testnet ✔ should create 1-to-1 P2PKH transaction on testnet (50ms) ✔ should create 1-to-1 P2PKH transaction on testnet (56ms) ✔ should create 1-to-1 P2PKH transaction on testnet (65ms) ✔ should create 1-to-1 P2PKH transaction on testnet (62ms) ✔ should create 1-to-1 P2PKH transaction on testnet (61ms) #toMany #Mainnet ✔ should create 1-to-2 P2PKH transaction on mainnet (69ms) ✔ should create 1-to-2 P2PKH transaction on mainnet (57ms) ✔ should create 1-to-2 P2PKH transaction on mainnet (59ms) ✔ should create 1-to-2 P2PKH transaction on mainnet (56ms) ✔ should create 1-to-2 P2PKH transaction on mainnet (59ms) #Testnet ✔ should create 1-to-2 P2PKH transaction on testnet (55ms) ✔ should create 1-to-2 P2PKH transaction on testnet (95ms) ✔ should create 1-to-2 P2PKH transaction on testnet (71ms) ✔ should create 1-to-2 P2PKH transaction on testnet (69ms) ✔ should create 1-to-2 P2PKH transaction on testnet (67ms) #manyToMany #Mainnet ✔ should create 2-to-2 P2PKH transaction on mainnet (126ms) ✔ should create 2-to-2 P2PKH transaction on mainnet (121ms) ✔ should create 2-to-2 P2PKH transaction on mainnet (114ms) ✔ should create 2-to-2 P2PKH transaction on mainnet (103ms) ✔ should create 2-to-2 P2PKH transaction on mainnet (117ms) #Testnet ✔ should create 2-to-2 P2PKH transaction on testnet (116ms) ✔ should create 2-to-2 P2PKH transaction on testnet (125ms) ✔ should create 2-to-2 P2PKH transaction on testnet (101ms) ✔ should create 2-to-2 P2PKH transaction on testnet (98ms) ✔ should create 2-to-2 P2PKH transaction on testnet (111ms) #fromMany #Mainnet ✔ should create 2-to-1 P2PKH transaction on mainnet (100ms) ✔ should create 2-to-1 P2PKH transaction on mainnet (104ms) ✔ should create 2-to-1 P2PKH transaction on mainnet (121ms) ✔ should create 2-to-1 P2PKH transaction on mainnet (104ms) ✔ should create 2-to-1 P2PKH transaction on mainnet (115ms) #Testnet ✔ should create 2-to-1 P2PKH transaction on testnet (97ms) ✔ should create 2-to-1 P2PKH transaction on testnet (118ms) ✔ should create 2-to-1 P2PKH transaction on testnet (116ms) ✔ should create 2-to-1 P2PKH transaction on testnet (122ms) ✔ should create 2-to-1 P2PKH transaction on testnet (128ms) #op_return #Mainnet ✔ should create transaction w/ OP_RETURN output on mainnet (67ms) ✔ should create transaction w/ OP_RETURN output on mainnet (65ms) ✔ should create transaction w/ OP_RETURN output on mainnet (61ms) ✔ should create transaction w/ OP_RETURN output on mainnet (62ms) ✔ should create transaction w/ OP_RETURN output on mainnet (58ms) #Testnet ✔ should create transaction w/ OP_RETURN output on testnet (64ms) ✔ should create transaction w/ OP_RETURN output on testnet (76ms) ✔ should create transaction w/ OP_RETURN output on testnet (84ms) ✔ should create transaction w/ OP_RETURN output on testnet (55ms) ✔ should create transaction w/ OP_RETURN output on testnet (65ms) #P2MS #toOne #Mainnet ✔ should create 1-to-1 1-of-2 P2MS transaction on mainnet (157ms) ✔ should create 1-to-1 1-of-2 P2MS transaction on mainnet (130ms) ✔ should create 1-to-1 1-of-2 P2MS transaction on mainnet (134ms) ✔ should create 1-to-1 1-of-2 P2MS transaction on mainnet (128ms) ✔ should create 1-to-1 1-of-2 P2MS transaction on mainnet (122ms) #toMany #Mainnet ✔ should create 1-to-2 P2MS transaction on mainnet (173ms) ✔ should create 1-to-2 P2MS transaction on mainnet (208ms) #manyToMany #Mainnet ✔ should create 2-to-2 P2MS transaction on mainnet (248ms) ✔ should create 2-to-2 P2MS transaction on mainnet (261ms) ✔ should create 2-to-2 P2MS transaction on mainnet (255ms) ✔ should create 2-to-2 P2MS transaction on mainnet (295ms) ✔ should create 2-to-2 P2MS transaction on mainnet (261ms) #fromMany #Mainnet ✔ should create 2-to-1 P2MS transaction on mainnet (207ms) #P2SH #toOne #Mainnet ✔ should create 1-to-1 P2SH transaction on mainnet (83ms) ✔ should create 1-to-1 P2SH transaction on mainnet (78ms) ✔ should create 1-to-1 P2SH transaction on mainnet (87ms) #toMany #Mainnet ✔ should create 1-to-2 P2SH transaction on mainnet (124ms) ✔ should create 1-to-2 P2SH transaction on mainnet (93ms) ✔ should create 1-to-2 P2SH transaction on mainnet (93ms) #manyToMany #Mainnet ✔ should create 2-to-2 P2SH transaction on mainnet (165ms) #fromMany #Mainnet ✔ should create 2-to-1 P2SH transaction on mainnet (120ms) ✔ should create 2-to-1 P2SH transaction on mainnet (137ms) ✔ should create 2-to-1 P2SH transaction on mainnet (113ms) #op_return #Mainnet ✔ should create transaction w/ OP_RETURN output on mainnet (51ms) ✔ should create transaction w/ OP_RETURN output on mainnet (55ms) ✔ should create transaction w/ OP_RETURN output on mainnet (62ms) ✔ should create transaction w/ OP_RETURN output on mainnet (69ms) ✔ should create transaction w/ OP_RETURN output on mainnet (70ms) #Testnet ✔ should create transaction w/ OP_RETURN output on testnet (59ms) ✔ should create transaction w/ OP_RETURN output on testnet (59ms) ✔ should create transaction w/ OP_RETURN output on testnet (56ms) ✔ should create transaction w/ OP_RETURN output on testnet (63ms) ✔ should create transaction w/ OP_RETURN output on testnet (61ms) #bip66 ✔ should bip66 encode as 3044022029db2d5f4e1dcc04e19266cce3cb135865784c62ab653b307f0e0bb744f5c2aa022000a97f5826912cac8b44d9f577a26f169a2f8db781f2ddb7de2bc886e93b6844 ✔ should bip66 encode as 304302201ea1fdff81b3a271659df4aad19bc4ef83def389131a36358fe64b245632e777021f29e164658be9ce810921bf81d6b86694785a79ea1e52dbfa5105148d1f0bc1 ✔ should bip66 encode as 304402201b19519b38ca1e6813cd25649ad36be8bc6a6f2ad9758089c429acd9ce0b572f02203bf32193c8a3a3de1f847cd6e6eebf43c96df1ffa4d7fe920f8f71708920c65f ✔ should bip66 encode as 3044022000c8da1836747d05a6a3d2c395825edce827147d15909e66939a5037d5916e6f022017823c2da62f539d7f8e1e186eaea7a401ab3c077dcfc44aeaf3e13fac99bdbc ✔ should bip66 encode as 3042021e2ff2609c8dc0392d3731a2c6312841e09c76f10b83e2b52604dc84886dd502200090ac80e787c063618192bc04758e6666d0179c377fb2f3d6105d58000f33ac ✔ should bip66 encode as 3041021d00feb1a12c27e5fe261acc64c0923add082573883e0800d8e4080fa9bb02202e7aeb97f4046ea3be60d2896a19c8dc269ab5eb2de968912cd52a076a0a42e9 ✔ should bip66 encode as 3042021d00feb1a12c27e5fe261acc64c0923add082573883e0800d8e4080fa9bb0221008aeb97f4046ea3be60d2896a19c8dc269ab5eb2de968912cd52a076a0a42e925 ✔ should bip66 encode as 303e021d00c1d545da2e4edfbc65e9267d3c0a6fdda41793d0fd945f15acbcf0dd021d009acffda3ca5e7c349c35ba606f0a8f1ec7815b653b51695ca9ee69a6 ✔ should bip66 encode as 3006020100020100 ✔ should bip66 decode 3044022029db2d5f4e1dcc04e19266cce3cb135865784c62ab653b307f0e0bb744f5c2aa022000a97f5826912cac8b44d9f577a26f169a2f8db781f2ddb7de2bc886e93b6844 ✔ should bip66 decode 304302201ea1fdff81b3a271659df4aad19bc4ef83def389131a36358fe64b245632e777021f29e164658be9ce810921bf81d6b86694785a79ea1e52dbfa5105148d1f0bc1 ✔ should bip66 decode 304402201b19519b38ca1e6813cd25649ad36be8bc6a6f2ad9758089c429acd9ce0b572f02203bf32193c8a3a3de1f847cd6e6eebf43c96df1ffa4d7fe920f8f71708920c65f ✔ should bip66 decode 3044022000c8da1836747d05a6a3d2c395825edce827147d15909e66939a5037d5916e6f022017823c2da62f539d7f8e1e186eaea7a401ab3c077dcfc44aeaf3e13fac99bdbc ✔ should bip66 decode 3042021e2ff2609c8dc0392d3731a2c6312841e09c76f10b83e2b52604dc84886dd502200090ac80e787c063618192bc04758e6666d0179c377fb2f3d6105d58000f33ac ✔ should bip66 decode 3041021d00feb1a12c27e5fe261acc64c0923add082573883e0800d8e4080fa9bb02202e7aeb97f4046ea3be60d2896a19c8dc269ab5eb2de968912cd52a076a0a42e9 ✔ should bip66 decode 3042021d00feb1a12c27e5fe261acc64c0923add082573883e0800d8e4080fa9bb0221008aeb97f4046ea3be60d2896a19c8dc269ab5eb2de968912cd52a076a0a42e925 ✔ should bip66 decode 303e021d00c1d545da2e4edfbc65e9267d3c0a6fdda41793d0fd945f15acbcf0dd021d009acffda3ca5e7c349c35ba606f0a8f1ec7815b653b51695ca9ee69a6 ✔ should bip66 decode 3006020100020100 ✔ should bip66 check 3044022029db2d5f4e1dcc04e19266cce3cb135865784c62ab653b307f0e0bb744f5c2aa022000a97f5826912cac8b44d9f577a26f169a2f8db781f2ddb7de2bc886e93b6844 ✔ should bip66 check 304302201ea1fdff81b3a271659df4aad19bc4ef83def389131a36358fe64b245632e777021f29e164658be9ce810921bf81d6b86694785a79ea1e52dbfa5105148d1f0bc1 ✔ should bip66 check 304402201b19519b38ca1e6813cd25649ad36be8bc6a6f2ad9758089c429acd9ce0b572f02203bf32193c8a3a3de1f847cd6e6eebf43c96df1ffa4d7fe920f8f71708920c65f ✔ should bip66 check 3044022000c8da1836747d05a6a3d2c395825edce827147d15909e66939a5037d5916e6f022017823c2da62f539d7f8e1e186eaea7a401ab3c077dcfc44aeaf3e13fac99bdbc ✔ should bip66 check 3042021e2ff2609c8dc0392d3731a2c6312841e09c76f10b83e2b52604dc84886dd502200090ac80e787c063618192bc04758e6666d0179c377fb2f3d6105d58000f33ac ✔ should bip66 check 3041021d00feb1a12c27e5fe261acc64c0923add082573883e0800d8e4080fa9bb02202e7aeb97f4046ea3be60d2896a19c8dc269ab5eb2de968912cd52a076a0a42e9 ✔ should bip66 check 3042021d00feb1a12c27e5fe261acc64c0923add082573883e0800d8e4080fa9bb0221008aeb97f4046ea3be60d2896a19c8dc269ab5eb2de968912cd52a076a0a42e925 ✔ should bip66 check 303e021d00c1d545da2e4edfbc65e9267d3c0a6fdda41793d0fd945f15acbcf0dd021d009acffda3ca5e7c349c35ba606f0a8f1ec7815b653b51695ca9ee69a6 ✔ should bip66 check 3006020100020100 #bip68 ✔ should bip68 encode as 0x00400004 ✔ should bip68 encode as 0x00000036 ✔ should bip68 encode as 0x000000c8 ✔ should bip68 decode 0x03ffffff ✔ should bip68 decode 0x0100fffe #LockTime #Mainnet ✔ should create transaction with nLockTime on mainnet (66ms) ✔ should create transaction with nLockTime on mainnet (62ms) #TransactionLib #get ✔ should proxy psf-slp-indexer #Util #validateAddress ✔ should validate address #floor8 ✔ should floor a number to 8 decimals ✔ should throw an error for non-number input ✔ should not effect a number with less than 8 decimals #floor2 ✔ should round a number to 2 decimals ✔ should throw an error for non-number input ✔ should not effect a number with less than 8 decimals #chunk20 ✔ should split 35 elements into 2 arrays ✔ should return accurately with an array of less than 20 elements ✔ should throw an error for non-array input #utxo #findBiggestUtxo ✔ should throw error for non-array input ✔ should throw an error if input does not have a value or satoshis property ✔ should sort UTXOs from Electrumx #hydrateTokenData ✔ should hydrate token UTXOs Error in hydrateTokenData() ✔ should should catch and throw errors #get ✔ should throw an error if input is not a string ✔ should return UTXO information ✔ should handle an address with no SLP UTXOs #isValid ✔ should return false if getTxOut() returns null ✔ should return true if getTxOut() returns non-null output #getChainAddress ✔ should create external change address bitcoincash:qr2xjcqfmpl8thetzssxm32s2fnpvsfplvm37gh72u #nextChainAddress ✔ should create external change address bitcoincash:qzxuj7cxg4t8vwd2q9ktl354zxga3csgqg7rmxtuv2 ✔ should create external change address bitcoincash:qp9uznqurj0kpu2zd25cg2nth3tht9cj5u9v7wwnyc ✔ should create external change address bitcoincash:qq6g7j7m6sr22rpun5m4jz9v57698nfevc640rhqjm ✔ should create external change address bitcoincash:qzxwx6z6hkr9eu3sekn5cvl7d0p26t42ns6kxn4004 #getChainAddress ✔ should create external change address bitcoincash:qr92mpxs2p4swnn5segxnvx654gj9k5f3udnpmdp6e #nextChainAddress ✔ should create external change address bitcoincash:qqfgdzjzyhzvlfkv6g06pshq8ddm6mdc9q8l4n5d87 ✔ should create external change address bitcoincash:qpnk7c29fst9c339cv2cd2d5qh5t6y6ypu7ma9nysd ✔ should create external change address bitcoincash:qz49d0m0sdvucs9z7gg0p34jzc8qk9qlpc4ggzkc0v ✔ should create external change address bitcoincash:qqap24wa7uu9nskcxfsc2t4mtx6sf5sh6ye43grqne #getChainAddress ✔ should create external change address bitcoincash:qqf38us2wju8n4kakdd9pkm20h4pd7tt3u4tm6wval #nextChainAddress ✔ should create external change address bitcoincash:qp57af8qltwk90kkj8gm60k0m6dkgcuzc57kraaswg ✔ should create external change address bitcoincash:qzxfrmcjkr4l2zdy05ghxcqh2z2jr62n8qpdskq6u9 ✔ should create external change address bitcoincash:qpj5yyzafyek7hw0pawmys0xqkm4pgf2h5u3v0ndpw ✔ should create external change address bitcoincash:qr84wwrp5yvre58qq6mk323y0pmmzmdgxs9vukesmj #getChainAddress ✔ should create external change address bitcoincash:qzzd8g4l4rum2txra2jkw5mqe29e8ac6vsjrkruedp #nextChainAddress ✔ should create external change address bitcoincash:qq0su63j07y7vcts6etld9q3c57jhav4pc867t4927 ✔ should create external change address bitcoincash:qrfxkf0dgqrzwl0dkkt5tde77l758lzepyelpt5qkr ✔ should create external change address bitcoincash:qq2hwe79eugk3fpx7n6f5nfqkeh4eygq7v9ay8dxrf ✔ should create external change address bitcoincash:qprcxg6tkm0hq3773a2v66ue379fdh49mcdgg7fscr #getChainAddress ✔ should create external change address bitcoincash:qqqqwccu8c2j2twsh3qp6wdyfnzdvxa2qqqdqst9eq #nextChainAddress ✔ should create external change address bitcoincash:qr53v0r6djuu0jnpkphtl53kgptvv6x67yt7djky59 ✔ should create external change address bitcoincash:qzm4awn03edhskc6rtzytud35x84njlkls63ur3ffa ✔ should create external change address bitcoincash:qqsyhnfcxv4g4e8sn3xlkx99urrzfqlw7u8y5eukdz ✔ should create external change address bitcoincash:qqrlf0qszjwrrsh0d8cz3anvusu6q37xvynms533gt 2477 passing (1m) -------------------------|---------|----------|---------|---------|--------------------------------- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s -------------------------|---------|----------|---------|---------|--------------------------------- All files | 76.48 | 54.05 | 84.64 | 79.48 | src | 73.89 | 51.65 | 82.55 | 77.29 | address.js | 84.78 | 79.03 | 92.59 | 84.8 | ...,206-215,340,376-388,754,861 bch-js.js | 89.18 | 51.72 | 100 | 89.18 | 45,48,53,61,63,71-73 bitcoincash.js | 72.41 | 50 | 64.7 | 77.35 | 47-184 blockchain.js | 49.05 | 23.14 | 90 | 55.14 | ...-737,749-750,762-763,815-831 control.js | 65 | 10 | 100 | 72.22 | 17,88-89,101-102 crypto.js | 100 | 0 | 100 | 100 | 133 dsproof.js | 90 | 70 | 100 | 94.73 | 14 ecash.js | 100 | 100 | 100 | 100 | ecpair.js | 100 | 88.88 | 100 | 100 | 26 electrumx.js | 91.08 | 76.92 | 100 | 96.77 | 22,470-472 encryption.js | 88.88 | 70 | 100 | 94.11 | 18 generating.js | 71.42 | 28.57 | 100 | 76.92 | 13,38-39 hdnode.js | 88.88 | 78.57 | 87.5 | 87.8 | 39,146-147,606,636 mining.js | 60 | 18.18 | 100 | 70 | 13,38-39,51-52,64-65,77-78 mnemonic.js | 56.8 | 44 | 71.42 | 61.38 | 356-361,369-371,436-514 price.js | 57.5 | 13.63 | 83.33 | 65.71 | 15,77-78,120-121,159-195 psf-slp-indexer.js | 93.33 | 84.78 | 100 | 94.2 | 26,533-537 raw-transactions.js | 52.38 | 27.63 | 100 | 56.38 | ...,348,350,419,421,468,478-496 schnorr.js | 29.16 | 50 | 5.88 | 29.16 | 11,50-508 script.js | 100 | 100 | 100 | 100 | transaction-builder.js | 75.75 | 77.77 | 70 | 76.66 | 54-64 transaction.js | 71.42 | 0 | 66.66 | 71.42 | 71-75 util.js | 60.65 | 44.44 | 62.5 | 61.4 | 13,180-224,283-303 utxo.js | 94.85 | 81.03 | 100 | 95.2 | 110,157,167-168,415-416 src/slp | 87.94 | 70 | 100 | 88.85 | address.js | 96.15 | 83.33 | 100 | 95.83 | 59,105 ecpair.js | 100 | 100 | 100 | 100 | nft1.js | 84.41 | 68 | 100 | 84.05 | ...,163,236-237,327-328,418-419 slp.js | 94.11 | 50 | 100 | 94.11 | 27 tokentype1.js | 87.06 | 72.97 | 100 | 88.18 | ...-248,296,321-322,379,480-481 utils.js | 82.5 | 62.5 | 100 | 86.84 | 22,96-101 -------------------------|---------|----------|---------|---------|---------------------------------