All packages
my_project_sql

my_project_sql

alexqox
v0.1.0/1 downloads

Package ref

my-project-sql@v0.1.0

Run package

CLI

Run db_out from the command line.

substreams run my-project-sql@v0.1.0 db_out -e solana-devnet --start-block -1
Authenticate by running substreams auth or directly on thegraph.market (see docs).

README

Description

  • This is a generated Substreams with bindings to write to an SQL database

Dependencies

Get Substreams-sink-sql

Get Substreams CLI (optional)

To try the Substreams directly, you need to install the substreams CLI (v1.7.2 or above).

You have many options as explained in this installation guide.

Check if substreams was installed successfully, you can run the following command:

substreams --version

Develop

Get a development API token using the following command:

substreams auth
. ./.substreams.dev  # or insert the SUBSTREAMS_API_TOKEN into the `config.toml` file.

Modules

Execution graph

5 modules
Show 4 dependencies
map

my_project:solana:v020:blocks_without_votes

`blocks_without_votes` allows you to consume a full Solana Block without Vote instructions (`Vote111111111111111111111111111111111111111`). If you consume it on HISTORICAL data (+1000 blocks from HEAD), you will be reading from the StreamingFast cache, thus saving costs on the amount of TB read.