👀

https://github.com/rust-nostr/nostr/pull/994

This allows using NIP-07 signer in native applications. Thanks to nostr:nprofile1qqsqqqqqq9g9uljgjfcyd6dm4fegk8em2yfz0c3qp3tc6mntkrrhawgppemhxue69uhkummn9ekx7mp0qyg8wumn8ghj7mn0wd68ytnddakj7qghwaehxw309aex2mrp0yh8qunfd4skctnwv46z7hsrsym for the idea!

#rustnostr #nostr #rustlang #rust

Reply to this note

Please Login to reply.

Discussion

how does it work?

A web page acts as a bridge between the NIP07 extension and the local server. When the user needs to sign something a request is scheduled, which is then taken from the web page and forwarded to the NIP07 extension. When the extension returns the result, the web page forwards the response to the local server.

oh, that is a cool idea

I did this months ago: https://github.com/purplebase/nip07_signer

Can run as binary or Dart library

🫡. I didn't came up with it, I saw it in Zapstore CLI and liked it. By nostr:nprofile1qyghwumn8ghj7mn0wd68ytnvv9hxgtcqypex583xrnryw3n5aq59uw23kwa38xlf5aeart85nhyx3kuxrgwpzjh056v

The more implementations the better!

Idea: let the user to define the HTML proxy page. So they can define pages that look like their app.

Current page can be default one.