0

This question already has an answer here:

I want to list all smart contracts deployed on a private Ethereum chain, using Nethereum, and also those which were deployed by a certain address.

I have seen here and here but I cannot get anywhere

In the second link, an answer says

For the present time (block ~ 5250000) there are ~2350000 contracts in ethereum blockchain. My search program worked for about a week.

Aren't contracts easily identifiable on a blockchain? and if not, is it possible to create some sort of off-chain reference in a database to re-identify them quickly or something?

I am looking for practical information on how to do this on a private blockchain

marked as duplicate by Ismael, Achala Dissanayake, Raghav Sood, Nicolas Massart, nyusternie Aug 6 '18 at 0:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • It is not a duplicate, I even mentioned that link in my question and it is because it does not give me what I am looking for that I am writing a question here. I even asked a question about it. – DottoreM Jul 31 '18 at 6:56
  • The second answer in that link has the answer you are looking for, contract are not easily identifiable on the blockchain, you have to iterate for every block and transaction to determine if a contract was deployed. Also an 'internal transaction' can be used to deploy a contract. – Ismael Jul 31 '18 at 21:07