diff --git a/ride-the-lightning/docker-compose.yml b/ride-the-lightning/docker-compose.yml index bb120fde..809ca450 100644 --- a/ride-the-lightning/docker-compose.yml +++ b/ride-the-lightning/docker-compose.yml @@ -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 @@ -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" diff --git a/ride-the-lightning/exports.sh b/ride-the-lightning/exports.sh new file mode 100644 index 00000000..17cfecb6 --- /dev/null +++ b/ride-the-lightning/exports.sh @@ -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}" diff --git a/ride-the-lightning/rtl/.gitkeep b/ride-the-lightning/rtl/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/ride-the-lightning/umbrel-app.yml b/ride-the-lightning/umbrel-app.yml index 59f12f5a..930ce923 100644 --- a/ride-the-lightning/umbrel-app.yml +++ b/ride-the-lightning/umbrel-app.yml @@ -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 @@ -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