3 ms·
Did you read the very first result on that search?
by decentralised 9y ago
Did you read the very first result on that search?
- blunte 9y agoNot getting into this discussion, but a slight reminder - Google can and does serve different search results to different people (or even different browsers on the same computer).
- decentralised 9y agoBoth good points. ERC20 token should be indistinguishable from each other because it's a standard devised precisely to encourage and facilitate trading.
- kang 9y agoI know and I deliberately put a google search query instead of a specific link, because I read all the google links and this cannot be done decentrally.
- kang 9y agoPlease link me up, I have checked and tried more than 20 results and none of them tell why or work.
- decentralised 9y agoSorry for the delay in answering back. This is one example: https://github.com/bokkypoobah/TokenTrader/blob/master/contracts/TokenTraderFactory.sol#L286-L321 https://github.com/bokkypoobah/TokenTrader/blob/master/contr... Originally asked here: https://ethereum.stackexchange.com/questions/12757/detect-or-verify-reception-of-erc20-tokens-by-contract https://ethereum.stackexchange.com/questions/12757/detect-or... You can also check with MyEtherWallet: https://ethereum.stackexchange.com/questions/21082/use-mew-for-testing-smart-contract https://ethereum.stackexchange.com/questions/21082/use-mew-f... The short answer is that you need the contract code and ABI to check if it is a ERC20 compliant token or not but you can use http://testnet.etherscan.io/ http://testnet.etherscan.io/ (or the live version) to get this information.
- kang 9y agoSo manual then? To reach the ethereum genesis block programatically, starting from an erc20 token I give you, you need that "need the contract code" part which is centralised.
- decentralised 9y agoThere is a difference between tokens and the currency Ether so I'm not sure what you mean with the genesis block in regards to ERC20 tokens here. The contract that holds the ERC20 is hosted in every single node of the blockchain so it is not centralised at all.