项目作者: amitdeshmukh

项目描述 :
This application visualizes recent Ethereum Name Service transactions with a focus on BidRevealed event logs.
高级语言: JavaScript
项目地址: git://github.com/amitdeshmukh/ens-explorer.git
创建时间: 2019-02-25T12:54:14Z
项目社区:https://github.com/amitdeshmukh/ens-explorer

开源协议:MIT License

下载


Ethereum Name Service (ENS) Explorer

This application visualizes recent ENS transactions with a focus on BidRevealed event logs.

Installation

Install from the repo using the instructions below, or use Docker

  1. # clone this repo
  2. $ git clone https://github.com/amitdeshmukh/ens-explorer.git
  3. # change directory
  4. $ cd ens-explorer
  5. # install dependencies
  6. $ npm install
  7. # serve with hot reload at localhost:8080
  8. $ npm run dev
  9. # build for production with minification
  10. $ npm run build
  11. # unit tests
  12. $ npm test

Installation Using Docker

  1. # clone this repo
  2. $ git clone https://github.com/amitdeshmukh/ens-explorer.git
  3. # change directory
  4. $ cd ens-explorer
  5. # Run docker-compose
  6. $ docker-compose build && docker-compose up

Usage

Browse to http://localhost:8080

ENS events will begin to stream into the app.

The app will perform some calculations as new data comes in. This process depends on the number of events emitted by the ENS contract within the past day.

Currently, the app will display:

  • A summary of ENS contract events

  • Metrics related to BidRevealed events:

    • Top 5 NameHashes by bid value
    • Top 5 bidding accounts
  • Individual BidRevealed events are also displayed.

Screenshot

Notes

The app uses Infura websockets to connect to the Ethereum mainnet, and receive ENS contract events. This was done so that using the app would not require to setup a local geth/parity node, and events can be streamed into the app immediately.

The drawback of this approach however, is that Infura websockets seem to not provide event logs that are older than 2 days. The performance is optimal when events within the past 1 day of blocks are requested.

Todo

  1. Unit Test for Vue component
  2. Read Web3 parameters from config
  3. Implement more ENS Event metrics