这是一个web3钱包操作工具
with sync_playwright() as playwright:
browser = playwright.chromium.connect_over_cdp("http://localhost:9222")
default_context = browser.contexts[0]
page = default_context.new_page()
wallet = WalletTool(page, 'wallet password')
wallet.okx_login_web()
$ pip install wallet_tool