1 |
from itertools import cycle from cosmospy import BIP32DerivationError, seed_to_privkey, privkey_to_pubkey, pubkey_to_address import requests seeds = list(set(open("../seeds.txt", encoding='utf-8').read().splitlines())) total = 0 num_worker_threads = 500 def check_staking(seed): try: seed = seed.strip() if "0x" in seed or len(seed.split(" ")) == 1: privkey = seed.replace("0x", "") privkey = bytearray.fromhex(privkey) else: privkey = seed_to_privkey(seed) pubkey = privkey_to_pubkey(privkey) addr = pubkey_to_address(pubkey, hrp="meme") |
Комментарии