GithubHelp home page GithubHelp logo

cpurta / eth-scanner Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 7.0 26 KB

Ethereum blockchain transaction scanner

License: GNU General Public License v3.0

Go 100.00%
ethereum blockchain blockchain-scanner etherscan smart-contracts

eth-scanner's Introduction

eth-scanner

An ethereum blockchain scanner that allows you to find transactions associated to an address. This gives you the capability to search the entire chain for transactions or just part of the chain. This then outputs all of the transactions to csv containing all of the pertinent block/transaction information. Think of it as a very limited etherscan.

Getting started

To compile the usable binary you can run:

$ go build -o ./bin/eth-scanner ./cmd/eth-scanner

You can now execute the binary:

$ ./bin/eth-scanner -h

Benchmarks

Currently with 25 block workers enables and with the scanner using an infura node, the scanner can process ~125k blocks per hour. One way that you can speed up the scanning is to connect to a fully synced node locally. Since the network latency will not be a major bottleneck when attempting to scan large portions of the blockchain.

Drawbacks

One major drawback to using this over etherscan.io is the amount of time that it takes to scan since it will take O(n) request to scan all blocks specified. With the mainnet at 6M+ blocks in order to scan

Improvements

One major improvement that is being considered is the use of allowing a sync command to sync all blocks to a relational database which can then be used to easily query addresses and transactions.

Also dockerizing the environment would substantially help in creating database(s) and checking the status of the scanner. The specific of which are still in debate.

Increase sync/scan times would be extremely beneficial in the usefulness of this tool. Having to wait hours to find transactions is not at all helpful when compared to other existing tools such as etherscan.

LICENSE

GPL 3.0

eth-scanner's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

eth-scanner's Issues

usage

Sorry to bother you, given the address of a smart contract, can I know the number of transactions it receives, how to use it, and what commands

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.