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

Add Nostr Web Provider #279

Open
tiero opened this issue Jan 11, 2022 · 2 comments
Open

Add Nostr Web Provider #279

tiero opened this issue Jan 11, 2022 · 2 comments

Comments

@tiero
Copy link
Member

tiero commented Jan 11, 2022

Would be useful to add support for Nostr protocol events, used to build alternative decentralized Twitter and so on

https://github.com/fiatjaf/nostr

window.nostr.getPublicKey
window.nostr.signEvent

Web provider: https://github.com/fiatjaf/nos2x/blob/master/extension/nostr-provider.js

@bordalix
Copy link
Contributor

@tiero can you describe a use case where this would be useful for/with Marina?

I'm not sure if you mean:
a) allow Marina to be used also as a nostr extension (inject window.nostr)
b) or to use nostr.signEvent inside Marina for some new functionality

@tiero
Copy link
Member Author

tiero commented Feb 14, 2022

a) allow Marina to be used also as a nostr extension (inject window.nostr)

yes, to be able to use the Marina to inject a nostr web provider. So it will be injected in parallel with the marina one.

Ideally we should derive a key pair from the xpub and use it as "permanent identity" public Key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants