Simple monitor/scanner for new users on friend.tech.
It connects directly to friend.tech contract and listens to all Trade
events. It checks if it is a new account and console.log
's it. That's it. Pretty simple.
- Install
node
- link - Copy paste
.env.example
file, rename it to.env
and put websocket url toWEBSOCKET_PROVIDER=
. You can get it on Quicknode or Blast API for free. npm install
npm start
Enjoy :)
For some reason event listener stops getting new data after few hours and you have to restart it to make it work again. I've added "Heartbeat" pinging every two minutes but it does not work. It still closes websocket connection for unknown reason. I've tried different websocket providers but same result.
Another thing is that for some reason sometimes you get doubled, tripled events... Not sure what the problem is. Could be a websocket.
If you have any questions or problems you can contact me on
You can also join my discord server for more monitors and scanners
Buying my friend.tech key gives you access to alpha info