https://github.com/tynes/hsd-mempool-watch
test app for watching txs from mempool
https://github.com/tynes/hsd-mempool-watch
Last synced: 8 months ago
JSON representation
test app for watching txs from mempool
- Host: GitHub
- URL: https://github.com/tynes/hsd-mempool-watch
- Owner: tynes
- Created: 2020-04-20T18:57:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-20T18:59:35.000Z (about 6 years ago)
- Last Synced: 2024-12-26T01:26:51.207Z (over 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hsd-mempool-watch
Quick guide on how to watch the mempool.
## Installation
```bash
$ npm i
```
This app uses 3 terminals.
### Terminal 1
Start `hsd` in regtest
```bash
$ npx hsd --network regtest --memory true
```
### Terminal 2
Set up the mempool listener.
```bash
$ node watch.js --network regtest
```
### Terminal 3
Create a bunch of transactions and mine blocks.
```bash
$ node create-txs.js --network regtest
```