Git Product home page Git Product logo

approvaltool's Introduction

ApprovalTool

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 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


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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.