系统:win10及以上操作系统
语言:python
全自动打开钱包,随机选取12/24助记词,并进行验证,查询助记词钱包里面的余额
自动化操作,挂机即可。
一、代码维护2048个助记词
seed_words_test = {1:'illegal',
2:'drip',
3:'eager',
4:'hover',
5:'laundry',
6:'all',
7:'able',
8:'tragic',
9:'wish',
10:'claim',
11:'radio',
12:'monster',
13:'step',
14:'baby',
15:'coral',
16:'list',
17:'voice',
18:'ostrich',
19:'easy',
20:'hamster',
21:'damp',
22:'control',
23:'mountain',
24:'surface',
25:'yellow',
26:'urban',
27:'forward',
28:'middle',
29:'wrist',
30:'invest',
31:'mutual',
32:'purpose',
33:'market',
34:'spatial',
35:'secret',
36:'pave',
37:'satisfy',
38:'achieve',
39:'direct',
40:'organ',
41:'grace',
42:'memory',
43:'trumpet',
44:'way',
45:'fuel',
46:'mimic',
47:'say',
48:'zero',
49:'salmon',
50:'green',
51:'dice',
52:'jazz',
53:'web',
54:'pigeon',
55:'fiction',
56:'source',
57:'dune',
58:'bachelor',
59:'glare',
60:'horn',
61:'push',
62:'hawk',
63:'tongue',
64:'fault',
65:'educate',
66:'include',
67:'quote',
68:'infant',
69:'tomorrow',
70:'imitate',
71:'icon',
72:'violin',
73:'toast',
74:'swim',
75:'sting',
76:'target',
77:'own',
78:'range',
79:'toe',
80:'fly',
81:'mule',
82:'afraid',
83:'tired',
84:'hold',
85:'execute',
86:'satoshi',
87:'enter',
88:'east',
89:'dumb',
90:'safe',
91:'effort',
92:'insane',
93:'dose',
94:'fiber',
95:'shoot',
96:'reason',
97:'canal',
98:'pond',
99:'delay',
100:'leopard',
101:'agent',
102:'group',
103:'fold',
104:'issue',
105:'oak',
106:'click',
107:'crime',
108:'family',
109:'develop',
110:'smooth',
111:'cement',
112:'blame',
113:'beef',
114:'remember',
115:'final',
116:'neutral',
117:'disease',
118:'bus',
119:'hope',
120:'crisp',
121:'walnut',
122:'erode',
123:'poem',
124:'notable',
125:'casino',
126:'uncle',
127:'oven',
128:'boy',
129:'music',
130:'reject',.....}
二、随机选取12/24个助记词
random_selection = random.choices(arr, k=12)
三、抓取余额记录到本地
elem = WebDriverWait(driver, 20).until(EC.visibility_of_element_located((By.XPATH, '/html/body/div[1]/div/div[4]/div/div[1]/div/div[2]/div/div[1]/div/div/div/div/div/span[1]/span[2]')))
usd1 = elem.text.split()
print("$",usd1)
logging.basicConfig(filename=log_file_path, level=logging.INFO)
# 在控制台输出和写入日志文件
logging.info(f'TokenPocket" :{s} "$":{usd1}')
实际运行视频:
<iframe allowfullscreen="true" data-mediaembed="bilibili" frameborder="0" id="JLg1sOV7-1737028406088" src="https://player.bilibili.com/player.html?aid=113831128866695"></iframe>Bybit
标签:24,12,私钥,助记,Bybit,usd1,logging,div From: https://blog.csdn.net/2401_89002108/article/details/145190770