How can I query a list of all current contracts with geth?
Is there a way to see the contracts' class names?
One way is to run a script in Geth's console, that gets the receipt of each transaction and looks at the contractAddress
property: web3.eth.getTransactionReceipt
Use web3.eth.getBlock to get the transaction hashes to feed into web3.eth.getTransactionReceipt
.
Contracts' class names are not stored on the blockchain, so they can't be seen.