Last month, I came across a tweet by kiryl requesting an open-source transaction parser for popular DEFI apps. This led me to develop a minimal ope...
For further actions, you may consider blocking this person and/or reporting abuse
This is exactly what I have been looking for.. A straight forward and clear guide on how you can quickly and easily map and parse information from the solana blockchain.
I have been using IDL mappings and then trying to find the offsets by searching through SDK variables. Thank you for this!
You're welcome
Will be releasing the second part soon which will focus on native rust programs
Where can you find the IDL for Raydium v4? I'm struggling with that
Raydium V4 does not have an IDL as it was written using native Rust, not Anchor. Will be releasing an article soon on how to parse transactions using Raydium V4.
Great work sir,
is it possible to make this code decode and parse local JSONfiles of fetched transaction? I'm trying to run all the processing locally and minimize interaction with rpcs, any help would be greatly appreciated!!
Yes. You can replace the line that fetches the transaction from RPC with your transaction JSON.
If you copy this code all's good except buySellIxs ends being an empty array?
Issue was I was using a handmade sha256 function not the one from @nobles/hashes
Great â¨ī¸
where is the second part.. Can't wait to see it.
does this decode the vdt as well?