Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/damiancipolat/bscnodehook
- Owner: damiancipolat
- Created: 2022-06-24T01:23:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-25T15:31:56.000Z (over 2 years ago)
- Last Synced: 2023-03-11T13:56:52.132Z (almost 2 years ago)
- Topics: binance, bscscan, bscscan-api, crypto, nodes
- Language: JavaScript
- Homepage:
- Size: 107 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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