All packages
hive_command

hive_command

vaibhavgeek
v0.1.0/5 downloads

Package ref

hive-command@v0.1.0

Run package

CLI

Run map_hivecommand_events from the command line.

substreams run hive-command@v0.1.0 map_hivecommand_events -e starknet-mainnet --start-block -1
Authenticate by running substreams auth or directly on thegraph.market (see docs).

README

hive_command Substreams modules

This package was initialized via substreams init, using the starknet-events template.

Usage

substreams build
substreams auth
substreams gui       			  # Get streaming!

Optionally, you can publish your Substreams to the Substreams Registry.

substreams registry login         # Login to substreams.dev
substreams registry publish       # Publish your Substreams to substreams.dev

Modules

map_events

This module filters certain StarkNet events specified by the params.

Modules

Execution graph

4 modules
Show 3 dependencies
map

starknet:all_transactions

`all_transaction` reads from the `sf.starknet.type.v1.Block` source and outputs a list of all transactions in the block.

Output

sf.substreams.starknet.type.v1.Transactions

map

starknet:filtered_transactions

`filtered_transactions` reads from `all_transactions` and applies a filter on keys, only outputting the transactions that match the filter. Example usage: `(tx:class_hash:0x0000000 && rc:type:0)`

Output

sf.substreams.starknet.type.v1.Transactions

blockIndex

starknet:index_transactions

`index_events` sets the keys corresponding to all event 'types' and 'attribute keys' in the block

Output

sf.substreams.index.v1.Keys