Skip to content

Commit 3737a16

Browse files
authored
Merge pull request #467 from apotdevin/patch-1
ui: add Terminal and Amboss to Lightning explorer options
2 parents 6666d8f + d30ebe0 commit 3737a16

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/src/store/stores/settingsStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default class SettingsStore {
5555
bitcoinTxUrl = BitcoinExplorerPresets['mempool.space'];
5656

5757
/** url to a graph explorer for Lightning nodes */
58-
lnNodeUrl = LightningExplorerPresets['1ml.com'];
58+
lnNodeUrl = LightningExplorerPresets['terminal'];
5959

6060
/** the order minimum channel size chosen by the user */
6161
minChanSize = DEFAULT_MIN_CHAN_SIZE;

app/src/util/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ export const BitcoinExplorerPresets: Record<string, string> = {
8181

8282
/** the list of supported Lightning graph explorers for nodes*/
8383
export const LightningExplorerPresets: Record<string, string> = {
84+
terminal: 'https://terminal.lightning.engineering/{pubkey}',
85+
'amboss.space': 'https://amboss.space/node/{pubkey}',
8486
'1ml.com': 'https://1ml.com/node/{pubkey}',
8587
};
8688

0 commit comments

Comments
 (0)