From d30ebe0f90e5581dd869daa2d80abc26af26db5d Mon Sep 17 00:00:00 2001 From: Anthony Potdevin <31413433+apotdevin@users.noreply.github.com> Date: Fri, 9 Dec 2022 19:48:37 +0100 Subject: [PATCH] ui: add Terminal and Amboss to Lightning explorer options --- app/src/store/stores/settingsStore.ts | 2 +- app/src/util/constants.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/store/stores/settingsStore.ts b/app/src/store/stores/settingsStore.ts index 693c97fec..291dac287 100644 --- a/app/src/store/stores/settingsStore.ts +++ b/app/src/store/stores/settingsStore.ts @@ -55,7 +55,7 @@ export default class SettingsStore { bitcoinTxUrl = BitcoinExplorerPresets['mempool.space']; /** url to a graph explorer for Lightning nodes */ - lnNodeUrl = LightningExplorerPresets['1ml.com']; + lnNodeUrl = LightningExplorerPresets['terminal']; /** the order minimum channel size chosen by the user */ minChanSize = DEFAULT_MIN_CHAN_SIZE; diff --git a/app/src/util/constants.ts b/app/src/util/constants.ts index 135662806..ae5a7a965 100644 --- a/app/src/util/constants.ts +++ b/app/src/util/constants.ts @@ -81,6 +81,8 @@ export const BitcoinExplorerPresets: Record = { /** the list of supported Lightning graph explorers for nodes*/ export const LightningExplorerPresets: Record = { + terminal: 'https://terminal.lightning.engineering/{pubkey}', + 'amboss.space': 'https://amboss.space/node/{pubkey}', '1ml.com': 'https://1ml.com/node/{pubkey}', };