{"id":13759884,"url":"https://github.com/dethcrypto/dethcode","last_synced_at":"2025-05-15T23:08:07.842Z","repository":{"id":38747916,"uuid":"438402257","full_name":"dethcrypto/dethcode","owner":"dethcrypto","description":"View source of deployed Ethereum contracts in VSCode","archived":false,"fork":false,"pushed_at":"2025-04-14T08:21:59.000Z","size":600,"stargazers_count":1369,"open_issues_count":20,"forks_count":114,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-05-11T08:04:17.842Z","etag":null,"topics":["ethereum","etherscan","smart-contract","visual-studio-code"],"latest_commit_sha":null,"homepage":"https://etherscan.deth.net/address/0xa3a7b6f88361f48403514059f1f16c8e78d60eec#code","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dethcrypto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-14T21:15:31.000Z","updated_at":"2025-05-11T06:44:52.000Z","dependencies_parsed_at":"2023-10-15T06:14:13.518Z","dependency_job_id":"f22eeb1c-6a1b-4925-8aef-4bbd0aeec197","html_url":"https://github.com/dethcrypto/dethcode","commit_stats":null,"previous_names":["dethcrypto/ethereum-code-viewer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dethcrypto%2Fdethcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dethcrypto%2Fdethcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dethcrypto%2Fdethcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dethcrypto%2Fdethcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dethcrypto","download_url":"https://codeload.github.com/dethcrypto/dethcode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253660847,"owners_count":21943823,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ethereum","etherscan","smart-contract","visual-studio-code"],"created_at":"2024-08-03T13:01:00.425Z","updated_at":"2025-05-15T23:08:02.783Z","avatar_url":"https://github.com/dethcrypto.png","language":"TypeScript","funding_links":[],"categories":["dApps directory","TypeScript","\u003ca name=\"tools\"\u003e\u003c/a\u003e Tools"],"sub_categories":["Smart Contract Tools","\u003ca name=\"others\"\u003e Other tools"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cbr /\u003e\n  \u003cimg src=\"https://github.com/dethcrypto/ethereum-code-viewer/blob/main/docs/logo.svg?raw=true\" width=\"200\" alt=\"\"\u003e\n  \u003cbr /\u003e\n  \u003ch2 align=\"center\"\u003eDethCode\u003c/h2\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/dethcrypto/ethereum-code-viewer/actions\"\u003e\u003cimg alt=\"Build Status\" src=\"https://github.com/dethcrypto/ethereum-code-viewer/actions/workflows/ci.yml/badge.svg\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n  \u003cp align=\"center\"\u003e\u003cstrong\u003eView source of deployed Ethereum smart contracts in VS Code\u003c/strong\u003e\u003c/p\u003e\n  \u003cp align=\"center\"\u003eWhile on Etherscan, change \u003ccode\u003e.io\u003c/code\u003e to \u003ccode\u003e.deth.net\u003c/code\u003e and browse contracts comfortably in ephemeral VS Code instance\u003c/p\u003e\n\u003c/p\u003e\n\n## Usage\n\nWhile browsing smart contract code on [Etherscan](https://etherscan.io/) just\nchange URL from `.io` to `.deth.net`. This will open Visual Studio Code instance\nand fetch the verified code using Etherscan API.\n\n![ecv](https://user-images.githubusercontent.com/1814312/146108385-6fa50ae7-14a5-45b2-be3d-201d22409cf7.gif)\n\nOr save the following code snippet as a bookmarklet to quickly go from any\n[supported chain explorer][supported_explorers] to DethCode.\n\n```\njavascript: location.href = location.href.replace(/\\.\\w+(\\/)/, \".deth.net/\")\n```\n\n## Features ⚡\n\n- frictionless - just tweak URL while browsing etherscan `.io` -\u003e `deth.net`\n- proxy support - automatically follows proxies and displays implementation\n  source code\n- multichain - supports different etherscan instances: testnets, L2s, L1s ([all\n  supported chains][supported_explorers])\n\n[supported_explorers]:\n  https://github.com/dethcrypto/dethcode/blob/main/packages/ethereum-viewer/src/explorer/networks.ts#L38\n\n## Motivation\n\nBrowsing contracts directly on etherscan sucks! Browsing multi-file contracts on\netherscan sucks even more. Limited search, weird syntax highlighting, and many,\nmany more. Finally, it's often impossible to just git clone repository and\nbrowse source code locally because it's hard to find the exact commit that\nmatches onchain code.\n\nDethCode was born out of frustration, and it's here to fix all of these issues.\nIn addition, it improves the experience by automatically following the\nimplementation of proxies and so on.\n\n### Is it still relevant since Etherscan implements something similar?\n\nEtherscan decided that they like the idea of browsing smart contracts in\nephemeral VSCode instances so much that they decided to make it part of the\ntheir offering. We don't hold a grudge against them, however this is precisely\nwhy DethCode needs to live on!\n\nDethCode is a fully open-source, public good that is available for anyone and is\ndeveloped by a community. Other blockchain explorers can use it/self-host it\ninstead of developing the same thing again. Furthermore, we are preparing to\nlaunch, new advanced features that will make DethCode the best way to browse\nethereum's smart contracts.\n\n## Examples\n\n- Optimism L1CrossDomainMessenger:\n  [dethcode](https://etherscan.deth.net/address/0x25ace71c97b33cc4729cf772ae268934f7ab5fa1)\n  |\n  [etherscan](https://etherscan.io/address/0x25ace71c97b33cc4729cf772ae268934f7ab5fa1#code)\n- Arbitrum ERC20 Gateway on mainnet:\n  [dethcode](https://etherscan.deth.net/address/0xa3a7b6f88361f48403514059f1f16c8e78d60eec)\n  |\n  [etherscan](https://etherscan.io/address/0xa3a7b6f88361f48403514059f1f16c8e78d60eec#code)\n- Arbitrum ERC20 Gateway on arbitrum:\n  [dethcode](https://arbiscan.deth.net/address/0x09e9222e96e7b4ae2a407b98d48e330053351eee)\n  |\n  [arbiscan](https://arbiscan.io/address/0x09e9222e96e7b4ae2a407b98d48e330053351eee#code)\n- Dai Stablecoin:\n  [dethcode](https://etherscan.deth.net/address/0x6b175474e89094c44da98b954eedeac495271d0f)\n  |\n  [etherscan](https://etherscan.io/address/0x6b175474e89094c44da98b954eedeac495271d0f#code)\n\n## Contributing and development\n\nCheck out our [contributing guide](./CONTRIBUTING.md).\n\n## Social\n\nFollow me on [Twitter](https://twitter.com/krzkaczor).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdethcrypto%2Fdethcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdethcrypto%2Fdethcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdethcrypto%2Fdethcode/lists"}