Skip to content

Commit

Permalink
Merge pull request #467 from apotdevin/patch-1
Browse files Browse the repository at this point in the history
ui: add Terminal and Amboss to Lightning explorer options
  • Loading branch information
jamaljsr authored Jun 16, 2023
2 parents 6666d8f + d30ebe0 commit 3737a16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/store/stores/settingsStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions app/src/util/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ export const BitcoinExplorerPresets: Record<string, string> = {

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

Expand Down

0 comments on commit 3737a16

Please sign in to comment.