Ok my head hurts now, how do I use a 64 byte secret key and sign a nostr ID using schnorr in Rust?
Apparently that is what is required to sign the ID for Nip-57 on the server side.
Ok my head hurts now, how do I use a 64 byte secret key and sign a nostr ID using schnorr in Rust?
Apparently that is what is required to sign the ID for Nip-57 on the server side.
Maybe some Rust experts can help me? #[1] #[2]
Have you seen #[5] ‘s repo? https://github.com/0xtlt/nostr_rust/tree/main
Or #[6] ‘s relay has signing code too. https://github.com/scsibug/nostr-rs-relay/blob/master/src/event.rs