Пример #1
0
 public SupplyBlockchain(string url, string address, INethereumLogger nethereumLogger)
 {
     _url = url;
     SupplyChainContract = new SupplyContractRepository(address, Web3Api, nethereumLogger);
 }
Пример #2
0
        private void Setup()
        {
            var web3 = new Web3(INFURA_API_ADDRESS);

            _repository = new SupplyContractRepository(SUPPLY_CHAIN_CONTRACT_ADDRESS, web3, new NethereumLogger());
        }