import { Injectable } from '@nestjs/common' ; import { ScryptaBlockchainService } from '../../module/npm' ; import { PinoLogger } from 'pino-logger' ; import { InjectPinoLogger } from 'nestjs-pino' ; @ Injectable ( ) export class AppService extends ScryptaBlockchainService { constructor ( @ InjectPinoLogger ( AppService . name ) logger ) { super ( logger ) ; } protected getNodesUrl ( ) { return Promise . resolve ( [ 'https://idanodejs01.scryptachain.org' ] ) ; } protected isTestnet ( ) { return Promise . resolve ( false ) ; } }