1. Download the latest dogecashd version from https://download.doged.io
2. Unzip, rename the `bin` directory in it to `src`, and `doged`replace `bitcoind` in the build dir with `doged` (renamed to `bitcoind`)
3. Within modules/ecash-lib, run `IS_LEGACY_MODE=true BUILD_DIR=<path/containing/that/src> npm run integration-tests`