Skip to content

An extension that adds MetaMask's legacy web3 API to your browser.

License

Notifications You must be signed in to change notification settings

MetaMask/legacy-web3-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

legacy-web3-extension

An extension that adds MetaMask's legacy window.web3 API to your browser.

Usage

  1. yarn install
  2. yarn build
  3. Load the unpacked extension from dist/unpacked/YOUR_FAVORITE_BROWSER
  4. Test with any build of the MetaMask Extension, version 9.0.1 and later

Dependencies

This extension has a single production dependency: @metamask/legacy-web3

The extension's content script contains the minified source of this dependency as a string literal in order to inject it into web pages as a <script> tag.

The complete, unminified source can be viewed here.

Supported Browsers

  • Brave
  • Chrome
  • Edge
  • Firefox