Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Lightweight tool to manage your approvals for ERC-20, ERC-721 and ERC-1155 token contracts

License

NotificationsYou must be signed in to change notification settings

bokkypoobah/ApprovalTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/



How This Works

  • This tool scans forERC-20,ERC-721 andERC-1155Approval andApprovalForAll log events from the owner's account. This is done using thegetLogs(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-20allowance(...) function


Requirements

  • This dapp runs in web3 enabled desktop browsers connected to the Ethereum mainnet, and should work with other Ethereum-Virtual-Machine compatible chains


References



Running Locally



Design

  • 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


Warning

  • This is experimental unaudited software. Please check your transaction data carefully when updating your approvals!


Sample Screens

Sample Approvals Screen - Attached Account

Sample Events Screen - Attached Account

Sample Accounts Screen - Attached Account

Sample Events Screen - Specified Accounts

Sample ERC-20 Approval Screen

Sample ERC-721 Approval Screen

Sample ERC-721 ApprovalForAll Screen

Sample ERC-1155 ApprovalForAll Screen



Enjoy!

(c) BokkyPooBah / Bok Consulting Pty Ltd 2023. The MIT Licence.


[8]ページ先頭

©2009-2025 Movatter.jp