deterministicSign abstract method
Generates a deterministic MuSig2 signature
Derives a nonce deterministically from 32-byte sk, 66-byte aggotherNonce and msg, aggregates it with publicKeys/tweaks into a session and partial-signs it. Optional rand overrides the nonce randomness. Returns the partial signature with its 66-byte pubnonce. Throws on invalid input.
Implementation
MuSig2DeterministicSignature deterministicSign({
required List<int> sk,
required List<int> aggotherNonce,
required List<List<int>> publicKeys,
List<MuSig2Tweak> tweaks = const [],
required List<int> msg,
List<int>? rand,
});