Done it. Integrated NIP46. Will record a video tomorrow and showcase it.

But nostr:npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft, it’s strange that I set ndk signer `ndk.signer = signer` on page load, there is a chance where event.publish will say there is no signer. 🤔

Reply to this note

Please Login to reply.

Discussion

Cool! Can’t see the option yet though 🤔

Haven’t push 🤫

Because of that signer after app load (if user has signed in before). gonna continue to look at tomorrow morning.

Just set the signer upon initialization on NDK

Exactly. Did that. But it’s ok, I’ll dig into it.

I mean, you can construct it passing in the signer

The way I do it is I have two separate ndks,, one is to talk to the bunker relays and the other one is the typical one where you read and write all other event kinds

Maybe I should make a video explaining this, since it’s easier to go over code, but that’s the general gist