Approval Reset After Trade Tool
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Approval Reset After Trade Tool is a critical security extension that automatically revokes wallet approvals immediately after trades are completed. When you trade NFTs or tokens on supported marketplaces and DEXs, the tool monitors for completed transactions and checks whether the trade used an approval that granted elevated permissions—particularly unlimited approvals (approve with max uint256) or approvals significantly above the trade amount. The panel displays the current approval state, identifies any risky approvals, and offers one-click reset options to revoke the approval back to zero using approve(0) for ERC-20 tokens or setApprovalForAll(false) for ERC-721/ERC-1155 NFTs. Users can also reset approvals to a minimum amount (1 wei) or a custom specified amount. The tool tracks which approvals were used in which trades and maintains a complete history of active approvals and resets. All reset actions require user confirmation before execution to prevent unintended disruptions to active trading sessions.
WHERE IT RUNS
This overlay operates on major NFT marketplaces (OpenSea, LooksRare, Blur, Rarible) and DEXs (Uniswap, 1inch). It works in any browser that supports the BotGentz extension framework and has an EVM-compatible wallet extension installed. The panel automatically detects trade activity and approval states whenever you're on a supported platform.
HOW TO USE
Install the extension and navigate to a supported marketplace or DEX. The panel will automatically detect your wallet, current approvals, and any active trades. When a trade is completed, the tool checks if any risky approvals remain and displays them prominently. To reset an approval, simply click the "Reset Approval" button—you'll be prompted to confirm, then the tool will send the reset transaction through your wallet. You can also choose to reset to minimum (1 wei) or a custom amount instead of zero. Configure your settings: enable auto-reset to automatically revoke approvals after every trade, choose your default reset type (zero, minimum, or custom), set a custom amount, and manage an exclusion list for contracts you trust and don't want reset. The tool also tracks all reset actions in a history log.
MECHANISM: POST-TRADE APPROVAL REVOCATION WITH MULTI-STANDARD SUPPORT
The extension implements a comprehensive approval revocation system that supports all major token standards. After detecting a trade completion—either through wallet transaction confirmation events, page state changes, or user-triggered refresh—the tool reads the current approval state via eth_call to the token contract's allowance() (ERC-20) or isApprovedForAll() (ERC-721/ERC-1155) functions. It then compares the current allowance against the trade amount to identify elevated permissions, flagging unlimited approvals (max uint256) and approvals exceeding the trade amount by more than 10%. The revocation transaction uses the appropriate contract function: approve(spender, 0) for ERC-20 to set allowance to zero, or setApprovalForAll(spender, false) for ERC-721/ERC-1155 to revoke operator status. The tool also supports alternative revocation amounts through the minimum amount (1 wei) or custom user-defined amounts. The gas estimation for reset transactions uses the current gas price (fetched via eth_gasPrice) with a configurable multiplier. The tool maintains a local reset history using GM_setValue, storing each revocation with the contract address, spender address, amount, type (zero/min/custom/resetAll), timestamp, and domain. The exclusion list feature allows users to prevent resets for trusted contracts, reducing unnecessary revocation transactions for frequently used services.
THE PANEL
The overlay panel is fully draggable via its title bar and remembers its position per-site using GM_setValue. It snaps to the nearest edge when dragged within 40px of any screen boundary. The panel includes clear sections for trade monitor (domain, marketplace, wallet address, detected contracts, trade amount), approval status (current allowance display with unlimited detection, approved-for-all status, exclusion indicator), reset approval (one-click reset button with current reset type and custom amount display, reset-all button, exclude contract button), settings (reset type selector, custom amount input, auto-reset toggle, notification toggle), exclusion list management (list of excluded contracts with remove buttons), reset history (recent reset actions with timestamps), and action buttons (Save Settings, Copy Trade Info, Clear History). The approval status section prominently flags unlimited approvals with a warning icon. Pressing Escape temporarily dismisses the panel until you navigate to a new trade page or manually reactivate. The panel automatically refreshes when trade activity is detected or when approval state changes.
PLEASE NOTE
This extension requires the free BotGentz framework extension to be installed and active. You must also have a real EVM-compatible wallet extension (such as MetaMask, WalletConnect, Coinbase Wallet, or Rabby) already installed in your browser—the overlay uses your wallet's RPC provider for eth_call queries and to send reset transactions. This tool sends on-chain transactions to revoke approvals—each reset costs gas (approximately 20,000-45,000 gas depending on the contract). The tool cannot detect trades that occur without page interaction (off-chain or background); cannot track approvals that were granted before the tool was installed; cannot reset approvals that are managed by proxy contracts or require complex multi-step revocation; depends on page state and transaction monitoring which may miss some trades; does not support non-EVM chains where approval standards differ; cannot prevent approvals if the user manually confirms in their wallet regardless of warnings; and cannot detect if a trade was completed but the approval remains active for future trades. No private keys, wallet balances, browsing history, or approval data are ever collected, transmitted, or stored outside your local browser—all data is stored locally using GM_setValue. Use the exclusion list for contracts you trust and interact with frequently to avoid unnecessary gas costs from auto-reset.