diff --git a/BTCPayServer.Common/Altcoins/Liquid/BTCPayNetworkProvider.LiquidAssets.cs b/BTCPayServer.Common/Altcoins/Liquid/BTCPayNetworkProvider.LiquidAssets.cs index b5fde6acc..fe841235d 100644 --- a/BTCPayServer.Common/Altcoins/Liquid/BTCPayNetworkProvider.LiquidAssets.cs +++ b/BTCPayServer.Common/Altcoins/Liquid/BTCPayNetworkProvider.LiquidAssets.cs @@ -51,6 +51,28 @@ namespace BTCPayServer CoinType = NetworkType == NetworkType.Mainnet ? new KeyPath("1776'") : new KeyPath("1'"), SupportRBF = true }); + + Add(new ElementsBTCPayNetwork() + { + CryptoCode = "LCAD", + NetworkCryptoCode = "LBTC", + ShowSyncSummary = false, + DefaultRateRules = new[] + { + "LCAD_CAD = 1", + "LCAD_X = CAD_BTC * BTC_X", + "LCAD_BTC = bylls(CAD_BTC)", + }, + AssetId = new uint256("0e99c1a6da379d1f4151fb9df90449d40d0608f6cb33a5bcbfc8c265f42bab0a"), + DisplayName = "Liquid CAD", + BlockExplorerLink = NetworkType == NetworkType.Mainnet ? "https://blockstream.info/liquid/tx/{0}" : "https://blockstream.info/testnet/liquid/tx/{0}", + NBXplorerNetwork = nbxplorerNetwork, + UriScheme = "liquidnetwork", + CryptoImagePath = "imlegacy/lcad.png", + DefaultSettings = BTCPayDefaultSettings.GetDefaultSettings(NetworkType), + CoinType = NetworkType == NetworkType.Mainnet ? new KeyPath("1776'") : new KeyPath("1'"), + SupportRBF = true + }); } } diff --git a/BTCPayServer/wwwroot/imlegacy/LCAD.png b/BTCPayServer/wwwroot/imlegacy/LCAD.png new file mode 100644 index 000000000..41b11d142 Binary files /dev/null and b/BTCPayServer/wwwroot/imlegacy/LCAD.png differ