I am new to web3.js and solidity. My question is related to the way we search on the block-chain. It is easy to search for a particular contract if we know the contract address. However, how can we find and identify a specific type of contract using the address used to create the contracts in the first place?
For eg. I have a contract ContractA which is created by 'from' address AddressA using web3.js. Now I want to find all the instances of ContractA created by AddressA.
I tried searching using web3.eth.filter API but noting ever returns. Please help.
I also read about using registry pattern to store all the contracts and ask the registry, but couldn't find any useful example.