I would like to create a sever that continuously watch the events of multiple smart contract at once. Sending me an alert via email when an event is detected.
I understand that there is a web3.js function that watch contracts. But how do I make it run perpetually on my server to do the task?
Furthermore, when there is an additional contract i would like to watch, is it possible to dynamically watch the new contract.