0xpapercut / solana-substreams

Solana substreams monorepo.
11 stars 3 forks source link

[Question] Why impl instruction level parsing of raydium events #6

Closed nabeel99 closed 2 months ago

nabeel99 commented 2 months ago

was curious as to why did you not just decode the program logs that raydium emits, what top ledger does. instead you hardcoded account indexes and the specific burn, mint ix instruction indexes inside inner instructions.

0xpapercut commented 2 months ago

i agree that a large part of what i did was redundant. but i amused myself coding this so yea. guess the decision here came before the explanation