Git Product home page Git Product logo

dethcode's Introduction



DethCode

Build Status

View source of deployed Ethereum smart contracts in VS Code

While on Etherscan, change .io to .deth.net and browse contracts comfortably in ephemeral VS Code instance

Usage

While browsing smart contract code on Etherscan just change URL from .io to .deth.net. This will open Visual Studio Code instance and fetch the verified code using Etherscan API.

ecv

Or save the following code snippet as a bookmarklet to quickly go from any supported chain explorer to DethCode.

javascript: location.href = location.href.replace(/\.\w+(\/)/, ".deth.net/")

Features ⚡

  • frictionless - just tweak URL while browsing etherscan .io -> deth.net
  • proxy support - automatically follows proxies and displays implementation source code
  • multichain - supports different etherscan instances: testnets, L2s, L1s (all supported chains)

Motivation

Browsing contracts directly on etherscan sucks! Browsing multi-file contracts on etherscan sucks even more. Limited search, weird syntax highlighting, and many, many more. Finally, it's often impossible to just git clone repository and browse source code locally because it's hard to find the exact commit that matches onchain code.

DethCode was born out of frustration, and it's here to fix all of these issues. In addition, it improves the experience by automatically following the implementation of proxies and so on.

Is it still relevant since Etherscan implements something similar?

Etherscan decided that they like the idea of browsing smart contracts in ephemeral VSCode instances so much that they decided to make it part of the their offering. We don't hold a grudge against them, however this is precisely why DethCode needs to live on!

DethCode is a fully open-source, public good that is available for anyone and is developed by a community. Other blockchain explorers can use it/self-host it instead of developing the same thing again. Furthermore, we are preparing to launch, new advanced features that will make DethCode the best way to browse ethereum's smart contracts.

Examples

Contributing and development

Check out our contributing guide.

Social

Follow me on Twitter.

dethcode's People

Contributors

hasparus avatar krzkaczor avatar sz-piotr avatar 0xdcota avatar wujunze avatar stermi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.