Giter VIP home page Giter VIP logo

dscan's Introduction

DScan

A decentralized blockchain explorer!

This is very early, so please bear with me as things are in flux.

With the adoption of blockchain technology, it has become important to be able to read the current state of the blockchain. DScan is a project to become a decentralized explorer for Ethereum and Ethereum-Compatible chains with strong delineation between what can be done entirely in-browser and what requires a separate indexer server.

Allowing users to build their own indexer or even UIs that utilize these indexer services around a specified API will provide many options for a block explorer instead of one or two well-known ones.

Web UI

The UI is just a bunch of static HTML, JS, and CSS. You can throw it behind any web server that can handle this. However, because of how the UI works, data is passed as query parameters. This means that it may not behave as expected when using it with Metamask or other extensions that provide block explorer links.

This is still in the works, but there will be a server that will handle serving the UI and managing the endpoints correctly so it can be integrated with these extensions.

Index Server

This is still a to-do item

Many explorers rely on continuous monitoring of the chain and as a result end up requiring some form of central service. In existing implementations, the line between the things that can be retrieved with an RPC and things that require an indexer is a bit blurred. This project hopes to also delineate what can and cannot be retrieved with a simple in-browser provider and provide a consistent specification on retrieving that data from any indexer that they want to use.

This specification, as it materializes, will be available in a separate repo as a gRPC proto file. Using gRPC gateways to facilitate browser use is a well-defined model and also allows for developers to generate code to interact with indexers or write their own indexers as they want.

Caveats

Indexer operators may tamper with the data provided by their indexer, but they cannot tamper with the blockchain itself. You should only use indexers you trust to not secretly modify data as it may result in misleading information that does not accurately reflect on-chain state.

Notes

The CBOR library used does not work correctly normally. It needs to be patched as per this issue. This is done automatically when you run npm install.

dscan's People

Contributors

0xhyacinths 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.