nft-folder-blockchain-connector-besu
Version:
A NestJS-based blockchain connector that communicates with specific smart contracts from the NFT Folder project.
13 lines • 559 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EthersProvider = void 0;
const ethers_1 = require("ethers");
const configuration_service_1 = require("../configuration/configuration.service");
exports.EthersProvider = {
provide: 'EthersProvider',
useFactory: async (configurationService) => {
return new ethers_1.JsonRpcProvider(configurationService.getBlockchainConfiguration().blockchainUrl);
},
inject: [configuration_service_1.ConfigurationService],
};
//# sourceMappingURL=ethersProvider.js.map