I need to parse live Ethereum blockchain to retrieve all transactions that belongs to particular smart contract's address.
So my general question is how can I do it properly?
My thought about it so far:
- Need to download blockchain on my local machine
- Loop thought all blockchain block-by-block and filter transactions against smart contract address that I'm interested in.
- Store retrieved information in JSON file.
As far I know, Ethereum blockchain format is LevelDb and I guess it's doable. Could please help me this my task and point to right direction?