sorium_substreams_pump_fun
Package ref
sorium-substreams-pump-fun@v0.1.2Run package
CLI
Run map_program_data from the command line.
substreams run sorium-substreams-pump-fun@v0.1.2 map_program_data -e solana-mainnet --start-block -1substreams auth or directly on thegraph.market (see docs).README
Pump.fun Substreams
Track all the instructions and events from the Pump.fun program in Solana.
This Substreams uses the Pump.fun Anchor IDL to decode instruction and event data.
About Substreams
Substreams, is one of the production of The Graph, which allows you to stream data and sink it into a variety of places (a Postgres database, a JS application, or a Subgraph).
Get Started
NOTE: This Substreams has been auto-generated by using the substreams init command of the Substreams CLI. Try it out!
Run the Binary
A compiled Substreams project is contained in the pump-fun-v0.1.0.spkg file, which contains all the decoding logic of the Solana program.
-
Install the Substreams CLI.
-
Run the Substreams
substreams gui
Build the Project
-
Install the Substreams CLI.
-
Build the project (you will need Rust installed)
substreams build
- Run the Substreams
substreams init
Modules
Execution graph
Show 3 dependencies
Output
sf.solana.type.v1.BlockInputs
Output
sf.substreams.index.v1.Keys
`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.
Output
sf.solana.type.v1.BlockInputs