/BAT

Blockchain Address Translator

Primary LanguageJavaScript

Blockchain Address Translator Extension

The Blockchain Address Translator is a Google Chrome extension that translates blockchain contract addresses into recognizable service names, enhancing readability and understanding. This extension works universally, not just limited to Etherscan, and includes functionality for users to add, edit, remove, and import/export custom mappings.

Features

  • Translate blockchain contract addresses into recognizable service names.
  • Custom mappings: Add, edit, and remove addresses with associated service names and descriptions.
  • Import and export custom mappings as CSV files.
  • Enable/disable the extension with a toggle switch.
  • Revert text changes made by the extension.

Installation

  • Clone this repository to your local machine:
git clone https://github.com/yourusername/blockchain-address-translator.git
  • Open Google Chrome and navigate to chrome://extensions/.
  • Enable "Developer mode" by toggling the switch in the top right corner.
  • Click on "Load unpacked" and select the directory where you cloned this repository.
  • The extension should now be added to Chrome.

Usage

Enabling/Disabling the Extension

- Click on the extension icon in the top right corner of Chrome.
- Toggle the switch to enable or disable the extension.

Adding a Custom Mapping

- Click on the extension icon in the top right corner of Chrome.
- Click on the "Add" button.
- Enter the blockchain contract address, service name, and description.
- Click on the "Save" button.

Editing a Custom Mapping

- Click on the extension icon in the top right corner of Chrome.
- Click on the "Edit" button next to the mapping you want to edit.
- Update the service name and description.
- Click on the "Save" button.

Importing/Exporting Mappings

- Click on the extension icon in the top right corner of Chrome.
- Click on the "Import" button.
- Select a CSV file containing custom mappings.
- Click on the "Export" button to download a CSV file of custom mappings.

Contributing

Contributions are welcome! Please follow the steps below to contribute to this project:

  • Fork this repository.
  • Create a new branch for your feature or bug fix.
  • Make your changes and commit them.
  • Push your changes to your fork.
  • Create a pull request to merge your changes into the main repository.