コード例 #1
0
 def test_mainnet_change_addresses(self):
     addresses = (
         'elcash1q0k6tf278s7cupegf5pc58jl6p684mfganhwklh',
         'elcash1qn4pqr37s7kt7465m0pwvkqtnqet5dnlche7h32',
         'elcash1qn8cx9vnc3e65xtf6ldclgzfc7x3t90g6p2wh6x',
         'elcash1qtw7q8z4f0wcp2h8tmtlz5t0kml0waxxzfcgvmf',
         'elcash1qzrhh8hlfmnrl0a0fq6wwf5wew2kmw0wujg98v6',
         'elcash1q9w3gxkp5xecqu4srwwww2lelydm989u7c08tnk',
         'elcash1q7y042vm8hldqvg5yhh8hjzz44kpjyfw99evxks',
         'elcash1qz5tmwd2q8slkyg0me6h3kp2l0e6fn2l8nykkdu',
         'elcash1qzydzf5sfptuvt64aq5ux0lmg5qctjrgpa6hwm8',
         'elcash1qvlwu64jxs7f37ccrp6u8hq7uzeghvy5kze704h',
     )
     set_elcash_mainnet()
     key_store = _get_keystore(SeedType.SEGWIT, is_p2sh=False)
     self._test_addresses(
         key_store=key_store,
         addresses=addresses,
         is_change_address=True,
     )
コード例 #2
0
 def test_mainnet_receive_addresses(self):
     addresses = (
         'elcash1qv9cks2mwhcmfyskqyf88l7h4xd2xsv5td8jkjm',
         'elcash1qr39yrr0sy2jzglsjh8unpur0j5t252k8fkvtl0',
         'elcash1qdw722dd9w0uwtj40frpvasjchnz76nqhwha9jq',
         'elcash1qz80yf3u7re8f8c82ccaztsmm0jr0yx539wd47t',
         'elcash1q5mjgr3cse050rx5srgrcxkudf8jchtpd4pygs2',
         'elcash1q9lpu9x3m595cntperxwy7u68u3v9wt5m06zgz8',
         'elcash1qmnz3ah3vu8t222ll2kd603n9nhurpusmg82xyv',
         'elcash1qja3qe7hegq5vcgl5epq2s9azlj9s9p6kzxwjvu',
         'elcash1q6vt8xxaufyzwwmyy0st85qmr7x4q5a6dv5eumg',
         'elcash1qn85zgqy5d4qcfnvecrvd6ly9pgupzlsvu7q4n9',
     )
     set_elcash_mainnet()
     key_store = _get_keystore(SeedType.SEGWIT, is_p2sh=False)
     self._test_addresses(
         key_store=key_store,
         addresses=addresses,
         is_change_address=False,
     )
コード例 #3
0
 def test_mainnet_change_addresses(self):
     addresses = (
         'EM84nENm8ehWsTpCJwf9o8CvgDWF93PYvX',
         'EXCjRxwwx33EQt3H9VAbLjPPuAw4bs5NHj',
         'EeV2Co5prxfKQD5mQBZPGMoSrLL5UfjFpQ',
         'ENRumcn5u1Xrwe8ZNpNGYd6uQqxhBvraCq',
         'EcoJJjiywyeGdHMtmqY9A9KJcVrYuip7Tg',
         'Ebog9kF9joFgTstmTKvCtiSF3dYLrCZ8LW',
         'EZhzR3YX4KQttJXPXUELhWC3U16FbNjAUA',
         'EQQmqqAgXEoCNC9wVXq2eRvctHL549xTCX',
         'ETxZYdntwTyqq6TZDRRns8VUD4ZpPfTfBq',
         'EX8dp87cz3gvaxGHszjt9YcAvmjdQxWxaM',
     )
     set_elcash_mainnet()
     key_store = _get_keystore(SeedType.LEGACY, is_p2sh=False)
     self._test_addresses(
         key_store=key_store,
         addresses=addresses,
         is_change_address=True,
     )
