nostr snap
Nostr Snap is a MetaMask Snap for Nostr Protocol. Nostr Snap provides key management, message signing and event notification for for Nostr protocol.
Screenshots



Problem Statement
Nostr Snap is a MetaMask Snap for Nostr Protocol. Nostr (https://nostr.com/) is a decentralizd social media protocol with simple and elegant design, using Schnorr siganature to sign messages. Nostr Snap provides key management and message signing interface for Nostr protocol, connecting the Ethereum and Nostr community. Nostr Snap also use the snap notify api for new event notifications, provide a live social media experience.
Solution
Nostr Snap is a MetaMask Snap for Nostr Protocol. We usesnap_getEntropyapi to generate Nostr private keys and keep it safe in MetaMask. We also usesnap_notifyfor notification. We also adopt the popular ```nostr-tools` package make it ready for client integration.Nostr Snap provides extended rpc interface for web clients to access those capabilities and separate it from the wallet keys.
Hackathon
ETHGlobal Istanbul
2024
Contributors
- jiangplus
6 contributions