Add LaWallet NWC (#5801)

Co-authored-by: nmfretz <nmfretz@gmail.com>
This commit is contained in:
Agustin Kassisandnmfretz authored and GitHub committed 2026-12-01 12:15:01 +10:00
1 parent fbb44dd968
commit 2431b0763d
3 files changed
+135

No files matched your search

+1
View File
@@ -0,0 +1 @@
+89
View File
@@ -0,0 +1,89 @@
version: "3.7"
services:
app_proxy:
environment:
APP_HOST: lawallet-nwc_web_1
APP_PORT: 2288
# Machine clients have no Umbrel session. The gateway only supports
# exact paths and trailing wildcards, so BoltCard scan/callback cannot
# be listed without the rest of /api/cards. Those mutating routes still
# require LaWallet auth.
PROXY_AUTH_WHITELIST: "/.well-known/lnurlp/*,/.well-known/nostr.json,/.well-known/lawallet.json,/api/lud16/*,/api/cards/*"
web:
image: masize/lawallet-nwc:2.10.1@sha256:5c5ccc46f0c739f6e9650f00363e40eaaa765252fd3259387e67fe203fd3d161
environment:
NODE_ENV: production
PORT: 2288
DATABASE_URL: "postgresql://lawallet:${APP_PASSWORD}@lawallet-nwc_postgres_1:5432/lawallet"
JWT_SECRET: "${APP_SEED}"
# NWC listener pairing — pre-wired so the integration works out of the
# box. The web app keeps working if the listener container is down.
LISTENER_URL: "http://lawallet-nwc_listener_1:4100"
LISTENER_AUTH_SECRET: "${APP_SEED}-listener"
LISTENER_REQUEST_AUTH_SECRET: "${APP_SEED}-listener-request-v1"
# Encrypts RemoteWallet NWC connection strings, the settings-managed
# LUD-16 proxy credentials and the NIP-57 receipt signer. Derived from the
# app seed, domain-separated like LISTENER_AUTH_SECRET, so it is stable
# across restarts and updates. Web and listener MUST agree on this value:
# the envelopes are AES-256-GCM and only this exact secret decrypts them.
# Keep the v1 domain tag byte-for-byte stable. Existing ciphertext cannot
# be recovered if this derivation changes during an app update.
NWC_VAULT_SECRET: "${APP_SEED}-nwc-vault-v1"
# Encrypts server-custodied Nostr keys created during passkey signup.
# Without it the passkey signup path stays disabled.
KEY_VAULT_SECRET: "${APP_SEED}-key-vault-v1"
depends_on:
postgres:
condition: service_healthy
restart: "on-failure"
stop_grace_period: "1m"
init: true
healthcheck:
test: ["CMD-SHELL", "curl -fsS \"http://$$(hostname -i):2288/api/health\" >/dev/null"]
interval: 30s
timeout: 10s
retries: 5
start_period: 90s
listener:
image: masize/lawallet-nwc-listener:2.10.1@sha256:2eabc16fb4ddc2eb908f2df49af3a5de5ab93f4cc40f5cb3371fe83f1b7a4959
environment:
DATABASE_URL: "postgresql://lawallet:${APP_PASSWORD}@lawallet-nwc_postgres_1:5432/lawallet"
LISTENER_PORT: 4100
LISTENER_AUTH_SECRET: "${APP_SEED}-listener"
LISTENER_REQUEST_AUTH_SECRET: "${APP_SEED}-listener-request-v1"
# Must match the web service byte for byte — the listener decrypts the
# NWC envelopes web wrote.
NWC_VAULT_SECRET: "${APP_SEED}-nwc-vault-v1"
WEB_ORIGIN: "http://lawallet-nwc_web_1:2288"
NODE_ENV: production
depends_on:
postgres:
condition: service_healthy
restart: "on-failure"
stop_grace_period: "1m"
init: true
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://localhost:4100/health >/dev/null"]
interval: 30s
timeout: 10s
retries: 5
start_period: 30s
postgres:
image: postgres:15.20-alpine3.24@sha256:71280c83ff4f237f613c69f706729310e1ab65f70f6c06824bc53ba6b7480875
restart: "on-failure"
environment:
POSTGRES_USER: lawallet
POSTGRES_PASSWORD: "${APP_PASSWORD}"
POSTGRES_DB: lawallet
volumes:
- "${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data"
stop_grace_period: "1m"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U lawallet -d lawallet"]
interval: 10s
timeout: 5s
retries: 10
+45
View File
@@ -0,0 +1,45 @@
manifestVersion: 1
id: lawallet-nwc
storage:
dataRoot: data
category: bitcoin
name: LaWallet NWC
version: "2.10.1"
tagline: Lightning Address platform and Nostr CRM
description: >-
LaWallet NWC is an open-source platform for creating, managing, and serving
Lightning Addresses connected to Nostr Wallet Connect. It includes an admin
dashboard for operators, a user wallet, BoltCard workflows, and NWC-based
routing for Lightning payments.
Give your community members a Lightning Address on your own domain, an
integrated wallet, and a Nostr identity, on a progressive self-custody model:
members start receiving payments instantly through address aliasing, then
upgrade to their own NWC wallet at their own pace.
LaWallet NWC is pre-alpha software. Do not use it with real funds until you
are comfortable with the risks.
releaseNotes: ""
developer: La Crypta
website: https://lawallet.io
dependencies: []
repo: https://github.com/lawalletio/lawallet-nwc
support: https://t.me/lacryptaok
port: 2288
gallery:
- 1.webp
- 2.webp
- 3.webp
- 4.webp
- 5.webp
path: /admin/
defaultUsername: ""
defaultPassword: ""
submitter: Agustin Kassis
submission: https://github.com/getumbrel/umbrel-apps/pull/5801