Code Monkey home page Code Monkey logo

mintscan-binance-dex-backend's Introduction

All Contributors

Cosmostation logo

Mintscan Explorer's Backend for Binance Chain

⭐ Developed / Developing by Cosmostation

Overview

This project is sponsored by Binance X Fellowship Program. The program supports talented developers and researchers in creating free and open-source software that would enable new innovations and businesses in the crypto community.

This repository provides backend code for Mintscan Block Explorer for Binance Chain, and you can find frontend code in this repository.

Note that this repository has just transitioned from the actively developing phase to the maintaining phase starting from the first official version v1.0.0. All intended functionality is implemented; however, it can always go back when there is a reason to go back.

Prerequisite

Folder Structure

/
|- chain-exporter
|- mintscan
|- stats-exporter

Chain Exporter

chain-exporter watches a full node of Binance Chain and export chain data into PostgreSQL database.

Mintscan

mintscan provides any necesarry custom APIs.

Stats Exporter

stats-exporter creates cron jobs to export market data to build chart history API.

Configuration

For configuration, it uses human readable data-serialization configuration file format called YAML.

To configure chain-exporter | mintscan | stats-exporter, you need to configure config.yaml file in each folder. Reference example.yaml.

Note that the configuration needs to be passed in via config.yaml file, so make sure to change the name to config.yaml.

Install

Git clone this repo

git clone https://github.com/cosmostation/mintscan-binance-dex-backend.git

Build by Makefile

cd mintscan-binance-dex-backend/chain-exporter
make build

cd mintscan-binance-dex-backend/mintscan
make build

cd mintscan-binance-dex-backend/stats-exporter
make build

Database

This project uses Golang ORM with focus on PostgreSQL features and performance. Once chain-exporter begins to run, it creates the following database tables if not exist already.

  • Block
  • PreCommit
  • Transaction
  • Validator

Contributing

We encourage and support an active, healthy community of contributors — any contribution, improvements, and suggestions are always welcome! Details are in the contribution guide

Contributors ✨

Thanks goes to these wonderful people (emoji key):


JayB

💻 📖 📆 ⚠️ 🚧

fl-y

💻 🤔

hyeryeong-lim

🎨

This project follows the all-contributors specification. Contributions of any kind welcome!

Our Services and Community

License

Released under the Apache 2.0 License.

mintscan-binance-dex-backend's People

Contributors

allcontributors[bot] avatar carameleon avatar jaybxyz 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.