UNPKG

nft-folder-blockchain-connector-besu

Version:

A NestJS-based blockchain connector that communicates with specific smart contracts from the NFT Folder project.

14 lines (13 loc) 659 B
import { Logger } from '@nestjs/common'; import { Contract } from 'ethers'; import { BlockchainService } from 'src/shared/blockchain.service'; import { ConfigurationService } from 'src/configuration/configuration.service'; export declare abstract class TokenBaseService { protected readonly blockchainService: BlockchainService; protected readonly configurationService: ConfigurationService; protected readonly logger: Logger; protected tokenInstance: Contract; constructor(blockchainService: BlockchainService, configurationService: ConfigurationService); private initializeTokenInstance; protected handleError(err: any): void; }