Skip to content

About

Make plaintext addresses point to their respective Etherscan pages

Resources

Code of conduct

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Explorer QuickView

Makes transaction hashes and addresses clickable on all webpages.

Features

  • Makes tx hashes and addresses into links pointing to an explorer
  • Supports the following chains
    • Ethereum Mainnet
    • Polygon PoS
    • Optimism
    • Arbitrum
  • Keeps a local history of all txs and addresses seen on all pages you visit. View via History link in extension popup.
  • Export history into JSON for later analysis

Installation

Local

git clone git@github.com:vacekj/explorer-quickview.git
cd etherscan-quickview
npm install
npm run dev:chrome # works on chrome, brave and edge,  replace with firefox / opera if necessary

Development

  • yarn install to install dependencies.

  • To watch file changes in development

    • Chrome
      • yarn run dev:chrome
    • Firefox
      • yarn run dev:firefox
    • Opera
      • yarn run dev:opera
  • Load extension in browser

  • Chrome

    • Go to the browser address bar and type chrome://extensions
    • Check the Developer Mode button to enable it.
    • Click on the Load Unpacked Extension… button.
    • Select your browsers folder in extension/.
  • Firefox

    • Load the Add-on via about:debugging as temporary Add-on.
    • Choose the manifest.json file in the extracted directory
  • Opera

    • Load the extension via opera:extensions
    • Check the Developer Mode and load as unpacked from extension’s extracted directory.

Production

  • yarn run build builds the extension for all the browsers to extension/BROWSER directory respectively.

Note: By default the manifest.json is set with version 0.0.0. The webpack loader will update the version in the build with that of the package.json version. In order to release a new version, update version in package.json and run script.

If you don't want to use package.json version, you can disable the option here.

Generating browser specific manifest.json

Update source/manifest.json file with browser vendor prefixed manifest keys

{
  "__chrome__name": "SuperChrome",
  "__firefox__name": "SuperFox",
  "__edge__name": "SuperEdge",
  "__opera__name": "SuperOpera"
}

if the vendor is chrome this compiles to:

{
  "name": "SuperChrome",
}

Add keys to multiple vendors by separating them with | in the prefix

{
  __chrome|opera__name: "SuperBlink"
}

if the vendor is chrome or opera, this compiles to:

{
  "name": "SuperBlink"
}

See the original README of wext-manifest-loader package for more details

About

Make plaintext addresses point to their respective Etherscan pages

Resources

Code of conduct

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages