it now gives identical output to esplora, tested with the following TXs (testnet): 88710a9a6751827490f260e307757543f533c0f18bcd6865794713d263d5f5a4 446b2aad074de94efa28a1e82d2e6016dcb8a8ca38aca1a5a8eac6ef54e56a2e 4cfc410092e9514c14f48b61e20d2d3baf540ae7e981a821dd8c05dd4b7cd591 4b55dde38173174ab09e5571ebffffca798ba11143d28b9770600ff376dc778a
Setup backend watchers
The backend is static. Typescript scripts are compiled into the dist
folder and served through a node web server.
You can avoid the manual shutdown/recompile/restart command line cycle by using a watcher.
Make sure you are in the backend
directory cd backend
.
- Install nodemon and ts-node
sudo npm install -g ts-node nodemon
- Run the watcher
Note: You can find your npm global binary folder using
npm -g bin
, where nodemon will be installed.
nodemon src/index.ts --ignore cache/ --ignore pools.json