Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Re: Is It Possible to Verify Participation In Aggregated Signatures
by
johndebord
on 06/12/2024, 07:27:29 UTC
⭐ Merited by vjudeu (1)
OP, what is the value of deterministicValue that you used for this line?

Code:
if (secp256k1_musig_nonce_gen(
        Secp256k1::context().get(), &secp256k1MusigSecretNonce,
        &secp256k1MusigPublicNonce, deterministicValue, nullptr,
        &secp256k1PublicKey, message, nullptr, nullptr) == 0) {
  throw std::runtime_error{"failed to generate nonces"};
}

Code:
if (secp256k1_musig_nonce_gen(
        Secp256k1::context().get(), &secp256k1MusigSecretNonce,
        &secp256k1MusigPublicNonce, masterPrivateKey, nullptr,
        &secp256k1PublicKey, messageHash, nullptr, nullptr) == 0) {
  throw std::runtime_error{"failed to generate nonces"};
}

In this case, the masterPrivateKey used is:

Code:
6942F99EDEE91D2B59780FC865016CC7F452973C3D7A8735AE9F76CAACB57C1A

It is important to note that everything is known except the full set of private/public key pairs that contributed to the aggregated signature or public key.