Beispiel #1
0
 public DecredBalanceProvider(
     ILogFactory logFactory,
     string insightApiUrl)
 {
     _balanceProvider = new InsightApiBalanceProvider
                        (
         logFactory,
         new InsightApiClient(insightApiUrl),
         NormalizeOrDefault
                        );
 }
 public ZCashBalanceProvider(
     ILogFactory logFactory,
     ZCashSettings settings)
 {
     _balanceProvider = new InsightApiBalanceProvider
                        (
         logFactory,
         new InsightApiClient(settings.InsightApiUrl),
         NormalizeOrDefault
                        );
 }
Beispiel #3
0
        public BitcoinSvBalanceProvider(
            ILogFactory logFactory,
            BitcoinSvSettings settings)
        {
            BCash.Instance.EnsureRegistered();

            _network         = Network.Main;
            _balanceProvider = new InsightApiBalanceProvider
                               (
                logFactory,
                new InsightApiClient(settings.InsightApiUrl),
                NormalizeOrDefault
                               );
        }
Beispiel #4
0
        public LiteCoinBalanceProvider(
            ILogFactory logFactory,
            LiteCoinSettings settings)
        {
            Litecoin.Instance.EnsureRegistered();

            _network         = Litecoin.Instance.Mainnet;
            _balanceProvider = new InsightApiBalanceProvider
                               (
                logFactory,
                new InsightApiClient(settings.InsightApiUrl),
                NormalizeOrDefault
                               );
        }
Beispiel #5
0
        public DashBalanceProvider(
            ILogFactory logFactory,
            DashSettings settings)
        {
            NBitcoin.Altcoins.Dash.Instance.EnsureRegistered();

            _network         = NBitcoin.Altcoins.Dash.Instance.Mainnet;
            _balanceProvider = new InsightApiBalanceProvider
                               (
                logFactory,
                new InsightApiClient(settings.InsightApiUrl),
                NormalizeOrDefault
                               );
        }
        public BitcoinGoldBalanceProvider(
            ILogFactory logFactory,
            BitcoinGoldSettings settings)
        {
            BGold.Instance.EnsureRegistered();

            _network         = BGold.Instance.Mainnet;
            _balanceProvider = new InsightApiBalanceProvider
                               (
                logFactory,
                new InsightApiClient(settings.InsightApiUrl),
                NormalizeOrDefault
                               );
        }