Git Product home page Git Product logo

explorer-backend's Introduction

Ergo Blockchain Explorer

This repository contains 4 services:

1. Chain Grabber

modules/chain-grabber

Scans blockchain, dumps aggregated data to database

Dependencies:

  • Postgres (Schema modules/explorer-core/src/main/resources/db/V9__Schema.sql)

2. Explorer API

modules/explorer-api

Provides a set of HTTP API methods for querying chain/off-chain data.

Specification: https://api.ergoplatform.com/docs/openapi

Dependencies:

  • Postgres (Schema modules/explorer-core/src/main/resources/db/V9__Schema.sql)
  • Redis

3. UTX Tracker

modules/utx-tracker

Dumps unconfirmed transactions from mempool to local database

Dependencies:

  • Postgres (Schema modules/explorer-core/src/main/resources/db/V9__Schema.sql)

4. UTX Broadcaster

modules/utx-broadcaster

Broadcasts unconfirmed transactions to a set of known peers

Dependencies:

  • Redis

Assembly

Service JAR can be build with sbt <service-name>/assembly, assembly will appear in modules/<service-name>/target directory.

Configuration

Config samples can be found in modules/<service-name>/src/main/resources/application.conf

TestNet Configuration

To establish TestNet Connection modify .conf parameters in modules to:

 network.master-nodes = ["http://195.201.82.115:9052"]
 
 protocol.network-prefix = 16
 protocol.genesis-address = "AfYgQf5PappexKq8Vpig4vwEuZLjrq7gV97BWBVcKymTYqRzCoJLE9cDBpGHvtAAkAgQf8Yyv7NQUjSphKSjYxk3dB3W8VXzHzz5MuCcNbqqKHnMDZAa6dbHH1uyMScq5rXPLFD5P8MWkD5FGE6RbHKrKjANcr6QZHcBpppdjh9r5nra4c7dsCgULFZfWYTaYqHpx646BUHhhp8jDCHzzF33G8XfgKYo93ABqmdqagbYRzrqCgPHv5kxRmFt7Y99z26VQTgXoEmXJ2aRu6LoB59rKN47JxWGos27D79kKzJRiyYNEVzXU8MYCxtAwV"

Run

SBT project: sbt <service-name>/run

Assembly JAR: java -jar <<service-name>-assembly-*.jar>

Tests: sbt test

Ergo bootstrap

This project is included in ergo bootstrap, which will help you to quickly deploy an Ergo blockchain cluster with a handful of useful tools you might need to start developing your dApps.

explorer-backend's People

Contributors

oskin1 avatar monyedavid avatar greenhat avatar bromel777 avatar semyonoskin avatar aslesarenko avatar gusevtimofey avatar jozanek avatar alesfatalis avatar mmahut avatar arobsn 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.