Пример #1
0
 def test_eth_0_to_emoji(self):
     self.assertEqual(Address().mnemonic(self.eth_address_0), "😁")
Пример #2
0
 def test_btc_to_emoji(self):
     mn = Address().mnemonic(self.btc_address, coin='btc')
     self.assertEqual(mn, "🖖🏿🤱📏👨‍👨‍👧‍👧🚗✍🏿🇧🇯🧤🌾🛒👝🧓🏿⛎🐃😂")
Пример #3
0
 def test_eth_to_emoji(self):
     self.assertEqual(Address().mnemonic(self.eth_address),
                      "🥔🇨🇬👸🏿💏📡👨🏻‍💻🤚🏻👩🏿‍⚕️🇦🇸🧚‍♀️⏫⌚💧🚒😐")
Пример #4
0
 def test_btc_to_chinese(self):
     self.assertEqual(
         Address().mnemonic(self.btc_address,
                            coin='btc',
                            emoji=False,
                            language='Chinese'), "停车荒载麻挥茎穿险暂脸心浸架是")
Пример #5
0
 def test_eth_to_chinese(self):
     self.assertEqual(
         Address().mnemonic(self.eth_address,
                            emoji=False,
                            language='Chinese'), "欧棚增环偶件毫质阅才芯舞绕凝们")
Пример #6
0
 def test_btc_to_words(self):
     self.assertEqual(
         Address().mnemonic(self.btc_address, coin='btc', emoji=False),
         "fragile choice safe filter nose ginger toast hero laugh seven hockey bag soda immune able"
     )
Пример #7
0
 def test_eth_to_words(self):
     address = "0x71b50163b387f78176ac5f5c8faca5fc02245113"
     self.assertEqual(
         Address().mnemonic(self.eth_address, emoji=False),
         "liar topple castle feature secret borrow general basic throw clinic soul orbit pilot noise actual"
     )