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

Nip46 auth with NDK #1636

Merged
merged 33 commits into from
Dec 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
0552dc2
ndk
riccardobl Nov 20, 2024
67c0655
fix: remove duplicated zap note event template
riccardobl Nov 21, 2024
2697c2d
Merge branch 'master' into ndk
riccardobl Nov 21, 2024
3ce40a6
Merge branch 'master' into ndk
riccardobl Nov 22, 2024
e60be89
don't init Nip07 signer by default
riccardobl Nov 22, 2024
f08d09a
Update wallets/nwc/server.js
riccardobl Nov 22, 2024
e3e0df7
Merge branch 'master' into ndk
riccardobl Nov 27, 2024
a6bc265
nwc protocol parsing workaround
riccardobl Nov 29, 2024
7dc00ad
WebSocket polyfill for worker
riccardobl Dec 1, 2024
f051eda
increase nwc timeout
riccardobl Dec 3, 2024
582e43a
remove NDKNip46Signer type
riccardobl Dec 3, 2024
f6e764c
fix type annotation
riccardobl Dec 3, 2024
98aa011
move eslint-disable camelcase to the top
riccardobl Dec 3, 2024
57f73c4
pass event args to the constructor
riccardobl Dec 3, 2024
14494c0
Merge branch 'master' into ndk
riccardobl Dec 3, 2024
d683ad0
fix error handling
riccardobl Dec 3, 2024
f79598f
Update wallets/nwc/index.js
riccardobl Dec 3, 2024
2344b47
nip46 auth
riccardobl Nov 22, 2024
945771c
style tweak, remove unmaintained signers from the list
riccardobl Dec 4, 2024
c8c2836
Merge branch 'master' into nip46V2
riccardobl Dec 4, 2024
101d143
Merge branch 'master' into nip46V2
riccardobl Dec 5, 2024
b3981cd
don't use modal
riccardobl Dec 8, 2024
c0fde62
workaround url parsing
riccardobl Dec 8, 2024
60bdb88
use kind 27235
riccardobl Dec 8, 2024
fb189d3
add kind 27235 metadata
riccardobl Dec 8, 2024
075007c
show suggestion after a timeout
riccardobl Dec 8, 2024
9187186
Update lib/nostr.js
riccardobl Dec 8, 2024
04562e4
Update components/nostr-auth.js
riccardobl Dec 9, 2024
9ff5953
Merge branch 'master' into nip46V2
riccardobl Dec 9, 2024
6db7d86
Merge branch 'master' into nip46V2
huumn Dec 13, 2024
2edff01
fix unrelated lnauth crash when closing ext prompt
huumn Dec 14, 2024
2ed546a
make ui consistent ...
huumn Dec 14, 2024
9cf4b45
give buttons spacing
huumn Dec 14, 2024
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
4 changes: 2 additions & 2 deletions .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ SLACK_BOT_TOKEN=
SLACK_CHANNEL_ID=

# lnurl ... you'll need a tunnel to localhost:3000 for these
LNAUTH_URL=
LNWITH_URL=
LNAUTH_URL=http://localhost:3000/api/lnauth
LNWITH_URL=http://localhost:3000/api/lnwith

########################################
# SNDEV STUFF WE PRESET #
Expand Down
2 changes: 1 addition & 1 deletion components/lightning-auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function QrAuth ({ k1, encodedUrl, callbackUrl, multiAuth }) {
await window.webln.enable()
await window.webln.lnurl(encodedUrl)
}
effect()
effect().catch(console.error)
}, [encodedUrl])

// output pubkey and k1
Expand Down
Loading
Loading