266 Commits

Author SHA1 Message Date
ekzyis
b4298ca866
Configurable bip39 validation (#2574) 2025-09-23 10:09:24 +02:00
ekzyis
a3657740a8 Update wallets/README.md 2025-09-23 10:03:53 +02:00
ekzyis
256cb794a1
Open guides in new tab (#2550) 2025-09-22 12:49:40 -05:00
ekzyis
94177af702
CLINK offers (#2518) 2025-09-22 12:45:00 -05:00
ekzyis
53c0f8c277
Fix initial value not set from NWC lud16 param (#2567) 2025-09-22 10:10:56 -05:00
ekzyis
f3ac91abee
Improve error messages on wrong permissions (#2561) 2025-09-21 17:50:10 -05:00
ekzyis
4676fbaf60
Also check protocol name before setting address field (#2562)
* Also check protocol name before setting address field

* Add comment why we remove the domain part if lud16Domain is set

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-09-21 17:46:27 -05:00
ekzyis
a544e3952d
Use NWC lud16 parameter as initial value for lightning addresses (#2564)
* Also check protocol name before setting address field

* Add comment why we remove the domain part if lud16Domain is set

* Refactor NWC url parsing

* Use NWC's lud16 parameter as initial value

* Select lnAddr form by default if lud16 was parsed
2025-09-21 17:35:44 -05:00
ekzyis
fe160ef698 Fix comment indentation 2025-09-21 20:44:19 +02:00
ekzyis
33d8561890
Add Coinos guide (#2557) 2025-09-20 19:20:00 -05:00
ekzyis
1f4d293206
Remove lightning address domain on paste (#2559)
* Move append logic into transform fn

* Remove lightning address domain on paste

* Fix paste of other values
2025-09-20 15:35:51 -05:00
ekzyis
e164d10a03
Add Rizful guide (#2551) 2025-09-20 11:58:20 -05:00
ekzyis
018ff1af46 Remove empty line in Phoenixd guide 2025-09-20 18:45:39 +02:00
ekzyis
919e71de79 Remove wallet v2 TODOs 2025-09-19 15:02:13 +02:00
ekzyis
a0dffb2f18
Poll for wallets until success (#2541)
* Add unit to poll interval constants

* Poll for wallets until success

* Stop polling on (impossible) unmount

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-09-16 12:45:42 -05:00
ekzyis
e00c04c9bb
Add unit to poll interval constants (#2539) 2025-09-16 12:44:24 -05:00
ekzyis
e967455ded
Add phoenixd guide (#2494) 2025-09-15 15:10:09 -05:00
ekzyis
d9d0ba2903
Update wallets/README.md (#2530) 2025-09-14 03:00:29 +02:00
ekzyis
cab3bb3ecd
Fix missing custom expiry for phoenixd invoices (#2524) 2025-09-13 17:08:07 -05:00
ekzyis
e1fc309d3e
Change order of tag and level in log message (#2504)
* Change order of tag and level in log message

* Decrease min-width of level
2025-09-10 14:48:55 -05:00
soxa
cda6d23bb2
Alby Hub guide (#2506)
* albyhub guide

* add more shortcuts, fix systemd code block

* add link to macOS guide for service installation

* add some formatting and better separation of concerns

* fix headings

* add references to SN

* correct order, new screenshots, in-depth steps
2025-09-10 11:13:46 -05:00
ekzyis
36d2179c9d
Link to wallet guide if exists (#2490)
* Link to guide if exists

* Add LNbits guide

* Update id to LNbits guide

also update guide and add id to ADMIN_ITEMS for perpetual edits

* Use button instead of link

This fixes following console warning:

> Warning: validateDOMNesting(...): <a> cannot appear as a descendant of <a>.

* Fix alignment

* Fix wrong mention of super user requirement

* Move guideUrl to wallets.json
2025-09-08 12:08:43 -05:00
ekzyis
c572fae8ae
Fix 'LNbits send does not support tor' (#2491) 2025-09-06 05:48:06 +02:00
ekzyis
243e8eeb65
LNbits send does not support tor (#2489) 2025-09-06 05:23:07 +02:00
ekzyis
de463e1f99
Send via CLNRest (#2475)
* Send via CLNRest

* Add cURL script to send payments using CLNRest

* Serve CLNRest over HTTP in dev

Upgrade to 24.11 fixed CORS issue

* Update cln.md
2025-09-04 12:15:14 -05:00
ekzyis
0e583a179d
Update CLN createrune & certificate help (#2478)
* Update CLN createrune help

* Update CLN certificate help
2025-09-02 13:50:18 -05:00
ekzyis
6f67aaaef9
Map lnAddr to correct wallet on save via prompt (#2456) 2025-08-29 13:25:57 -05:00
ekzyis
cbcb8cb96c
Change layout in wallet prompt (#2454) 2025-08-29 12:15:35 -05:00
ekzyis
03d3cd1e9e
Update link to CLN docs (#2466) 2025-08-29 03:35:52 +02:00
ekzyis
e46f4f01b2
Wallet flow (#2362)
* Wallet flow

* Prepopulate fields of complementary protocol

* Remove TODO about one mutation for save

We need to save protocols in separate mutations so we can use the wallet id returned by the first protocol save for the following protocol saves and save them all to the same wallet.

* Fix badges not updated on wallet delete

* Fix useProtocol call

* Fix lightning address save via prompt

* Don't pass share as attribute to DOM

* Fix useCallback dependency

* Progress numbers as SVGs

* Fix progress line margins

* Remove unused saveWallet arguments

* Update cache with settings response

* Fix line does not connect with number 1

* Don't reuse page nav arrows in form nav

* Fix missing SVG hover style

* Fix missing space in wallet save log message

* Reuse CSS from nav.module.css

* align buttons and their icons/text

* center form progress line

* increase top padding of form on smaller screens

* provide margin above button bar on settings form

---------

Co-authored-by: k00b <k00b@stacker.news>
2025-08-26 09:19:52 -05:00
ekzyis
21a9696ea0
Use SSR for wallets (#2397)
* Use SSR for wallet forms

* Fix back/forward navigation with useData hook

* Fix protocol fallback not working with shallow routing

* Fix wallet refetch

* Replace useEffect for default selection with smart link

* Remove unused useWalletQuery

* Move server2client wallet transform into single function

* Add comment about graphql-tag fragment warning

* Check if wallet not found

* Handle wallet is sometimes null on back or forward navigation
2025-08-10 12:15:40 -05:00
ekzyis
1bda8a6de2
/wallets/debug: fix getDate is not a function (#2402)
* Fix getDate is not a function

* Remove 'ago' suffix because of possible DD-MM-YYY format

* Remove unnecessary string interpolation
2025-08-07 19:00:43 -05:00
ekzyis
0781156305
Fix protocolId missing as dependency (#2396) 2025-08-05 11:48:28 -05:00
ekzyis
b96b5d0c89
Remove unused keyCheck hook (#2395) 2025-08-05 11:47:25 -05:00
ekzyis
7c6a65c332
Wallet tests as separate mutations (#2385)
* Rename mutation to UPSERT_WALLET_RECEIVE_LND_GRPC

* Move wallet typedefs into individual sections

* Split wallet tests into separate mutation

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2025-08-03 12:23:56 -05:00
ekzyis
21532509fb
Rename mutation to UPSERT_WALLET_RECEIVE_LND_GRPC (#2384) 2025-08-03 12:18:01 -05:00
ekzyis
f58b853e8b
Fix input type of url for NWC receive (#2389) 2025-08-03 07:42:52 +02:00
ekzyis
416b675a2f
Format GraphQL wallet stuff + string interpolation (#2375)
* Format GraphQL wallet stuff

* Use string interpolation for GraphQL wallet stuff
2025-07-31 15:01:54 -05:00
ekzyis
7857601c36
wallet logs: less visual clutter, refactor (#2369)
* Remove unnecessary initial state for template logs

* Rename skip to noFetch

* Remove outdated TODO

* Cleaner wallet template logs + refactor
2025-07-31 09:58:34 -05:00
ekzyis
d175d0e64d
Fix missing validation for NWC receive (#2365) 2025-07-30 11:37:25 -05:00
ekzyis
6aeffa7aff
Add Blitz wallet (#2353) 2025-07-29 10:59:42 -05:00
ekzyis
5f7d0ead1d
Update instructions to add new wallet (#2352) 2025-07-29 10:59:02 -05:00
ekzyis
1dc4018a3c
Use touch-action: pan-y to fix DnD vs scroll (#2350)
* Fix handleTouchMove not handling leaving elements

* Fix DnD vs scroll on mobile
2025-07-28 17:11:21 -05:00
ekzyis
20147cae15
Fix undefined in resolved WalletTemplate id (#2344) 2025-07-27 22:04:22 -05:00
ekzyis
cf5ac8272d
Handle error property in NWC response (#2343) 2025-07-27 14:12:49 -05:00
ekzyis
a827dc6fde
Use x-overflow for tab navigation (#2337)
* Use x-overflow for tab navigation

* Define all CSS for tabs in nav.module.css
2025-07-27 12:37:25 -05:00
ekzyis
3f74279f29
Fix useMemo returns new component on change (#2315)
This fixes setting the input value on scan if the component remounts while the scanner is open.

No need to use useRef to close the scanner on remount.
2025-07-23 11:50:39 -05:00
ekzyis
243b094fcd
Wallet debug logs (#2307)
* Add wallet debug logs

* Add checkbox to toggle diagnostics

* Require authentication for /wallets/debug

* Update debug log messages

* Use me.privates.diagnostics as source of truth
2025-07-23 10:42:14 -05:00
ekzyis
2a0dfd7af6
Only update status if protocolId is set (#2310) 2025-07-22 18:49:39 -05:00
ekzyis
8344866fca
Fix wallet logger rerender (#2306) 2025-07-22 12:38:06 -05:00