
A high-performance Substreams package for tracking Jupiter DEX aggregator events on Solana blockchain with 75% data reduction via foundational stores.
This substream provides complete visibility into Jupiter's DEX aggregation ecosystem, tracking:
# Install Substreams CLI
curl -sSL https://substreams.dev/install.sh | bash
# Run Jupiter events (v0.3.2)
substreams run https://github.com/PaulieB14/Jupiter-Dex-Substreams/releases/download/v0.3.2/jupiter-dex-substreams-v0.3.2.spkg \
map_jupiter_instructions \
-e mainnet.sol.streamingfast.io:443 \
-s 325766951 -t +1
jupiter_filtered_transactions (base module with foundational stores)
├── map_spl_initialized_account
├── map_jupiter_trading_data
│ ├── map_token_prices
│ ├── store_swap_volumes
│ └── store_unique_traders
├── map_jupiter_instructions
└── map_jupiter_analytics
# Clone the repository
git clone https://github.com/PaulieB14/Jupiter-Dex-Substreams.git
cd Jupiter-Dex-Substreams
# Build the WASM + package
substreams build
# (Optional) compile-check without packaging
cargo check --target wasm32-unknown-unknown
# Run with GUI for visualization
substreams gui substreams.yaml map_jupiter_instructions \
-e mainnet.sol.streamingfast.io:443 \
-s 325766951 -t +10
| Program | Address | Version |
|---|---|---|
| Jupiter Swap v6 | JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 |
Latest |
| Jupiter Swap v4/v3 | JUP4Fb2cqiRUcaTHdrPC8h2gNsA2ETXiPDD33WcGuJB |
v4/v3 |
| Jupiter Swap v2 | JUP3c2Uh3WA4Ng34tw6kPd2G4C5BB21Xo36Je1s32Ph |
v2 |
| Jupiter Swap v1 | JUP2jxvXaqu7NQY1GmNF4m1vodw12LVXYxbFL2uJvfo |
v1 |
| Jupiter Limit Orders | jupoNjAxXgZ4rjzxzPMP4oxduvQsQtZzyknqvzYNrNu |
Orders |
| Jupiter DCA | DCA265Vj8a9CEuX1eb1LWRnDT7uK6q1xMipnNyatn23M |
DCA |
# Run with GUI
substreams gui substreams.yaml map_jupiter_analytics
# Run specific block range
substreams run substreams.yaml map_jupiter_instructions \
-e mainnet.sol.streamingfast.io:443 \
-s 325766951 -t +10
# Access swap volume store
substreams run substreams.yaml store_swap_volumes \
-e mainnet.sol.streamingfast.io:443 \
-s 325766951 -t +100
# Run with parallelization
substreams run substreams.yaml map_jupiter_analytics \
-e mainnet.sol.streamingfast.io:443 \
-H "X-Substreams-Parallel-Workers: 20" \
-s 325766951 -t +1000
This substream is built using:
store_swap_volumes - Track trading volumes by token pairstore_unique_traders - Monitor unique wallet addressesgit checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)See CONTRIBUTING.md for detailed guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
For support, please:
Built with ❤️ for the Jupiter and Solana ecosystem
substreams gui jupiter-dex-substreams@v0.3.3 map_spl_initialized_accountsubstreams gui jupiter-dex-substreams@v0.3.3 map_jupiter_trading_datasubstreams gui jupiter-dex-substreams@v0.3.3 map_token_pricessubstreams gui jupiter-dex-substreams@v0.3.3 map_jupiter_instructionssubstreams gui jupiter-dex-substreams@v0.3.3 map_jupiter_analyticsblocks_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 jupiter-dex-substreams@v0.3.3 sol:v020:blocks_without_votessubstreams gui jupiter-dex-substreams@v0.3.3 store_swap_volumessubstreams gui jupiter-dex-substreams@v0.3.3 store_unique_traderssubstreams gui jupiter-dex-substreams@v0.3.3 sol:program_ids_without_votes