Giter Club home page Giter Club logo

theta-infrastructure-ledger-explorer's Introduction

Theta Ledger Explorer

The Theta Ledger Explorer project contains a frontend web application for the Theta explorer, a backend api application to provide data to the frontend, and a blockchain data crawler to download data from the blockchain.

Please click here to see the Theta Ledger Explorer in action.

Blockchain Data Crawler

Setup

The job of blockchain data crawler is to download and convert the blockchain data to a format more friendly for blockchain data exploration. In our current implementation, it uses a NoSQL database Aerospike to store the converted data. Thus we need to install Aerospike first. Below is the instruction to install Aerospike on Ubuntu Linux. For more information on installing aerospike on different systems, please check here.

wget -O aerospike.tgz 'https://www.aerospike.com/download/server/latest/artifact/ubuntu14'
tar -xvf aerospike.tgz
cd aerospike-server-community-<version>-ubuntu14.04
sudo ./asinstall

After installing Aerospike, we can start the blockchain data crawler with the following commands.

cd backend/crawler
npm install
node run

Now the crawler starts to read the data from blockchain, perform necessary transformation, and stores the converted data in the database. Next we can launch the backend API microservice, and the frontend application microservice following the procedure below.

Backend API Application

Setup

cd backend/explorer-api
npm install
node run

Now the explorer API application is running at https://localhost:9000

Frontend Web Application

Setup

cd frontend
npm install
sudo node server.js

Now the frontend application is running at https://localhost

License

The Theta Ledger Explorer reference implementation is licensed under the MIT License.

theta-infrastructure-ledger-explorer's People

Contributors

jieyilong avatar sim-sliver avatar weiribao avatar zhenyang-sliver avatar

Watchers

 avatar  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.