A lightweigh web3 dapp tool to manage your approvals for ERC-20, ERC-721 and ERC-1155 token contracts on Ethereum-Virtual-Machine compatible chains.
URL: https://bokkypoobah.github.io/ApprovalTool/
- This tool scans for ERC-20, ERC-721 and ERC-1155 Approval and ApprovalForAll log events from the owner's account. This is done using the getLogs(filter) web3 call.
- These event logs are then processed to determine the approval states for the various ERC-20, ERC-721 and ERC-1155 contracts
- The latest ERC-20 approval amounts are retrieved using the ERC-20
allowance(...)
function
- This dapp runs in web3 enabled desktop browsers connected to the Ethereum mainnet, and should work with other Ethereum-Virtual-Machine compatible chains
- Dapp: https://bokkypoobah.github.io/ApprovalTool/
- GitHub: https://github.com/bokkypoobah/ApprovalTool
- Main Dapp Source Code: https://github.com/bokkypoobah/ApprovalTool/blob/main/docs/index.html
- In a folder on your computer, git clone https://github.com/bokkypoobah/ApprovalTool
- Run a tool like anywhere in the ./docs subdirectory of the folder created above
- This dapp is designed to have minimal external dependencies - all code is statically served from GitHub
- No backend servers are necessary, only a web3 connection
- This dapp uses basic web3 calls for compatibility across EVM chains using the same ERC-20, ERC-721 and ERC-1155 standards
- This is experimental unaudited software. Please check your transaction data carefully when updating your approvals!
Enjoy!
(c) BokkyPooBah / Bok Consulting Pty Ltd 2023. The MIT Licence.