Can someone help me understand #NIP07 a little better? As an intro to #nostrdev project, I'm considering making a #NIP46 browser extension like #nos2x, but for the #Nyxt browser. I just learned #CommonLisp, and Nyxt doesn't have anything like that right now so far as I can tell, so it seems like a good way to put the skills to use.

That requires implementing NIP-07, though, and since I haven't really done #webdev, the specification is not entirely clear to me. It says I need to make a window.nostr object available along with a handful of methods and functions, but there's no context to suggest what that really means to someone not familiar with this sort of development. Some googling suggests this may be related to the Browser Object Model (BOM) somehow? I think I basically need to make sure these methods are available for #JavaScript from the web client, yeah?

I've tried looking at some web clients like Coracle to see how they're calling it, but it became apparent that figuring out how the website interacts with the extension would be difficult with what I know. If it's a simple answer, awesome, very appreciated, but if there's a general knowledge that I need to build, I would also appreciate just knowing what specifically I should be looking at.

#nostr #devstr

Reply to this note

Please Login to reply.

Discussion

No replies yet.