Anyone have a simple getting started using NIP-07 for window.nostr JavaScript web apps?

Literally a basic, check extension exists and is working, log pubkey to console (after consent), then sign a generic hello Nostr kind 1 event and return the signed json object / string.

The websocket stuff isn’t needed. Just the async JavaScript plugin interactions.

Reply to this note

Please Login to reply.

Discussion

Simple enough example in https://nostr.band/index.js I believe.

I sent you a DM when you get a chance, no rush.

Thanks will take a look!