Git Product home page Git Product logo

substreams-playground's Introduction

The StreamingFast platform

StreamingFast logo      StreamingFast is an Open Source suite of products that enables low-latency, real-time processing of blockchain data streams, allows for massively parallelizable operations over historical data, and provides the robustness and reliability required by the most demanding loads.

Features

It is protocol-aware, supports multiple chain protocols and can be used to build higher-order blockchain data services.

StreamingFast products include a powerful real-time search engine (StreamingFast Search), mempool management technologies (StreamingFast Lifecycle), historical state services and several specialized indexers.

Installation

Each blockchain protocol has its own installation method. See section below.

Protocols

Here's a list of blockchain protocols that integrate with the StreamingFast stack:

Overview

The StreamingFast platform is composed of multiple open-source repositories. Here is a breakdown.

Top-tier products / solutions:

Common interfaces:

Second-tier service mesh:

  • merger, collecting all forks info, for high-availability deployments.
  • relayer, streaming blocks relayer, for high-availaibility deployments.
  • block metadata service, offers fast access to the state of the chain's blocks, aware of on-going forks, finality, etc.

Documentation:

Building blocks:

More general purpose Go tooling provided by StreamingFast:

License

All StreamingFast components are generally Apache 2.0 licensed. See repositories for details.

substreams-playground's People

Contributors

0xbe1 avatar abourget avatar billettc avatar chamorin avatar colindickson avatar eduard-voiculescu avatar froch avatar fubhy avatar jannis avatar jubeless avatar maoueh avatar seanmooretechwriter avatar yaroshkvorets avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

substreams-playground's Issues

Cobra/Viper integration

add the autoBind features we have in solgun (under api/cmd/solgun see flags.go), goal is to have env variables fill things like rpc-endpoint (which I don’t want to commit as it has an access key to our Infura/whatever RPC endpoint). For the env var, SUBSTREAM would be the binary’s prefix (instead of SOLGUN in that example).

setup using the same init() pattern and viper.GetStuff() fetching of fields (see program_proxy.go for example), instead of the StringVar(&pointer) style, for consistency with the rest of our stack.

setup flags for: --rpc-endpoint , --start-block (shorthand -s, to override the genesis, in which case we fail if we can’t load the state snapshots at that block), --state-store-url (w/ default ./localdata), --blocks-store-url (with default ./localblocks), --irr-indexes-url (w/ default ./localirr)

with an optional positional argument of limit (which becomes the blockCount, and has a default of 1000 like right now)

Can't build pancakeswap

Following this guide: https://github.com/streamingfast/substreams-playground/tree/master/modules/pancakeswap

➜  pancakeswap git:(master) ✗ ./build.sh
   Compiling pcs-substreams v0.1.0 (/Users/shkvo/github/Graph/substreams-playground/modules/pancakeswap)
error[E0603]: module `state` is private
 --> modules/pancakeswap/src/lib.rs:8:30
  |
8 | use substreams::{log, proto, state};
  |                              ^^^^^ private module
  |
note: the module `state` is defined here
 --> /Users/shkvo/.cargo/git/checkouts/substreams-d3f7d5c3b7fe7d2c/1cecae2/rust/substreams/src/lib.rs:3:1
  |
3 | mod state;
  | ^^^^^^^^^^

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.