stacker.news/fragments
SatsAllDay 362f95add9
LUD-18 Wallet implementation (#531)
* LUD-18 Wallet implementation

Query the lightning address provider client-side to learn of capabilities

Conditionally render LUD-12 and LUD-18 fields based on what the remote
server says is supported

Allow identifier, name, and email to be sent from the SN side during the withdrawal flow. Auth seems too complicated for our use case, and idk about pubkey?

* Clear inputs if the new ln addr provier doesn't support those fields

* various ux improvements

* dynamic client-side validation for required payer data

* don't re-init form state on error

* correct min and max amount values

* only send applicable data to graphql api based on payerdata schema

* input type for numeric values (amount, max fee)

* update step for amount and max fee

* Fix identifier optional and field blur

* reuse more code

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2023-10-03 18:22:56 -05:00
..
blockHeight.js Add block height to price carousel (#484) 2023-09-12 10:56:02 -05:00
comments.js Images v2 (#513) 2023-10-01 18:03:52 -05:00
invites.js hide cowboy hat setting 2023-05-01 16:52:02 -05:00
items.js Images v2 (#513) 2023-10-01 18:03:52 -05:00
notifications.js LUD-18 Service Support (#518) 2023-10-03 14:35:53 -05:00
price.js Add proxy with cache for coinbase API requests (#226) 2023-01-27 17:20:33 -06:00
rewards.js allow viewing reward ranges 2023-08-29 19:13:21 -05:00
subs.js Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
users.js Image refactor refactor (#541) 2023-10-03 13:05:04 -05:00
wallet.js LUD-18 Wallet implementation (#531) 2023-10-03 18:22:56 -05:00