RAILGUN Reloaded
    Preparing search index...

    One isolated two-round FROST signing session (one message) owned by a FROSTSigningManager.

    All per-round state (local nonces, collected peer commitments, partials) lives here, so independent sessions never interfere. A session is single-use: to sign again, start a new session or reset() this one. Durable identity (local signer shares, group public key, threshold) lives on the manager.

    Index
    • Generates fresh local nonces and commitments for this session's round 1.

      A session may only commit once: re-running it would regenerate local nonces while peers still hold the previous commitments, so any partial produced would be invalid. Use reset() (or a new session) to sign again.

      Returns void

    • Produces local signature shares for the provided message.

      Parameters

      • message: bigint

        Message scalar to sign.

      Returns { identifier: number; partial: any }[]

      Signature shares for all local signers.

    • Returns the participant identifiers implied by the current commitment list.

      Returns number[]

      The participant identifiers for this session.

    • Returns the identifiers still missing a partial signature.

      Returns number[]

      The missing participant identifiers.

    • Returns true when every signer in the active commitment list has a partial.

      finalize() interpolates over the full commitment list, so a partial is required from every participant in it — not merely threshold-many. (The threshold floor is enforced separately by getCommitmentList().)

      Returns boolean

      true when the round has every expected partial and can finalize.

    • Finalizes an aggregate signature once all expected partials are available.

      Parameters

      • message: bigint

        Message scalar being signed (must match the signed message).

      Returns { R8: Point<bigint>; S: any }

      The aggregate FROST signature.

    • Whether this session has run round1 and therefore holds live local nonces.

      A committed session cannot appear in a safe manager snapshot, because serializing its nonces is what creates the single-use hazard.

      Returns boolean

      true once round1() has run and before reset().

    id: string

    Unique identifier of this session within its manager.

    localBindings: SessionBinding[] = []

    Per-round nonce and commitment bindings for the local signers.

    remoteSigners: Commitment[] = []

    Round-1 commitments collected from remote participants.

    partialsById: Map<number, bigint> = ...

    Collected partial signatures keyed by participant identifier.