コード例 #4
0
 def test_mainnet_receive_addresses(self):
     addresses = (
         'Ecy37k7NCLa6VMnkjSis83kn8HQfYp7yBC',
         'EU7biMsnwdvpjkSwvFBv25UWqAgSZ9TiQV',
         'EXvVM8QrEBvHrHMUVncpFdZsaPQ4qEJre4',
         'ESuWp3Vwk5UYAKZkdG2aM11uKVppkZNyMA',
         'ELLiHeDEqb72wCsibuNk1xmgBkSwxnLsWm',
         'ENwQ1nsuGHEHrfPiYwsSqfojoBYgv2NZTh',
         'EYTe9nnB9xZV475PWQhxu6JGobHFk6JkEt',
         'EJuZXpffq7Cz1dT24erE2EWhGhsuLxz1XV',
         'EUaikScXUw9mujwEbFYqeJBJznkS3k1QMi',
         'EbWqcbELSBQv9pZ3J8PskDcnWkuKqWa5tx',
     )
     set_elcash_mainnet()
     key_store = _get_keystore(SeedType.LEGACY, is_p2sh=False)
     self._test_addresses(
         key_store=key_store,
         addresses=addresses,
         is_change_address=False,
     )
コード例 #5
0
 def test_mainnet_change_addresses(self):
     addresses = (
         'elcash1qzhd37etus2mh62s0wkasxl0zwmnrjcm65hgkcq2zj7a349jeassq9d6fdk',
         'elcash1q9fhpegvqsj0scd92ep62wueckz5deenjxujyrm8sdz2w5hq5hcuq2mzh0a',
         'elcash1qm6cxq0lyyvnyvnklp9e42hj8htmgkx6g3hv3v2g29y0zs7sl64ksjt2fp0',
         'elcash1q2c7quy3wmzcle0q4qjmz6mjhgahck0ktqtchn89d2edxff264yxqm7dzyp',
         'elcash1q7nes7dr02yldq788h7yvrp8ska95ff2k5s375afdklgxw2htr39qh0c2y8',
         'elcash1qgcyqxqnx9u090jaxnwmanecf0rhz54rsncqj2tmh84eekekaq8gqm5u0mx',
         'elcash1qx8etau3njvdcqj6wd8lfx2az8z0gamqnfetrvvq6zcyl460ypj4smzjmdu',
         'elcash1qhee5uwyvw0g2nxww5y8v8pgx0swkrd300nkxmv2pf2sqesnghxmqkcxzej',
         'elcash1qj7qvw0yxx8ylerms56pmc759e6w88dknc5fjq3tazcvecxc7qekqchp7wu',
         'elcash1qgkcu9qrx9pw82kf3j2rypmaplyh9uptx8nkdwnh8rhwlklje4vasf2vek7',
     )
     set_elcash_mainnet()
     seed_type = SeedType.SEGWIT
     key_stores = [
         _get_keystore(seed_type, is_p2sh=True),
         _get_cosigner_keystore(seed_type)
     ]
     self._test_addresses(
         key_store=key_stores,
         addresses=addresses,
         is_change_address=True,
     )
