OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

Dethcode

DethCode is a web-based smart-contract source viewer that retrieves verified deployed Ethereum contract code through the Etherscan API and displays it in an ephemeral Visual Studio Code instance.

Independent OpenViST project profile, based on linked sources.

Dethcode — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when inspecting a contract page on a supported explorer and its verified source is available through the explorer API, particularly when you want to browse multiple files or inspect a proxy implementation.

Who it is for

  • Developers inspecting verified source code for deployed Ethereum contracts.
  • Developers who need to browse multi-file contract source or follow a supported proxy to its implementation.
  • Other blockchain explorers considering use or self-hosting of the open-source viewer.

Documented uses

  • Open verified contract source from a supported explorer in an ephemeral VS Code workspace.
  • Browse multi-file deployed contract source in an editor interface.
  • Inspect implementation source for supported proxy contracts.
  • Move from listed Etherscan-compatible explorer pages to DethCode using a URL change or bookmarklet.
Before you choose

Requirements & limits

The documented workflow uses a web-based ephemeral VS Code instance. The project describes itself as open source.

  • Verified source is fetched through the Etherscan API, so the workflow relies on source being verified and retrievable there.
  • Proxy-following behavior is listed as a feature and displays implementation source.
  • Multi-chain support applies to the project's listed Etherscan instances; arbitrary explorer APIs are not documented as compatible.
  • The source repository is TypeScript and public.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Open a contract from Etherscan in DethCode

View a contract’s verified source in an ephemeral VS Code instance.

Before you start

  • A contract page on a supported Etherscan-compatible explorer.
  • Verified source available through the explorer API.

Steps

  1. Open the contract page on Etherscan.

  2. Change the explorer domain from .io to .deth.net.

  3. Use the opened VS Code instance to browse the retrieved source.

Expected outcome

The contract’s verified source opens in an ephemeral VS Code instance.

Guide limitations

  • The documented workflow retrieves verified code through the Etherscan API; it does not describe browsing unverified source.
  • Explorer support is limited to the project's supported-chain list.
Source-based practical guide

Create a bookmarklet for supported explorers

Save the README’s URL-rewrite snippet for moving from supported chain explorer pages to DethCode.

Before you start

  • A browser that supports bookmarklets.
  • The DethCode README snippet.

Steps

  1. Create a browser bookmark.

  2. Use the README’s JavaScript snippet as the bookmark URL.

  3. From a supported chain explorer page, activate the bookmarklet.

Expected outcome

The bookmarklet rewrites the current explorer URL to its DethCode form.

Guide limitations

  • The README says this is for supported chain explorers; arbitrary explorer compatibility is not documented.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
16 October 2026
Original website title
dethcrypto/dethcode · Official homepage title · retained in its source language