I would like to get all ERC20 token smart contract bytecodes in Ethereum network.
Is there a way to scan the blockchain for ERC20 smart contracts and/or scan an address for a [ERC20] smart contract?
Have a look at EIP165. It allows you some form of introspection wether an address offers a certain interface. Obviously this only works for contracts that at least implement ERC20 and EIP165.
How to detect if a contract implements ERC-165:
If the call returns true, a second call is made with input data 0x01ffc9a7ffffffff00000000000000000000000000000000000000000000000000000000.
If the second call fails or returns true, the destination contract does not implement ERC-165. Otherwise it implements ERC-165.
How to detect if a contract implements any given interface:
There are many ways to do this:
1 ...READ MORE
The link that has been shared in this ...READ MORE
While Ethereum is the most popular platform ...READ MORE
This was a bug. They've fixed it. ...READ MORE
It's a lot of question. I will ...READ MORE
Summary: Both should provide similar reliability of ...READ MORE
Consider following tutorial from Hyperledger Fabric "Getting Started" pages.
Basically ...READ MORE
not enough information as to how you ...READ MORE
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.