コード例 #6
0
 def test_mainnet_receive_addresses(self):
     addresses = (
         'elcash1q0d64evf6jyu0vkjns22t6e69hu75qxvu84ahcn2auv9axgfxm3xq46g33t',
         'elcash1qjrhwl3zhxyp56zjv0zzmcgx474vq3rvm5muvsu70ylyvegn27mls2mpqyy',
         'elcash1qlst770ldhecv5l87np4g32cg0kc2estxu2f8c3v3dxvsx8sl0tlquvk3xq',
         'elcash1qjl8hk8erl3ukx79x9gv0wjyk46tz0302x0g3kfefjck7a9slgrlq7nwypc',
         'elcash1qs5ewg9mh3wlqac7gyekv5p64g6m6uu3pd3xquku76v927xx2l5eszwp756',
         'elcash1qc8w79563srjpf966xpwhf2r6sr7jqq3c8s2kt2tcg0rr04rncdmq2tvu0r',
         'elcash1qnnhgtxza5jrd9rtwllg6c946jhsk3sms3r7cmsaelzejqx20p7zqr5nxvv',
         'elcash1qm6yneet4f3ddh4l3n6suflxys9lr536l44mq308p62zlur53hguqdyuqfa',
         'elcash1qxx8jwl0lq0zwn64g43v94phah3aav90rx5kj8e8nnuvwtecm6pzsxw5h87',
         'elcash1qzht4caw6lq8jv55vaacwz27t0jhuxyw5hgh2fzzhnmay4zp3njvqej5rmd',
     )
     set_elcash_mainnet()
     seed_type = SeedType.SEGWIT
     key_stores = [
         _get_keystore(seed_type, is_p2sh=True),
         _get_cosigner_keystore(seed_type)
     ]
     self._test_addresses(
         key_store=key_stores,
         addresses=addresses,
         is_change_address=False,
     )
コード例 #7
0
 def test_mainnet_change_addresses(self):
     addresses = (
         'c4WcR8goTZKCim1fMjLFN3Y8qdBxzK1P3U',
         'c3622kbGYpDiFoQHZfyvo3GbzgPUbC1Wiy',
         'cBbEN2jDbhP8JWU6vQWVsiDJoVCnj5Ndnp',
         'c5UpWCFiEUHWMmDU8PYA6fqHQBjBw6ToeA',
         'c8DWGsutGBauNbHX17wWeiiMPsSVxwjPcA',
         'cAwH7gAPVR6xL4uZBPqZUvambXKcZnradf',
         'c5nT15R6Wka5hHAMind5krmg9dhruBCXX5',
         'cEXATR8t1G1PXZ9uAewvehChK96RBDKkHK',
         'cEUBfEHZBxZ69v9m2LXEQUAKepC4hQVQzq',
         'cGdQ81uTotqc7o6Q7CTijH8fdGFWLZZFdt',
     )
     set_elcash_mainnet()
     seed_type = SeedType.LEGACY
     key_stores = [
         _get_keystore(seed_type, is_p2sh=True),
         _get_cosigner_keystore(seed_type)
     ]
     self._test_addresses(
         key_store=key_stores,
         addresses=addresses,
         is_change_address=True,
     )
コード例 #8
0
 def test_mainnet_receive_addresses(self):
     addresses = (
         'c56ke3eRGQ6eqnwn2aA7fwX2oKCdAm8QYp',
         'c6hwpnhBsRJUDD2qN1Fn63pVygq4AY5TXN',
         'cEik97HnE6Mc1LtnueXUSQdJwGqNGUes6R',
         'c2fTAqJ1G4WA8XekWf2HnvKhcJj6q51dz6',
         'cGihk5h1Yx7jr2GKT9GYHXAf2cHDCjg5Yp',
         'cC2a2M7HAMeKb7Gyqat4JJdNkQqhwBh9DX',
         'cC25vDCtCiAAoGgUxwHfYdL7oTffRgpU6Z',
         'cCLZ19AkpkfjC9xCjb9n3ZisQ5DpLcisnY',
         'cCvZhL3wWTmTNpz6PJZndEF15LwTgJ13Wp',
         'cKKuu4YiM43551gwbTBk4sGz9k8Vx43eVQ',
     )
     set_elcash_mainnet()
     seed_type = SeedType.LEGACY
     key_stores = [
         _get_keystore(seed_type, is_p2sh=True),
         _get_cosigner_keystore(seed_type)
     ]
     self._test_addresses(
         key_store=key_stores,
         addresses=addresses,
         is_change_address=False,
     )