def test_testnet_receive_addresses(self): addresses = ( 'telcash1qv9cks2mwhcmfyskqyf88l7h4xd2xsv5tajlh4p', 'telcash1qr39yrr0sy2jzglsjh8unpur0j5t252k8erp2c4', 'telcash1qdw722dd9w0uwtj40frpvasjchnz76nqh7zsy46', 'telcash1qz80yf3u7re8f8c82ccaztsmm0jr0yx534mq5e3', 'telcash1q5mjgr3cse050rx5srgrcxkudf8jchtpd95ffhs', 'telcash1q9lpu9x3m595cntperxwy7u68u3v9wt5ml00f9a', 'telcash1qmnz3ah3vu8t222ll2kd603n9nhurpusmcj88rk', 'telcash1qja3qe7hegq5vcgl5epq2s9azlj9s9p6kjnrntx', 'telcash1q6vt8xxaufyzwwmyy0st85qmr7x4q5a6dup5auj', 'telcash1qn85zgqy5d4qcfnvecrvd6ly9pgupzlsvvtd55l', ) set_elcash_testnet() key_store = _get_keystore(SeedType.SEGWIT, is_p2sh=False) self._test_addresses( key_store=key_store, addresses=addresses, is_change_address=False, )
def test_testnet_change_addresses(self): addresses = ( 'telcash1q0k6tf278s7cupegf5pc58jl6p684mfgarzrhcd', 'telcash1qn4pqr37s7kt7465m0pwvkqtnqet5dnlc8vnkks', 'telcash1qn8cx9vnc3e65xtf6ldclgzfc7x3t90g63lrkau', 'telcash1qtw7q8z4f0wcp2h8tmtlz5t0kml0waxxzed9dun', 'telcash1qzrhh8hlfmnrl0a0fq6wwf5wew2kmw0wuzagxtq', 'telcash1q9w3gxkp5xecqu4srwwww2lelydm989u7g6225v', 'telcash1q7y042vm8hldqvg5yhh8hjzz44kpjyfw94vp832', 'telcash1qz5tmwd2q8slkyg0me6h3kp2l0e6fn2l8r3mh2x', 'telcash1qzydzf5sfptuvt64aq5ux0lmg5qctjrgpd060ua', 'telcash1qvlwu64jxs7f37ccrp6u8hq7uzeghvy5kjvnwjd', ) set_elcash_testnet() key_store = _get_keystore(SeedType.SEGWIT, is_p2sh=False) self._test_addresses( key_store=key_store, addresses=addresses, is_change_address=True, )
def test_testnet_change_addresses(self): addresses = ( 'TDwNHhuyrRXZ3LGy6NKMK8v6pMkRtbtjiy', 'TQ22wSVAfosGakW3vupnrk6a3KBFMm4ugt', 'TXJKiGd3ajVMa5YYBcDanNWczUaGCA9S8R', 'TFFDH6KJcnMu7WbLAF2U4dp5YzCsstpZS4', 'TVcbpDGCfkUJo9pfZGCLgA2Uke6jiyFiwn', 'TUcyfDnNTa5idkMYEkaQQj9RBmnXbfFqGo', 'TSXHvX5jn6Ew4AzAJttYDWuDc9LSMaFinp', 'THE5MJhuF1dEY4ciGxVEASdo2RaFrVw4XG', 'TLms47L7fEoszxvKzr5zP9CeMCp1AXkydL', 'TPwwKbeqhpWxkpj4fRQ5fZKM4uypAsFDSz', ) set_elcash_testnet() key_store = _get_keystore(SeedType.LEGACY, is_p2sh=False) self._test_addresses( key_store=key_store, addresses=addresses, is_change_address=True, )
def test_testnet_receive_addresses(self): addresses = ( 'TVnLdDeav7Q8fEFXWsP4e4TxGRerFtESJb', 'TLvuDqR1fQkrucuihfr7Y6BgyJvdJXap2o', 'TQjnrbx4wxkL29pFHDH1meH3iXeFYPvm2P', 'TKipKX3ATrJaLC2XQggms1j5Te51TKUGMi', 'TDA1o7kTZMw575LVPL2wXyUrKth8hihND9', 'TFkhXGR7z44L2XrVLNXeMgWuwKnsfnHuSk', 'TRGwfGKPsjPXDyYAHqNAR71SwjXSTn8HnN', 'TBis3JCtYt32BVunr5WRYFDsQr866Z8Czf', 'TMQ2Fv9kChyp5cQ1NgD3AJtV8vzcpcKJgm', 'TUL984mZ9xExKh1p5Z45GEKxeu9WZ1gZNR', ) set_elcash_testnet() key_store = _get_keystore(SeedType.LEGACY, is_p2sh=False) self._test_addresses( key_store=key_store, addresses=addresses, is_change_address=False, )
def test_testnet_change_addresses(self): addresses = ( 'telcash1qzhd37etus2mh62s0wkasxl0zwmnrjcm65hgkcq2zj7a349jeassq7zrep0', 'telcash1q9fhpegvqsj0scd92ep62wueckz5deenjxujyrm8sdz2w5hq5hcuq35m8ry', 'telcash1qm6cxq0lyyvnyvnklp9e42hj8htmgkx6g3hv3v2g29y0zs7sl64ksfynedk', 'telcash1q2c7quy3wmzcle0q4qjmz6mjhgahck0ktqtchn89d2edxff264yxqq35jgc', 'telcash1q7nes7dr02yldq788h7yvrp8ska95ff2k5s375afdklgxw2htr39qvqp6g7', 'telcash1qgcyqxqnx9u090jaxnwmanecf0rhz54rsncqj2tmh84eekekaq8gqqm9lhl', 'telcash1qx8etau3njvdcqj6wd8lfx2az8z0gamqnfetrvvq6zcyl460ypj4sqdttp9', 'telcash1qhee5uwyvw0g2nxww5y8v8pgx0swkrd300nkxmv2pf2sqesnghxmqdhlj4t', 'telcash1qj7qvw0yxx8ylerms56pmc759e6w88dknc5fjq3tazcvecxc7qekqrccwz9', 'telcash1qgkcu9qrx9pw82kf3j2rypmaplyh9uptx8nkdwnh8rhwlklje4vasj94f68', ) set_elcash_testnet() 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, )
def test_testnet_receive_addresses(self): addresses = ( 'telcash1q0d64evf6jyu0vkjns22t6e69hu75qxvu84ahcn2auv9axgfxm3xqw43paj', 'telcash1qjrhwl3zhxyp56zjv0zzmcgx474vq3rvm5muvsu70ylyvegn27mls35csga', 'telcash1qlst770ldhecv5l87np4g32cg0kc2estxu2f8c3v3dxvsx8sl0tlq8r0p2e', 'telcash1qjl8hk8erl3ukx79x9gv0wjyk46tz0302x0g3kfefjck7a9slgrlq9uh5dp', 'telcash1qs5ewg9mh3wlqac7gyekv5p64g6m6uu3pd3xquku76v927xx2l5esepcwcr', 'telcash1qc8w79563srjpf966xpwhf2r6sr7jqq3c8s2kt2tcg0rr04rncdmq3y4vr6', 'telcash1qnnhgtxza5jrd9rtwllg6c946jhsk3sms3r7cmsaelzejqx20p7zqcm2kq4', 'telcash1qm6yneet4f3ddh4l3n6suflxys9lr536l44mq308p62zlur53hguqkt9s9y', 'telcash1qxx8jwl0lq0zwn64g43v94phah3aav90rx5kj8e8nnuvwtecm6pzsapd8t8', 'telcash1qzht4caw6lq8jv55vaacwz27t0jhuxyw5hgh2fzzhnmay4zp3njvqzadnh5', ) set_elcash_testnet() 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, )
def test_testnet_change_addresses(self): addresses = ( 'e5CdLgBF1Tdaovi6Upzqnfu4z9UgYP5dCi', 'e3n2xJ5i6iY6Ly6igmeXDfdY9CgC9cNkKt', 'eCHFHaDf9bhWPgAY3WB6JLaEx1VWGyUbD5', 'e6AqRjk9nNbtSvuuFVCkXJCDYi1uWEJrP5', 'e8uXCRQKp5uHTkyx8Dc75M5HYPjDZNHqMw', 'eBdJ3Deq3KRLREbzJVW9uYwhk3cL6UD48S', 'e6UTvcuY4etTnSrnqtHgBV8cJ9zaYFgDkz', 'eFDBNxdKZAKmcirLHkcX5KZdTfP8iNo6iq', 'eFACammzjrsUF5rC9SBpq6XFoLUnHwWXdo', 'eHKR3ZPuMo9zCxnqEJ8K9uVbmnYDyCjrdq', ) set_elcash_testnet() 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, )
def test_testnet_receive_addresses(self): addresses = ( 'e5nmZb8rpJR2vxeD9fpi6ZsxwqVLiqHv6W', 'e7PxkLBdRKcrJNjGV6vNWgBS8D7mmoHhYa', 'eFQm4enDmzfz6WbE2kC4s2zF5o85k7FB7H', 'e3MU6NnSoxpYDhMBdkgtDYgdkq1pMYYrKJ', 'eHQifdBT6rS7wBxkaEw8i9XbB8ZvjX3VGn', 'eCiawtbiiFxhgGyQxgYeivzJtw8RRAgz6W', 'eCi6qkhKkcUYtSNv62xFyFh3wyxP1nTAtr', 'eD2ZvgfCNez7HKedrgpNUC5oYbWXtJ5fZp', 'eDcacsYP4N5qTzgXWQEP3rbwDsEBF9kRN3', 'eL1vpc39txMTABPNiYrLVVdvJGRDU5i9fH', ) set_elcash_testnet() 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, )
def test_change_pubkeys(self): set_elcash_testnet() key_store = _get_keystore(SeedType.SEGWIT, is_p2sh=True) self._test_change_pubkeys(key_store)
def test_derivation_path(self): set_elcash_testnet() key_store = _get_keystore(SeedType.SEGWIT, is_p2sh=True) self.assertEqual(key_store.get_derivation_prefix(), "m/48'/2137'/0'/2'")
def test_receive_pubkeys(self): set_elcash_testnet() key_store = _get_keystore(SeedType.LEGACY, is_p2sh=True) self._test_receive_pubkeys(key_store)
def test_receive_pubkeys(self): set_elcash_testnet() key_store = _get_keystore(SeedType.SEGWIT, is_p2sh=False) self._test_receive_pubkeys(key_store)
def test_change_pubkeys(self): set_elcash_testnet() key_store = _get_keystore(SeedType.LEGACY, is_p2sh=False) self._test_change_pubkeys(key_store)
def test_derivation_path(self): set_elcash_testnet() key_store = _get_keystore(SeedType.LEGACY, is_p2sh=False) self.assertEqual(key_store.get_derivation_prefix(), "m/44'/2137'/0'")