Follow up on a project token

Hello People. First of all, I am Fernando López from Palma de Mallorca, and this is my first post in your forum.

I am new to Moralis and I have already verified its usefulness for account control and monitoring.
But I was wondering the following:

How can we have the same monitoring of an ERC20 contract?

If what I want to monitor is not the holder accounts connected to my DApp but the movements on a contract,
How should I set up my server?

Thanks in advance.

Hi,

for an ERC20 token, you can sync into your Moralis server db its address, and all the transactions for that ERC20 token should be synced in your Moralise server db.
https://docs.moralis.io/moralis-server/automatic-transaction-sync/historical-transactions#sync-and-watch-address

you can also sync a specific event, like a transfer event with sync event functionality:
https://docs.moralis.io/moralis-server/automatic-transaction-sync/smart-contract-events#why-do-we-need-to-sync-and-watch-smart-contract-events
https://docs.moralis.io/moralis-server/automatic-transaction-sync/smart-contract-events#sync-and-watch-contract-events

1 Like

Thanks for your answer