electrs-mockserver/README.md
Simon Lindh e8c21da345 Fixes
2020-07-22 14:00:39 +07:00

485 B

electrs-mockserver

A simple mock server that emulated electrs responses for the mempool project backend

Install

yarn install

Place a mempool.space mempool dump into /db named mempool.json

Run

ts-node src/index.ts

Commands

http://localhost:50001/start-auto (starts automatic random transaction and block creation)

http://localhost:50001/stop-auto

http://localhost:50001/create-block

http://localhost:50001/create-transactions?amount={amount}