Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Contract Code ViewerNew to Visual Studio Code? Get it now.
Contract Code Viewer

Contract Code Viewer

degensean

|
563 installs
| (1) | Free
An easy-to-use extension to download and view smart contract codes
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

  • The extension can now download contract code from arbiscan.io and optimistic.etherscan.io.

Fixed

  • Fixed problem of contract downloading from etherscan.io.

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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft