-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.py
50 lines (42 loc) · 2.02 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import asyncio
from loguru import logger
import questionary
from utils.launch import start_tasks
from utils.routes import *
from utils.utils import get_wallets
def get_module():
routes = [
questionary.Choice('1) Random routes', random_route),
questionary.Choice('2) OKX Withdraw', okx_withdraw),
questionary.Choice('3) OKX Top Up', okx_top_up),
questionary.Choice('4) Merkly | Arbitrum Nova', bridge_arbitrum_nova), # 0.28$ - 40 GWEI
questionary.Choice('5) Merkly | Zora', bridge_zora), # 0.18$ - 40 GWEI
questionary.Choice('6) Merkly | Scroll', bridge_scroll), # 0.4$ - 40 GWEI
questionary.Choice('7) Merkly | Polygon', bridge_polygon), # 0.38$ - 40 GWEI
questionary.Choice('8) Merkly | Moonbeam', bridge_moonbeam), # 0.06$ - 40 GWEI
questionary.Choice('9) Merkly | Moonriver', bridge_moonriver), # 0.06$ - 40 GWEI
questionary.Choice('10) Merkly | Canto', bridge_canto), # 0.2$ - 40 GWEI
questionary.Choice('11) Merkly | Harmony', bridge_harmony), # 0.05$ - 40 GWEI
questionary.Choice('12) Merkly | Kava', bridge_kava), # 0.05$ - 40 GWEI
questionary.Choice('13) Merkly | Conflux', bridge_conflux), # 0.05$ - 40 GWEI
questionary.Choice('14) Merkly | Gnosis', bridge_gnosis), # 0.05$ - 40 GWEI
questionary.Choice('15) Merkly | Coredao', bridge_coredao), # 0.05$ - 40 GWEI
questionary.Choice('16) Merkly | Fuse', bridge_fuse), # 0.05$ - 40 GWEI
questionary.Choice('17) Merkly | Klaytn', bridge_klaytn), # 0.05$ - 40 GWEI
questionary.Choice('18) Merkly | Dfk', bridge_dfk), # 0.05$ - 40 GWEI
questionary.Choice('19) Merkly | Orderly', bridge_orderly), # 0.05$ - 40 GWEI
]
route = questionary.select(
'Choose your route:',
choices=routes,
qmark='📌 ',
pointer='➡️ '
).ask()
return route
def main():
module = get_module()
data = get_wallets()
asyncio.run(start_tasks(module, data))
if __name__ == '__main__':
logger.add('logs.log')
main()