I'd like to monitor the transfers of a certain ERC-20 token but so far I didn't find a way. I'm currently using web3.py. Any suggestion? Thanks
4 Answers
One of the winners of the ETHWaterloo Hackaton last year (Nov 2017) was a team called Rufflet. They basically built a monitoring tools for smart contracts where you can watch functions & events triggered for a given smart contracts.
https://rufflet.cryptokitties.co/
The following example graph cryptokitties but you can add your contract and monitor it
-
Very buggy. I added another smart contract, but it didn't even switch from CryptoKitties. I couldn't really select week, etc. Useless.– duality_Commented Jul 17, 2018 at 5:45
-
how did that win a hackaton? The front-end was probably more work than the queries lol. Commented Aug 25, 2018 at 11:37
If you're interested in monitoring token transfers for large amounts, or to/from an exchange I can suggest you to use aphrozeus. It's a website, that monitors token transfers in real-time and filters outlier transactions.
https://web3js.readthedocs.io/en/1.0/web3-eth-contract.html#contract-events
myContract.events.MyEvent([options][, callback])
OR
https://web3js.readthedocs.io/en/1.0/web3-eth-subscribe.html
var subscription = web3.eth.subscribe('logs', {
address: '0x123456..',
topics: ['0x12345...']
}, function(error, result){
if (!error)
console.log(result);
});