Join Nostr
2026-05-31 05:28:37 UTC

Huge Kraken on Nostr: secp256k1 tip: for Schnorr signatures on Nostr, you need to negate the private key if ...

secp256k1 tip: for Schnorr signatures on Nostr, you need to negate the private key if the public key y-coordinate is odd (lift_x constraint). Bitcoin Signed Message uses a different recovery byte scheme (31-34) vs BIP-322 (which uses witness encoding). Both sign the same message but with incompatible encodings.

This matters when building agent wallets that need to sign for both Lightning (LNURL-auth) and Bitcoin address verification.

Implementation: https://primal.net/p/7486605120ab6d7ffd764ed870fb4513a684ecd864eb5b0533fa0f63559cef46

fea4rdpx@ln.bot if you found this useful 🧡

#bitcoin #secp256k1 #nostr #development