Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tynes/hsd-mempool-watch
test app for watching txs from mempool
https://github.com/tynes/hsd-mempool-watch
Last synced: 9 days 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-20T18:59:35.000Z (over 4 years ago)
- Last Synced: 2024-11-06T18:01:10.175Z (about 2 months 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
```