Package Logo
hivemapper
hivemapper@v0.2.10
README

substreams-hivemapper

Generate protos

make protogen

Build substreams

make build

Set up token

Visit https://substreams.streamingfast.io/reference-and-specs/authentication to fetch a token or run below command if you have already followed the instructions from the linked documentation page.

sftoken

Run substreams

substreams run substreams.yaml map_holders -e mainnet.sol.streamingfast.io:443 -t +1000
)
Documentation
Modules
Maps icon
Maps

map
map_outputs

0be88c97317eb974dbf94e57be251d547e3880a5
map map_outputs (
solana_common:transactions_by_programid_and_account_without_votessf.substreams.solana.v1.Transactions
)  -> hivemapper.types.v1.Output
substreams gui hivemapper@v0.2.10 map_outputs

map
solana_common:blocks_without_votes

0be93a73c65aa8ec2de4b1a47209edeea493ff29
map solana_common:blocks_without_votes (
)  -> sf.solana.type.v1.Block
substreams gui hivemapper@v0.2.10 solana_common:blocks_without_votes

map
solana_common:transactions_by_programid_without_votes

79983641fb21f80af202858c457165e00d9c9c9f
map solana_common:transactions_by_programid_without_votes (
paramsstring
)  -> sf.substreams.solana.v1.Transactions
Default param : program:4vMsoUT2BWatFweudnQM1xedRLfJgJ7hswhcpz4xgBTy
substreams gui hivemapper@v0.2.10 solana_common:transactions_by_programid_without_votes

map
solana_common:transactions_by_programid_and_account_without_votes

a934c00b873303b742e1bb92cc391c77adc606a3
map solana_common:transactions_by_programid_and_account_without_votes (
paramsstring
)  -> sf.substreams.solana.v1.Transactions
Default param : program:BNH1dUp3ExFbgo3YctSqQbJXRFn3ffkwbcmSas8azfaW || program:EEjwuvCMVYjgHUeX1BM9qmUog59Pft88c3jbt2ATwcJw || (program:TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA && account:4vMsoUT2BWatFweudnQM1xedRLfJgJ7hswhcpz4xgBTy)
substreams gui hivemapper@v0.2.10 solana_common:transactions_by_programid_and_account_without_votes

map
solana_common:v020:blocks_without_votes

0be93a73c65aa8ec2de4b1a47209edeea493ff29
map solana_common:v020:blocks_without_votes (
)  -> sf.solana.type.v1.Block

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.

substreams gui hivemapper@v0.2.10 solana_common:v020:blocks_without_votes

map
solana_common:v020:filtered_transactions_without_votes

ccc3362e519a9eec745093ac483c80abe0134109
map solana_common:v020:filtered_transactions_without_votes (
paramsstring
)  -> sol.transactions.v1.Transactions
Default param : program:TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA

filtered_transactions_without_votes allows you to consume transactions containing instructions from specific program_id based on a filter string. Supported operators are: logical or ||, logical and && and parenthesis: (). Example: to only consume TRANSACTIONS containing Token or ComputeBudget instructions: program:TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA || program:ComputeBudget111111111111111111111111111111. Transactions containing Vote111111111111111111111111111111111111111 are always excluded.

substreams gui hivemapper@v0.2.10 solana_common:v020:filtered_transactions_without_votes
Block Indexes icon
Block Indexes

blockIndex
solana_common:program_ids_without_votes

811466d12743a8b02be8ba6649cfa9a24aa1af62
blockIndex solana_common:program_ids_without_votes (
)  -> sf.substreams.index.v1.Keys
substreams gui hivemapper@v0.2.10 solana_common:program_ids_without_votes

blockIndex
solana_common:program_ids_and_accounts_without_votes

ec0d2eb5ebfb384b6befa8aa19f6178b853672fe
blockIndex solana_common:program_ids_and_accounts_without_votes (
)  -> sf.substreams.index.v1.Keys
substreams gui hivemapper@v0.2.10 solana_common:program_ids_and_accounts_without_votes

blockIndex
solana_common:v020:program_ids_without_votes

811466d12743a8b02be8ba6649cfa9a24aa1af62
blockIndex solana_common:v020:program_ids_without_votes (
)  -> sf.substreams.index.v1.Keys

program_ids_without_votes creates a cache to efficiently retrieve instructions based on the program ID. For example, the following sets keys for the Token program:

  • program:TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
substreams gui hivemapper@v0.2.10 solana_common:v020:program_ids_without_votes
Protobuf

Protobuf Docs Explorer

sol.transactions.v1
sf.solana.type.v1
sol.instructions.v1
hivemapper.types.v1