Hey guys, I have a technical question cause i don’t know the proper way to setup this. I have a program who do things using web3 and once it’s done I want it to simultanetly start checking the price of a token and check the from argument of every transaction. I know how to do both but idk how to run them simultanetly
Dec 12, 2021, 2:00 AM
Should I make 2 separate scripts and run them, should I use workers or should i use cron job doing both at the same time (but that would impact performance I think)
Hope someone will take his time to answer, thanks in advance!
if you want to be really fast, setup ur own full node and subscribe to the pendingTransaction event. Then filtrer using the « from » argument in every transaction to only look at the one from a specific address
Dec 12, 2021, 2:03 AM