Coder Social home page Coder Social logo

consensys / vscode-ethover Goto Github PK

View Code? Open in Web Editor NEW
44.0 10.0 8.0 386 KB

Ethereum Account Address Hover Info and Actions

Home Page: https://marketplace.visualstudio.com/items?itemName=tintinweb.vscode-ethover

JavaScript 100.00%
ethereum address hover vscode vscode-extension

vscode-ethover's Introduction

get in touch with Consensys Diligence
[ ๐ŸŒ ๐Ÿ“ฉ ๐Ÿ”ฅ ]

ETHover

Ethereum Account Address Hover Info and Actions

vscode-ethover

Marketplace

Hover over an ethereum address and:

  • Open it in etherscan (or whatever you configure)
  • Show address balance in hover (mainnet) (note: might be rate-limited, configure your API key in settings)
  • Download the bytecode and disassemble it.
    • With hover info on instructions
    • Representation of data as ASCII and resolving 4bytes to funcsigs, Color code reflects the type of instruction: stack, memory, storage, arithm., logic, system, environment, โ€ฆ
  • Download the bytecode and show it.
    • With hover info
    • Click to see instruction boundaries
    • Color coded bytes to reflect type of instruction)
  • Show verified contract source (etherscan.io)
  • Show reconstructed contract source from eveem.org
  • Show reconstructed contract source from evm.js
  • run vscode-decompiler to decompile it manually using panoramix (eveem.org) locally

Currently enabled for the following filetypes

  • TypeScript
  • JavaScript
  • Markdown
  • Solidity

Let me know if you want to enable this extension for more filetypes.

Credits

Release Notes

see CHANGELOG


vscode-ethover's People

Contributors

tintinweb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vscode-ethover's Issues

Support Retrieving Verified Contracts Unflattened

Currently when hovering on an address and clicking on "VerifiedContract" it retrieves the source code of the Smart Contract deployed at that address, but in case the Smart contract is composed of multiple files it outputs a flattened version of the Smart Contract.

it would be nice to either retrieve all the files in a folder or alternatively to give the user an option to choose between flattening or not

"enable for this file" command

while it's nice it's available for js, ts etc, it would also be useful when viewing log files and so on. one-time command seems like a better tradeoff than trying to guess the file formats

Support proxy contracts / ability to execute view functions on verified contracts

I was trying to view the source of a contract, but his contract uses the EIP-1967 proxy pattern, so I couldn't view the underlying logic.

There are two potential features I can think of to enable viewing of the underlying logic (which is why this issue covers two feature requests):

  1. Natively support proxy contracts, with a separate option on hover to view the source underlying implementation. Not sure how big the scope is here since there's at least EIP-1967 and EIP-1167, and possibly others
  2. Allow view functions to be called and if the result is an address, allow it to be actionable

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.