Git Product home page Git Product logo

friendtech-contract-monitor's Introduction

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

friendtech-contract-monitor's People

Contributors

webby-the-dev avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

feriolumiere

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.