Wouldn’t the client need to still know to send events for signing to relays so that the bunker could sign them?

Reply to this note

Please Login to reply.

Discussion

Isn’t that what your nostrignite does?

Client calls window.nostr.signEvent

Nostr ignite gets the signature via nip-46 and returns it to the client

It doesn’t do that yet. Just creates a new account and calls connect and returns the pubkey to the client.

That’ll be a fairly easy add though.

Wait, I thought it would replace window.nostr with a popout thing that connected to NIP-46!

If it just creates an account then I don't like it.

One step at a time! This is how we actually deliver in 2 weeks™.

Signing coming next.

Don’t want to end up completely rewriting NDK here though. 🫠

Why not? Rewrite it in Rust.

😬 That is definitely not the way to ship in 2 weeks™

Also there's already: https://github.com/rust-nostr/nostr

Shouldn't that be the library to implement nip-46 in Rust?