Replying to Avatar Blake

Yep, it was me. Thanks, I’ll take a look.

I wrote some minimalist code to log in, and sign an event using the normal server AUTH NIP, which created a session cookie. Worked pretty well.

I also wrote a Delete event UI mini-app, however it only signs and doesn’t need sessions.

https://cdn.nostrgraph.net/public/blog.html#naddr1qqyxvve4x5enqdenqy0hwumn8ghj7mn0wd68yttjv4kxz7fwdehkkmm5v9ex7tnrdakj7q3qghzp7g0peac4lfkeegst3cqz546dk7a5n6twazvrf3nd432yddaqxpqqqp65wp3f2hv

Avatar
Blake 2y ago

And here was the session based code.

https://gist.github.com/blakejakopovic/b0065b9327c48c148bfe989c08137ba1

Reply to this note

Please Login to reply.

Discussion

Avatar
cloud fodder 2y ago

sweet, lemme know what you think about my technique, i've been following your examples, same thinking as this example. having sessions is fun 💀

Thread collapsed