public void Setup() { _server = new FederationServer("https://api.stellar.org/federation", "stellar.org"); _fakeHttpMessageHandler = new Mock <FakeHttpMessageHandler> { CallBase = true }; _httpClient = new HttpClient(_fakeHttpMessageHandler.Object); _server.HttpClient = _httpClient; _stellarHorizonservice = new StellarHorizonService("https://horizon-testnet.stellar.org/", _httpClient); }
public WalletService(IStellarHorizonService stellarHorizonService) { _stellarHorizonService = stellarHorizonService; }
public TransactionService(IStellarHorizonService stellarHorizonService) { _stellarHorizonService = stellarHorizonService; }