11 releases (5 breaking)

0.6.2 May 6, 2024
0.6.1 May 6, 2024
0.5.0 Feb 21, 2024
0.4.3 Feb 20, 2024
0.1.0 Feb 3, 2024

#11 in #sign

MIT license

19KB
441 lines

NIP-70

The reference implementation of Nostr NIP-70.

NIP-70 defines a protocol for delegating key management and event signing to a dedicated desktop app, similar to what NIP-07 does for web browsers. Think "Alby Chrome extension but for desktop apps".

This crate provides client and server implementations that adhere to the NIP-70 spec. Use the server implementation to create a desktop app which holds a user's Nostr nSec and can sign events on behalf of other desktop apps. Use the client implementation to create a desktop app which needs access to a user's nPub or needs to sign events.

Dependencies

~17–28MB
~411K SLoC