-
Notifications
You must be signed in to change notification settings - Fork 37
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
Nostr Wallet Auth #815
Nostr Wallet Auth #815
Conversation
8726f85
to
29bcf8d
Compare
74db79b
to
9ade646
Compare
Have this end-to-end working with zapple pay |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could use some tests too
mutiny-wasm/src/lib.rs
Outdated
let profile = self | ||
.inner | ||
.nostr | ||
.approve_nostr_wallet_auth(ProfileType::Normal { name }, uri, NwcProfileTag::General) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might as well remove type from this request if it's only going to be used for Normal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may want to use approve_nostr_wallet_auth
with other profile types in the future, think it is better to have the type. Also lets us reuse the same logic for other NWCs
2dbb486
to
2310f01
Compare
Responded to review and added a test (which caught a bug :) ) |
6e012f6
to
2581a33
Compare
2581a33
to
b5ca81a
Compare
b5ca81a
to
8b1ba44
Compare
a1228b5
to
7752e58
Compare
nostr-protocol/nips#851