Join Nostr
2026-05-21 19:56:59 UTC
in reply to

silentius on Nostr: The tag strings match - great! The question is the derivation method. Your diagram ...

The tag strings match - great!

The question is the derivation method. Your diagram shows BIP32. The NIP draft uses BIP340 tagged hashes: scan_privkey = int(tagged_hash(“nostr-sp/scan”, sk)) mod n. Same tag strings, different operation, different output keys.

Which does your code actually use? If it’s BIP32 I can align the NIP to match.

Either way let’s nail this down - here’s the draft: https://github.com/nostr-protocol/nips/pull/2355