stack-orchestrator/config/watcher-uniswap-v3/run.sh
prathamesh0 d51508b01d
[WIP] Add a Uniswap v3 watcher-only stack (#82)
* Add a stack for uniswap watcher with info app

* Add deployment instructions

* Use docker interactive option while loading the db dumps
2022-12-22 19:30:56 +05:30

11 lines
237 B
Bash
Executable File

#!/bin/sh
set -e
set -u
echo "Initializing watcher..."
yarn fill --start-block $UNISWAP_START_BLOCK --end-block $((UNISWAP_START_BLOCK + 1))
echo "Running active server"
DEBUG=vulcanize:* exec node --enable-source-maps dist/server.js