moonstream-to/api has 154 GitHub stars and 50 forks. GitHot measured +1 stars in 24 hours, +1 in 7 days, and +2 in 15 days. Last checked 2026-11-11 02:28 UTC. Last push 2025-03-04.
Building blocks for your blockchain economy
实测星标增长
- 24小时
- +1
- 7天
- +1
- 15天
- +2
- 1个月
- 更新延迟
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
moonstream
What is Moonstream?
Moonstream creates economic infrastructure for web3 projects with a focus on blockchain games.
This repository contains Moonstream's complete data analysis stack. The emphasis of it is on collecting actionable data related to the blockchain. The repository contains:
- Database management tools
- Blockchain node management tools
- Blockchain data crawlers
- Access-controlled API which exposes collected data
Important resources
Who uses Moonstream?
People from different backgrounds who are interested in data, crypto and code. Moonstream tools are often used by game designers and economists, data scientists, smart contract developers, backend engineers, and teams managing loyalty programs for blockchain projects.
Some projects currently using Moonstream:
- Laguna Games, makers of Crypto Unicorns
- Game7
- Champions Ascension
Please read the Game Master's Guide to Moonstream Solutions if you want to know how Moonstream tools are applied in web3 games.
Moonworm tool is used to build datasets of on-chain data related to market activity. The dataset with on-chain activity from the Ethereum NFT market (April 1 to September 25, 2021) is available on Kaggle. The full report on it is published on GitHub.
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:
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.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.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.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.bashwhich prepare for you:backend/configs/docker.moonstreamapi.envwith environment variables
- Run script
db/configs/docker_generate_env.bashwhich prepare for you:db/configs/alembic.moonstreamdb.iniwith postgresql uri
./backend/configs/docker_generate_env.bash
./db/configs/docker_generate_env.bash
- Run local setup
docker-compose up --build
Contributing
We are working on contributing guidelines. In the meantime, please reach out to @zomglings on the Moonstream Discord.
探索相关项目
Asabeneh/30-Days-Of-Python
30 Days of Python 编程挑战是一份循序渐进的指南,用于在 30 天内学习 Python 编程语言。这项挑战可能需要超过 100 天。请按自己的节奏进行。这些视频或许也有帮助:https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,560 星标grafana/grafana
开放且可组合的可观测性与数据可视化平台。可对来自 Prometheus、Loki、Elasticsearch、InfluxDB、Postgres 等众多数据源的指标、日志和追踪进行可视化。
77,830 星标redis/redis
对于正在构建实时数据驱动应用的开发者而言,Redis 是首选、速度最快且功能最丰富的缓存、数据结构服务器和文档与向量查询引擎。
77,395 星标apache/superset
Apache Superset 是一个数据可视化与数据探索平台
75,473 星标