mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-12-01 09:22:31 +03:00
Alby Hub: lnd dependency replaced by dynamic backend detection getalby#1349 (#3452)
Co-authored-by: nmfretz <nmfretz@gmail.com>
This commit is contained in:
1 parent
9454b13748
commit
1fcfdadd27
3 files changed
+37
-21
No files matched your search
@@ -10,12 +10,12 @@ services:
|
||||
user: 1000:1000
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data:/data
|
||||
- ${APP_LIGHTNING_NODE_DATA_DIR}:/lnd:ro
|
||||
- ${UMBREL_ROOT}/app-data/lightning/data/lnd:/lnd:ro
|
||||
environment:
|
||||
LN_BACKEND_TYPE: "LND"
|
||||
LND_ADDRESS: $APP_LIGHTNING_NODE_IP:$APP_LIGHTNING_NODE_GRPC_PORT
|
||||
LND_CERT_FILE: "/lnd/tls.cert"
|
||||
LND_MACAROON_FILE: "/lnd/data/chain/bitcoin/$APP_BITCOIN_NETWORK/admin.macaroon"
|
||||
LN_BACKEND_TYPE: ${APP_ALBYHUB_LN_BACKEND:-LDK}
|
||||
LND_ADDRESS: ${APP_ALBYHUB_LND_ADDRESS}
|
||||
LND_CERT_FILE: ${APP_ALBYHUB_LND_CERT_FILE}
|
||||
LND_MACAROON_FILE: ${APP_ALBYHUB_LND_MACAROON_FILE}
|
||||
WORK_DIR: "/data/albyhub"
|
||||
COOKIE_SECRET: ${APP_SEED}
|
||||
LOG_EVENTS: "true"
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Check if Lightning Node app is installed and export required variables if so
|
||||
installed_apps=$("${UMBREL_ROOT}/scripts/app" ls-installed)
|
||||
|
||||
if echo "$installed_apps" | grep --quiet 'lightning'; then
|
||||
export APP_ALBYHUB_LN_BACKEND="LND"
|
||||
export APP_ALBYHUB_LND_ADDRESS="10.21.21.9:10009"
|
||||
export APP_ALBYHUB_LND_CERT_FILE="/lnd/tls.cert"
|
||||
# Without `lightning` as a dependency, we need to hardcode the LND macaroon file path
|
||||
# This means Alby Hub currently only works with mainnet
|
||||
# When optional dependencies are supported in umbrelOS we can revisit this
|
||||
export APP_ALBYHUB_LND_MACAROON_FILE="/lnd/data/chain/bitcoin/mainnet/admin.macaroon"
|
||||
fi
|
||||
+18
-16
@@ -3,7 +3,7 @@ id: albyhub
|
||||
name: Alby Hub ✨
|
||||
tagline: Self-custodial Lightning wallet with integrated node and app connections
|
||||
category: bitcoin
|
||||
version: "1.20.0"
|
||||
version: "1.20.0-ldk"
|
||||
port: 59000
|
||||
description: >-
|
||||
Alby Hub is an open-source, self-custodial Bitcoin Lightning wallet, with the easiest-to-use Lightning Network node for everyone.
|
||||
@@ -13,11 +13,20 @@ description: >-
|
||||
Effortlessly connect to a variety of apps like the Alby Browser Extension or Alby Go mobile app, create sub-wallets for family and friends, and take full control of your funds—all within an intuitive interface and developer-ready APIs.
|
||||
|
||||
|
||||
🛠️ SET-UP INSTRUCTIONS
|
||||
|
||||
|
||||
Alby Hub can be set up in two ways:
|
||||
|
||||
1) As a standalone app without Lightning Node (LND) installed: On install, choose to "Get Started (LDK)" to start using the embedded LDK based Lightning node.
|
||||
|
||||
2) Connected to the Lightning Node app (LND) running on your Umbrel: Make sure to first install and set up Lightning Node on your Umbrel. Then install Alby Hub, which will automatically configure itself to connect to the Lightning Node app running on your Umbrel.
|
||||
|
||||
|
||||
USEFUL LINKS
|
||||
- Feature requests, bug reports, feedback board - https://feedback.getalby.com/-alby-hub-request-a-feature
|
||||
- Community of users and developers - https://discord.getalby.com/
|
||||
- List of apps and projects that use NWC protocol - https://github.com/getAlby/awesome-nwc
|
||||
|
||||
developer: Alby
|
||||
website: https://albyhub.com
|
||||
submitter: Alby
|
||||
@@ -30,23 +39,16 @@ gallery:
|
||||
- 3.jpg
|
||||
- 4.jpg
|
||||
releaseNotes: >-
|
||||
This release introduces a new connection wizard to guide users through connecting apps from the app store. You can now export Alby Hub transactions to CSV for both the main transaction list and individual connections/subwallets.
|
||||
|
||||
|
||||
Key highlights:
|
||||
- New connection wizard for app store connections
|
||||
- CSV export for transactions
|
||||
- All channels can now be purchased using your preferred payment method (lightning wallet or credit card)
|
||||
- New search dialog and hotkey for easy navigation
|
||||
- More seamless first channel flow
|
||||
|
||||
|
||||
Many other minor improvements and bug fixes are included in this release.
|
||||
This release adds the option to run Alby Hub as a standalone app on umbrelOS with Alby Hub's embedded LDK based Lightning node. This means there are now two ways to run Alby Hub on umbrelOS:
|
||||
- As a standalone app without Lightning Node (LND) installed
|
||||
- Connected to the Lightning Node app (LND) when installed on your Umbrel
|
||||
|
||||
|
||||
No other changes to Alby Hub are included in this release.
|
||||
|
||||
|
||||
Full release notes are found at https://github.com/getAlby/hub/releases
|
||||
dependencies:
|
||||
- lightning
|
||||
dependencies: []
|
||||
path: ""
|
||||
defaultUsername: ""
|
||||
defaultPassword: ""
|
||||
Reference in new issue
Block a user