https://github.com/jdgc/eth-mempool-whale-watcher
listen for large ETH movements in the mempool of a local node
https://github.com/jdgc/eth-mempool-whale-watcher
blockchain ethereum geth mempool mev
Last synced: 5 months ago
JSON representation
listen for large ETH movements in the mempool of a local node
- Host: GitHub
- URL: https://github.com/jdgc/eth-mempool-whale-watcher
- Owner: jdgc
- Created: 2021-07-22T11:39:23.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-22T17:29:20.000Z (almost 5 years ago)
- Last Synced: 2025-10-16T20:46:07.633Z (8 months ago)
- Topics: blockchain, ethereum, geth, mempool, mev
- Language: Go
- Homepage:
- Size: 32.2 KB
- Stars: 25
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eth-mempool-whale-watcher

listen for large ETH movements in the mempool.
This task will monitor pending transactions and report all movements of ETH over a given threshold.
I built this as a way to play around with geth but it may be useful as a tool for certain MEV strategies
or for analytics.
## Usage
### docker
create a .env file in the root directory and set ```NODE_URL``` to a websocket enabed geth node url. (example: wss://eth-mainnet.alchemyapi.io/)
Then run
```
docker-compose up
```
### local
```
NODE_URL= go run main.go
```
### Setting the threshold
the env var ```MONITOR_ETH_THRESHOLD``` (denominated in ETH) is checked first and used for the reporting threshold if possible. If absent a default value is used.
## Contributing
While this is at the present a very simple tool, please feel free to suggest any changes or improvements, or open a PR.