mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
34 lines
836 B
C#
34 lines
836 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using BTCPayServer.Services.Rates;
|
|
using NBitcoin;
|
|
|
|
namespace BTCPayServer
|
|
{
|
|
public class BTCPayNetwork
|
|
{
|
|
public Network NBitcoinNetwork { get; set; }
|
|
public string CryptoCode { get; internal set; }
|
|
public string BlockExplorerLink { get; internal set; }
|
|
public string UriScheme { get; internal set; }
|
|
public IRateProvider DefaultRateProvider { get; set; }
|
|
|
|
[Obsolete("Should not be needed")]
|
|
public bool IsBTC
|
|
{
|
|
get
|
|
{
|
|
return CryptoCode == "BTC";
|
|
}
|
|
}
|
|
|
|
public string CryptoImagePath { get; set; }
|
|
public override string ToString()
|
|
{
|
|
return CryptoCode;
|
|
}
|
|
}
|
|
}
|