Git Product home page Git Product logo

codechain-explorer's Introduction

CodeChain Explorer Gitter

CodeChain explorer is a simple, easy to use, open-source visualization tool for viewing activity on the underlying blockchain network.

Table of Contents

Install

Requirements

The following are the software dependencies required to install and run CodeChain-explorer:

  • CodeChain version of commit 6ce9bf8340906bde1142a9dcd344f37b7aa6f879
  • Nodejs v10.4.1
  • ElasticSearch v6.2.4

Download

Download CodeChain-explorer code from the GitHub repository

# git clone [email protected]:kodebox-io/codechain-explorer.git
# cd codechain-explorer

Install package

Use yarn package manager to install packages

# yarn install

Running for development

Before start

  • Get CodeChain ready with CodeChain RPC server
  • Get ElasticSearch database ready for indexing block data

Running order

  1. Worker
  • Data synchronizing tool between CodeChain and ElasticSearch
  1. Server
  • Restful API server for getting data from DB
  1. Client
  • Client developed by react framework

Worker

Run CodeChain-worker for indexing data to ElasticSearch

  • You can change ElasticSearch and CodeChain host URL in "/worker/config/default.json"
# yarn run start-worker

Server

Run CodeChain-explorer server

  • You can change ElasticSearch and CodeChain host URL in "/server/config/default.json"
# yarn run start-server

Client

Run CodeChain-explorer client in development mode

# yarn run start-client

Running worker, server, client at once

# yarn run start

Running for production

Build

Build CodeChain-explorer with following script. You can get optimized, uglified build code. It will locate at "/build" directory

# yarn run build

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.