Skip to content

Commit

Permalink
feat(connector): add general lndhub connector #576
Browse files Browse the repository at this point in the history
  • Loading branch information
escapedcat committed Sep 28, 2022
1 parent 8a3a301 commit 92a6fb1
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/app/router/connectorRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ import galoyBitcoinBeach from "/static/assets/icons/galoy_bitcoin_beach.png";
import galoyBitcoinJungle from "/static/assets/icons/galoy_bitcoin_jungle.png";
import lnbits from "/static/assets/icons/lnbits.png";
import lnd from "/static/assets/icons/lnd.png";
import lndhub from "/static/assets/icons/lndhub.png";
import lndhubBlueWallet from "/static/assets/icons/lndhub_bluewallet.png";
import lndhubGo from "/static/assets/icons/lndhub_go.png";
import mynode from "/static/assets/icons/mynode.png";
import raspiblitz from "/static/assets/icons/raspiblitz.png";
import start9 from "/static/assets/icons/start9.png";
Expand Down Expand Up @@ -62,7 +63,20 @@ function getConnectorRoutes() {
"choose_connector.lndhub.description",
translationI18nNamespace
),
logo: lndhub,
logo: lndhubBlueWallet,
},
{
path: "lnd-hub-go",
element: <ConnectLndHub />,
title: i18n.t(
"choose_connector.lndhub_go.title",
translationI18nNamespace
),
description: i18n.t(
"choose_connector.lndhub_go.description",
translationI18nNamespace
),
logo: lndhubGo,
},
{
path: "lnbits",
Expand Down
15 changes: 15 additions & 0 deletions src/i18n/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,21 @@
"connection_failed": "Connection failed. Is your LNDHub URI correct?"
}
},
"lndhub_go": {
"title": "LNDHub",
"description": "Connect to your LNDHub mobile wallet",
"page": {
"title": "Connect to LNDHub",
"description": "Choose the wallet you want to connect, open it, click on \"...\", click on Export/Backup to display the QR code and scan it with your webcam."
},
"uri": {
"label": "LNDHub Export URI"
},
"errors": {
"invalid_uri": "Invalid LNDHub URI",
"connection_failed": "Connection failed. Is your LNDHub URI correct?"
}
},
"lnbits": {
"title": "LNbits",
"description": "Connect to your LNbits account",
Expand Down
File renamed without changes
Binary file added static/assets/icons/lndhub_go.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 92a6fb1

Please sign in to comment.