connect
connect copied to clipboard
Detect if running in a browser and override the `window.nostr` object
The method should map the connect.getPublicKey() and connect.signEvent(evt) to the equivalent of the NIP07 window.nostr object
Hey! is this issue still open? would love to work on this can you please guide me through it.
Hey @sarthak13gupta! Yes this is def open.
I think there could be many ways and I didn't think about it extensively, but the idea would make sure to check if you are in a browser ie. if window !== undefiend if yes you set imperatively window.nostr object with connect.getPublicKey() and connect.signEvent(evt)