UNPKG

@ducatus/ducatus-wallet-service-rev

Version:
16 lines (12 loc) 360 B
#!/usr/bin/env node import _ from 'lodash'; import { BlockchainMonitor } from '../lib/blockchainmonitor'; const config = require('../config'); const log = require('npmlog'); log.debug = log.verbose; const bcm = new BlockchainMonitor(); bcm.start(config, err => { if (err) throw err; log.level = 'verbose'; log.debug('Blockchain monitor started'); });