How to generate nonce for schnorr signature ? If you're still confused about how it works, check out our explanation with code here: https://bitcoindevs.xyz/decoding/schnorr-signature