Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/damiancipolat/bscnodehook

This project is an experiment of how to create a process that scan transactions of a bsc address list to detect changes in the transaction and launch a hook. Use BSCSCAN api.
https://github.com/damiancipolat/bscnodehook

binance bscscan bscscan-api crypto nodes

Last synced: about 1 month ago
JSON representation

This project is an experiment of how to create a process that scan transactions of a bsc address list to detect changes in the transaction and launch a hook. Use BSCSCAN api.

Awesome Lists containing this project

README

        

# BSC Node hook
This project is a POC of how to detect changes in a BNB wallets, the idea is to create a system that can detect incoming transferences in a list of wallet addres aka (watchlist). We are using the BSC blockchain.

### Purpose:
This project was a poc to try to resolve how to detect incoming transaction of a wallet, to implement a seel feature for a exchange project.

### Stack:
- Nodejs
- Axios
- Dotenv
- node-cron

### Provider:
- BscScan Api: https://docs.bscscan.com / https://api.bscscan.com

### Strategy:
The main strategy is make pooling in the watchlist and detect transactions, and compare with registered transactions if a incoming transaction is detected make a request of the url configured. We use a variable as memory db, this is only for testing purposes is'nt recomended in a production environment.

This diagram show the strategy applied.

### Reference:
I have created this project in the idea presented in this yotube video:
https://www.youtube.com/watch?v=PLSFVzYOcS8&t=892s