This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

BGWallet.connect() disconnect() switchNetwork(net) autoReconnect()

Developer Tools · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryDeveloper Tools
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

This tool scans any webpage to detect and catalog all wallet connection state elements. It identifies connect buttons, disconnect buttons, network selectors/display elements, account/address displays, and wallet status indicators. For each element found, it displays the detected function (connect, disconnect, switchNetwork, networkDisplay, accountDisplay, status), the element selector, text content or context, and the current interaction state (connected, disconnected, ready, loading, address display, network name). The panel shows an overall wallet connection status at the top—indicating whether the wallet appears connected or disconnected, the current network name, and the connected account address (truncated for display). All detected elements are grouped by function for easy navigation. A powerful search filter lets you find connection elements by function, state, text, or element selector. You can copy account addresses or network names to your clipboard with one click. The inspector mode lets you click any wallet connection element on the page to see its detected function, current state, selector, context, and any extracted address or network metadata in a detailed alert dialog. The tool persists connection state detection across page navigation, helping you track wallet state changes as you browse.

WHERE IT RUNS

The script runs on every website and web application you visit. It works with all blockchain and cryptocurrency sites including dApps, DeFi platforms, NFT marketplaces, exchange interfaces, blockchain explorers, and wallet dashboards. It works regardless of framework—React, Vue, Angular, Svelte, or plain HTML—and captures connection elements rendered server-side or client-side.

HOW TO USE

Upon installation, a floating panel appears with the tool interface. The panel shows the overall wallet connection status at the top: a colored status indicator (green for connected, red for disconnected) with the network name and connected account address (truncated). Click "Scan" to analyze the current page for all wallet connection elements. Use the search box to filter results by function (connect, disconnect, networkDisplay, etc.), state, text content, or element selector. Notice that results are grouped by function with headers showing the group name and count. Each entry shows a function badge, state badge, context preview, and element selector. Hover over any entry to highlight that element on the page with a colored outline matching its function. If an entry contains an address, click "Address" to copy it to your clipboard. If an entry contains a network name, click "Network" to copy it. Click "Inspect" to enter inspector mode, then click any wallet connection element on the page to see a detailed report including its function, state, selector, context, extracted address, and network name. Click "Inspect" again or press Escape to exit inspector mode.

TECHNICAL MECHANISM: WALLET CONNECTION UI DETECTION AND STATE EXTRACTION

This tool uses a multi-strategy approach to detect wallet connection elements. It scans all DOM elements for wallet-related text patterns including "connect", "disconnect", "wallet", "network", "account", "address", and common wallet provider names. For each qualifying element, it classifies the function using keyword matching against six functional categories (connect, disconnect, switchNetwork, networkDisplay, accountDisplay, status). The state is extracted by analyzing text content for connection indicators ("connected", "disconnected"), network names (Ethereum, Mainnet, Goerli, Sepolia, Polygon, Arbitrum, Optimism, Base, Avalanche, BNB, Solana, Bitcoin), and address patterns (0x + 40 or 64 hex chars). The overall wallet status is synthesized by aggregating detected status indicators, network displays, and account displays. The grouping by function provides clear organization of different wallet UI components. Address and network extraction uses regex matching with validation to ensure accurate metadata capture. The detection process completes in a single pass, providing near-instant results.

THE PANEL

The panel is fully draggable and remembers its position per website using GM_setValue. It automatically snaps to the nearest screen edge when released for a clean workspace. Click the collapse button to minimize it to a small floating bubble that takes minimal space. Click the bubble to expand the panel back. The panel can be resized by dragging any edge or corner. Press the Escape key to close the panel temporarily, and click the extension icon to reopen it.

PLEASE NOTE

This script requires the free BotGentz extension to function. As websites frequently update their structure, wallet integration patterns, and UI conventions, scripts may need occasional updates to maintain compatibility. All data processing happens locally in your browser—no information about your pages, wallet connections, addresses, or browsing habits is ever transmitted or stored externally. The tool accesses page content solely for the purpose of connection state detection and analysis, and does not modify or persist any page data. Connection state detection is heuristic-based and may not work perfectly on all sites; results should be verified against the actual wallet state. This tool is designed for debugging and development purposes only.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.