← back

Nostr Identity

Connect with NIP-07 and sign events with your Nostr key. Inside Fedi, window.nostr is injected automatically. Your private key never leaves the app.

Identity badge

Shows your connected pubkey as a colored avatar and truncated npub. The color is derived deterministically from your key. The same pubkey always gets the same color.

Login flow

Drop-in auth component for any page. Calls getPublicKey(). No username, no password, no account signup. Your pubkey is your account.

Signed message

Signs a kind-1 text note via signEvent(). The returned JSON includes a Schnorr signature anyone can verify.

Connect your identity above to sign a message.