Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/round-bindings/src/event-snapshot.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// Round contract event snapshot.
//
// Generated Soroban bindings (`@sub-rosa/round-bindings`) expose the contract's
Expand Down
1 change: 1 addition & 0 deletions packages/round-bindings/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
import { Buffer } from "buffer";
import { Address } from "@stellar/stellar-sdk";
import {
Expand Down
1 change: 1 addition & 0 deletions packages/tlock/src/auditor-recovery-cli.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
import { readFileSync } from "node:fs";

import { openIdentity } from "./auditor.js";
Expand Down
1 change: 1 addition & 0 deletions packages/tlock/src/auditor.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// Auditor identity blob — selective disclosure.
//
// Bid values unseal publicly after round R (the auditability guarantee), but
Expand Down
1 change: 1 addition & 0 deletions packages/tlock/src/bls.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// Drand signature → Soroban G1 encoding.
//
// The Round contract verifies round R's threshold signature on-chain with
Expand Down
1 change: 1 addition & 0 deletions packages/tlock/src/freshness.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
export const DEFAULT_STALE_THRESHOLD_MS = 60_000;

export interface DrandRoundInfo {
Expand Down
1 change: 1 addition & 0 deletions packages/tlock/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
export {
commitment,
encodeBidPreimage,
Expand Down
1 change: 1 addition & 0 deletions packages/tlock/src/quicknet.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// Drand quicknet client — the same network the Round contract verifies on-chain
// (chain hash 52db9ba7…, bls-unchained-g1-rfc9380, 3s rounds).

Expand Down
1 change: 1 addition & 0 deletions packages/tlock/src/recover-identities.cli.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
import process from "node:process";

import { runAuditorRecoveryCli, usage } from "./auditor-recovery-cli.js";
Expand Down
1 change: 1 addition & 0 deletions services/appraisal-api/src/appraisal.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// Deterministic appraisal model.
//
// Given a structured item descriptor, produce a fair-value estimate, a
Expand Down
1 change: 1 addition & 0 deletions services/appraisal-api/src/client.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// x402 paid-fetch client.
//
// Wraps a single HTTP call with the x402 handshake: try the request, and if the
Expand Down
1 change: 1 addition & 0 deletions services/appraisal-api/src/config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
import { Keypair, StrKey } from "@stellar/stellar-sdk";
import {
DEFAULT_TESTNET_RPC_URL,
Expand Down
1 change: 1 addition & 0 deletions services/drand-tools/src/encode.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// Soroban BLS12-381 serialization helpers.
//
// Soroban host functions expect *uncompressed, big-endian* points:
Expand Down
1 change: 1 addition & 0 deletions services/drand-tools/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// Risk-2 validation report. Fetches live quicknet data, confirms the message/DST
// the contract must use, and emits the exact Soroban-encoded constants for the
// deploy configuration (drand_pubkey, negated G2 generator, DST).
Expand Down
1 change: 1 addition & 0 deletions services/drand-tools/src/parity.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// Off-chain replica of the contract's BLS verification, run against a real
// quicknet beacon. This confirms the exact message construction and DST the
// on-chain `verify_round` must use — independent of point serialization.
Expand Down
1 change: 1 addition & 0 deletions services/drand-tools/src/quicknet.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// Live Drand quicknet access. No hardcoded beacons — everything is fetched from
// the public API so the harness validates against the real network.

Expand Down
1 change: 1 addition & 0 deletions services/drand-tools/src/vectors.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) 2026 Sub Rosa contributors
// Emit a frozen quicknet test vector for the contract's Rust BLS test.
// Real network data captured at a fixed finalized round — not a mock.

Expand Down
Loading