Skip to content

SNARK pre-aggregation primitives in STM library - Phase 2 #2943

Closed

Description

@jpraynaud

Why

We need to evolve the STM library in order to implement SNARK primitives. Following the definition of the architecture in #2763, we have defined an implementation plan and we want to address the SNARK pre-aggregation primitives part of the plan for single signatures.

What

Implement the SNARK pre-aggregation primitives for single signatures.

How

  • Implement the creation of the single signature artifacts using Schnorr signatures:
    • Adapt Signer
    • Compute the message to sign (message if prefixed with the commitment of the key registration for SNARK)
    • Make sure that we compute if the same way as in the circuit (or create a converter)
    • Create the Schnorr signature for the message
    • We create a single signature only if the Concatenation indices list is not empty, and we don't compute the indices list for SNARK). Could this rule be enhanced?
    • Adapt the SingleSignature and SingleSignatureWithRegisteredParty in the protocol module
    • Fix issues detected in Hash to curve CPU/circuit discrepancy for message signature in Schnorr signature #2993
  • Benchmarks
  • Golden tests
  • Property tests
  • Documentation

Activity

  1. added
    feature 🚀
    on Jan 26, 2026
  2. changed the title [-]Implement SNARK pre-aggregation primitives in STM library - Phase 2[/-] [+]SNARK pre-aggregation primitives in STM library - Phase 2[/+] on Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cryptography 🔐feature 🚀

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions