public SupplyBlockchain(string url, string address, INethereumLogger nethereumLogger) { _url = url; SupplyChainContract = new SupplyContractRepository(address, Web3Api, nethereumLogger); }
private void Setup() { var web3 = new Web3(INFURA_API_ADDRESS); _repository = new SupplyContractRepository(SUPPLY_CHAIN_CONTRACT_ADDRESS, web3, new NethereumLogger()); }