Skip to content

webby-the-dev/friendtech-contract-monitor

Repository files navigation

Friend.tech contract monitor

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.

Running

  1. Install node - link
  2. Copy paste .env.example file, rename it to .env and put websocket url to WEBSOCKET_PROVIDER=. You can get it on Quicknode or Blast API for free.
  3. npm install
  4. npm start

Enjoy :)

Issues

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.

Contact

If you have any questions or problems you can contact me on

Twitter

You can also join my discord server for more monitors and scanners

Discord

Buying my friend.tech key gives you access to alpha info

🔑 Buy a key

About

Simple friend.tech monitor/scanner for new users.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published