Skip to content

degensean/vscode-contract-code-viewer

Repository files navigation

Contract code viewer: Fastest way to download contract code

Contract Code Viewer is a VS Code extension that allows you to download contract codes from various blockchain explorers and view them locally. This is useful for developers who want to inspect the source code of smart contracts deployed on different blockchains.

Features

Feature

Contract Code Viewer supports downloading contract codes from the following blockchain explorers (as of 2023-03-03):

Blockchain Explorer Availability
https://etherscan.io ✔️
https://polygonscan.com ✔️
https://bscscan.com ✔️
https://ftmscan.com ✔️
https://snowtrace.io ✔️
arbiscan.io ✔️
optimistic.etherscan.io ✔️

Some features that make Contract Code Viewer stand out are:

  • It automatically detects the blockchain explorer based on the URL entered by the user
  • It saves the contract files in a folder named after the contract address
  • It can download single-file or multiple-files contract codes

Usage

To use Contract Code Viewer, follow these steps:

  1. Use the command Contract Code Viewer: Enter URL to the contract on explorer
  2. Input a valid URL to a contract on any supported blockchain explorer
  3. Select a folder where you want to save the contract files
  4. Click on “Open folder” to view the contract codes

Release Notes

[1.1.6] - 2023-03-03

New Features

Fixed

Acknowledgement

@DocRace for the logo.

Feedback

If you have any feedback, please feel free to contact me. You are also welcome to chat about Crypto with me on Twitter.

Twitter URL

About

An easy-to-use extension to download and view contract code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published