Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTL v0.15.2 update on LND #1156

Merged
merged 2 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ride-the-lightning/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
APP_PORT: 3001

web:
image: shahanafarooqui/rtl:0.14.1@sha256:88bbf2dac4a5eedd0b692e97bc6c50a5266f44aff8215770ea2fc4eb7495e41e
image: shahanafarooqui/rtl:v0.15.2@sha256:e2c40d04821a1a6e9bcb55b4276c428c6c416ab1c33b4efd256366430234ea6a
user: "1000:1000"
restart: on-failure
stop_grace_period: 1m
Expand All @@ -24,6 +24,7 @@ services:
RTL_CONFIG_PATH: "/data"
CHANNEL_BACKUP_PATH: "/data/backup"
LN_IMPLEMENTATION: "LND"
BLOCK_EXPLORER_URL: "${APP_RTL_BLOCK_EXPLORER_URL}"

# LND connection details
LN_SERVER_URL: "https://$APP_LIGHTNING_NODE_IP:$APP_LIGHTNING_NODE_REST_PORT"
Expand Down
17 changes: 17 additions & 0 deletions ride-the-lightning/exports.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Dynamically export the block explorer URL based on what network the Bitcoin node is running on

BLOCK_EXPLORER_URL="https://mempool.space"

# TODO: check for umbrelOS Mempool app and use local URL if installed
# e.g., "${UMBREL_ROOT}/scripts/app" ls-installed | grep --quiet 'mempool'
# RTL would need a way to dynamically construct the URL for the local Mempool app
# e.g., localExplorerUrl = `${window.location.protocol}//${window.location.hostname}:${LOCAL_MEMPOOL_PORT}`;

# Append APP_BITCOIN_NETWORK to the URL if it is not mainnet (e.g., https://mempool.space/testnet)
if [[ "${APP_BITCOIN_NETWORK}" != "mainnet" ]]; then
echo "Bitcoin is running on ${APP_BITCOIN_NETWORK}. Appending ${APP_BITCOIN_NETWORK} to the block explorer URL."
BLOCK_EXPLORER_URL="${BLOCK_EXPLORER_URL}/${APP_BITCOIN_NETWORK}"
echo "BLOCK_EXPLORER_URL: ${BLOCK_EXPLORER_URL}"
fi

export APP_RTL_BLOCK_EXPLORER_URL="${BLOCK_EXPLORER_URL}"
Empty file added ride-the-lightning/rtl/.gitkeep
Empty file.
12 changes: 10 additions & 2 deletions ride-the-lightning/umbrel-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ manifestVersion: 1
id: ride-the-lightning
category: bitcoin
name: Ride The Lightning
version: "0.14.1-beta-boltzclient"
version: "0.15.2-beta"
tagline: A powerful dashboard for the Lightning Network
description: >-
RTL is a full function, device agnostic, web user interface to help
Expand Down Expand Up @@ -40,7 +40,15 @@ gallery:
- 2.jpg
- 3.jpg
releaseNotes: >-
This release upgrades the Ride The Lightning app to use boltz-client, which employs taproot swaps by default and introduces additional changes under the hood.
- Integration with mempool.space api to display prevailing fee rates on various channel open/close modals

- Links enabled for viewing transactions on mempool.space from modals of on-chain transactions and channel info

- Added a new config param blockExplorerUrl (-e BLOCK_EXPLORER_URL) to customize for a local/testnet instances of mempool.space

- CPFP enabled on pending on-chain receive transactions (including funds expected from coop close)

- Simplification of pending channel open fee bumping modal


Full release notes for boltz-client can be found at https://github.com/BoltzExchange/boltz-client/releases
Expand Down