
solana
solanamake protogen
make build
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
substreams run substreams.yaml map_holders -e mainnet.sol.streamingfast.io:443 -t +1000
substreams gui hivemapper@v0.2.10 map_outputssubstreams gui hivemapper@v0.2.10 solana_common:blocks_without_votessubstreams gui hivemapper@v0.2.10 solana_common:transactions_by_programid_without_votessubstreams gui hivemapper@v0.2.10 solana_common:transactions_by_programid_and_account_without_votesblocks_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_votesfiltered_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_votessubstreams gui hivemapper@v0.2.10 solana_common:program_ids_without_votessubstreams gui hivemapper@v0.2.10 solana_common:program_ids_and_accounts_without_votesprogram_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:
substreams gui hivemapper@v0.2.10 solana_common:v020:program_ids_without_votes