Coder Social home page Coder Social logo

anurag-git / moonstream Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moonstream-to/api

0.0 1.0 0.0 17.8 MB

Building blocks for your blockchain economy

Home Page: https://moonstream.to

License: Apache License 2.0

JavaScript 30.84% CSS 0.97% Shell 1.59% Python 27.71% Mako 0.02% Go 2.02% Jupyter Notebook 35.29% TeX 1.52% Dockerfile 0.05%

moonstream's Introduction

moonstream

[Live at https://moonstream.to/] | [Join us on Discord]

What is Moonstream?

Moonstream makes tools that help people build, manage, and maintain their blockchain economies.

In order to provide this functionality, we build a lot of technology to crawl blockchains and makes sense of crawled transactions and events. This repository contains that code.

Who uses Moonstream?

Game designers and economists, data scientists, smart contract developers, backend engineers, and teams managing loyalty programs for blockchain projects.

Some of our prominents customers:

  1. Laguna Games, makers of Crypto Unicorns
  2. RealtyBits

Free software

Proprietary technologies are not inclusive technologies, and we believe in inclusion.

All of our technology is open source. This repository contains all the code that powers https://moonstream.to. The code is licensed with the Apache License, Version 2.0.

You are and will always be free to host your own instance of Moonstream.

Architecture

This monorepo contains the following components:

  1. frontend: A web frontend for Moonstream. Allows users to create dashboards and monitor the activity of accounts and smart contracts on multiple blockchains. Built in React.
  2. backend': The Moonstream API allows users to programmatically consume data about transactions and events taking place on blockchains crawled by Moonstream. Built in Python using Fast API.
  3. crawlers: This part of the code base contains workers which extract data from blockchains, transaction pools, and other sources. We have many crawlers and each crawler can utilize a different tech stack.
  4. db: Moonstream stores blockchain data in Postgres. This directory contains the code we use to manage the schema in our Postgres database. For sources that send higher volumes of data, we use a separate Postgres database and interface with it using Bugout.

Installation and setup

Run server with Docker Compose

If you want to deploy Moonstream in isolation against live services, then docker compose is your choice!

  • Run script backend/configs/docker_generate_env.bash which prepare for you:
    • backend/configs/docker.moonstreamapi.env with environment variables
  • Run script db/configs/docker_generate_env.bash which prepare for you:
    • db/configs/alembic.moonstreamdb.ini with postgresql uri
./backend/configs/docker_generate_env.bash
./db/configs/docker_generate_env.bash
  • Run local setup
docker-compose up --build

Contributing

If you would like to contribute to Moonstream, please reach out to @zomglings on the Moonstream Discord.

moonstream's People

Contributors

peersky avatar kompotkot avatar zomglings avatar yhtiyar avatar atbe avatar

Watchers

James Cloos 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.