
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
Reference implementation of draft-helmprotocol-tttps
Cryptographic Proof-of-Time for Distributed Systems — TLS-grade time verification without trust assumptions.
OpenTTT brings verifiable, Byzantine-fault-tolerant timestamping to any distributed system. Where TLS made HTTP trustworthy, OpenTTT makes ordering and sequencing verifiable. No trust assumptions. No gentleman's agreements. Physics.
npm install openttt
Current distributed systems rely on trust for ordering: services promise fair sequencing, protocols ask nicely, and everyone hopes for the best. OpenTTT proves whether ordering was respected — cryptographically, without a trusted third party.
| Conventional NTP | OpenTTT | |
|---|---|---|
| Mechanism | Single-source timestamp | Multi-source synthesized Proof-of-Time |
| Verification | Trust the server | Cryptographic multi-anchor proof |
| Attack detection | None | 13 Byzantine attack types detected |
| Enforcement | Audit after the fact | Real-time rejection at ingestion |
| Time sources | One NTP server | NIST + Apple + Google + Cloudflare (parallel) |
The core insight: Honest participants receive a Proof-of-Time receipt. A multi-layer data integrity pipeline then verifies whether ordering was respected:
No governance vote. No slashing committee. Cheating is simply bad engineering.
OpenTTT is the source-available (BSL-1.1) core of the Helm Protocol product family. The full suite:
| Product | Description | Key Metric |
|---|---|---|
| OpenTTT / TTTPS | Byzantine Audit API — cryptographic Proof-of-Time with 13-attack detection | IETF Draft |
| HYDRA-KV | LLM inference KV cache accelerator — distributed prefill/decode separation | 3.20× compression, 95.6% dedup |
| HYDRA-CDN | Edge delivery with GapVec5 routing and erasure-coded resilience | 30% loss tolerance |
| HYDRA-AUDIT | Infrastructure audit with Prometheus, JSON-LD, and Grafana integration | TRAI/CERT-In compatible |
KV cache transfer between prefill and decode nodes becomes a bottleneck at scale. HYDRA-KV uses TTTPS timestamps to sequence and audit cache chunks, combined with a multi-layer compression pipeline that achieves 3.20× reduction and 95.6% deduplication.
High-loss network environments (satellite, mobile edge, cross-border) require delivery guarantees that standard CDN protocols cannot provide. HYDRA-CDN uses GapVec5 adaptive routing and erasure coding to tolerate 30% packet loss while maintaining per-chunk TTTPS audit seals.
Any distributed system that needs verifiable ordering — financial infrastructure, IoT sensor networks, compliance-regulated APIs — can embed TTTPS to produce tamper-evident Proof-of-Time receipts. 13 Byzantine attack patterns are detected and rejected in real time.
import { HttpOnlyClient } from "openttt";
const client = new HttpOnlyClient();
const pot = await client.generatePoT();
console.log(pot.timestamp, pot.confidence, pot.sources);
const valid = client.verifyPoT(pot);
console.log("Valid:", valid); // true
No infrastructure required. Four independent HTTPS time sources (NIST, Apple, Google, Cloudflare) are queried in parallel. The synthesized median produces a confidence-scored Proof-of-Time immediately.
import { TTTClient } from "openttt";
const ttt = await TTTClient.create({
timeSources: ["nist", "google", "cloudflare", "apple"],
enableGracefulShutdown: true,
});
ttt.startAutoMint();
ttt.onAlert((alert) => {
// Route to PagerDuty, Grafana, Telegram, etc.
console.error(`[OpenTTT Alert] ${alert}`);
});
const health = await ttt.getHealth();
// {
// healthy: true,
// checks: { ntpSourcesOk: true, signerAvailable: true, ... },
// metrics: { mintCount: 142, successRate: 1.0, avgMintLatencyMs: 1847 },
// alerts: []
// }
TTTClient (entry point)
|-- AutoMintEngine Continuous PoT generation loop
| |-- TimeSynthesis Multi-source NTP median synthesis
| | |-- NIST time.nist.gov (US national standard)
| | |-- Google time.google.com
| | |-- Apple time.apple.com
| | '-- Cloudflare time.cloudflare.com
| '-- GRG Pipeline Multi-layer data integrity (proprietary)
|-- AdaptiveSwitch TURBO / FULL verification mode state machine
|-- ByzantineDetector 13-pattern attack classifier
'-- Signer Abstraction PrivateKey | KMS (AWS / GCP)
OpenTTT queries multiple atomic clock-synchronized sources in parallel and produces a median-synthesized timestamp with confidence scoring. All readings must fall within a stratum-dependent tolerance of the synthesized median, or the Proof of Time is rejected. Single-source operation triggers a degraded-confidence warning.
GRG is a multi-layer data integrity pipeline that protects PoT payloads — analogous to how the TLS record protocol protects HTTP payloads. It provides compression, erasure coding, and error correction in a single pass, producing verifiable shards that can be independently validated and reconstructed.
Implementation details are proprietary. See the IETF Draft for the abstract specification.
The enforcement mechanism uses a sliding-window match rate with hysteresis:
OpenTTT implements draft-helmprotocol-tttps (TTTPS — TLS-grade Time Token Protocol Stack).
Abstract: This document specifies TTTPS, a protocol for generating and verifying cryptographic Proof-of-Time (PoT) tokens using multiple independent time sources. TTTPS provides Byzantine fault tolerance against timestamp manipulation, supports 13 categories of time-based attacks, and is designed for integration into existing transport-layer security stacks without requiring changes to application protocols.
Full draft: datatracker.ietf.org/doc/draft-helmprotocol-tttps/
| Method | Description |
|---|---|
TTTClient.create(config) | Create and initialize a client |
ttt.startAutoMint() | Start continuous PoT generation |
ttt.stopAutoMint() | Stop the generation loop |
ttt.getHealth() | Returns HealthStatus with source connectivity and performance |
ttt.onAlert(callback) | Register a callback for health alerts |
ttt.destroy() | Graceful shutdown |
| Method | Description |
|---|---|
synthesize() | Query all sources, return median-synthesized timestamp |
generateProofOfTime() | Generate a verifiable PoT with source signatures |
verifyProofOfTime(pot) | Verify all readings are within tolerance of the median |
| Method | Description |
|---|---|
GrgPipeline.processForward(data) | Encode through the multi-layer integrity pipeline |
GrgPipeline.processInverse(shards, length) | Decode with integrity verification |
All SDK errors extend TTTBaseError with three actionable fields:
import { TTTTimeSynthesisError } from "openttt";
try {
const pot = await client.generatePoT();
} catch (e) {
if (e instanceof TTTTimeSynthesisError) {
console.error(e.message); // What happened
console.error(e.reason); // Why it happened
console.error(e.fix); // How to fix it
}
}
| Error Class | Scope |
|---|---|
TTTConfigError | SDK configuration |
TTTSignerError | Signer acquisition or usage |
TTTNetworkError | Connectivity, source availability |
TTTTimeSynthesisError | NTP time synthesis failures |
Optional peer dependencies:
| Package | Required for |
|---|---|
@aws-sdk/client-kms | AWS KMS signer |
@google-cloud/kms | GCP Cloud KMS signer |
| Tier | Price | Quota | Use Case |
|---|---|---|---|
| FREE | $0 | 100 calls/day | Non-commercial, research, personal bots (revenue < $10K/yr) |
| BOT | $199/mo | 5M calls · 1K req/s | MEV bots, arbitrage bots |
| DEX/LP | $499/mo | 20M calls + overage | DEX protocols, liquidity providers |
| FUND | $2,000+/mo | Unlimited + MiFIR Art.22c audit log | Hedge funds, OTC desks, prop trading |
API key & commercial licensing: heime.jorgen@proton.me
BSL-1.1 — free for non-commercial use.
Commercial use (production bots, hedge funds, prop desks) requires a license.
→ Pricing
Change Date: 2029-05-28 → Apache 2.0
Full license text: LICENSE — Copyright 2026 Helm Protocol.
Bug reports, feature requests, and pull requests are welcome.
npm test), open a PR against main.For significant changes, open an issue first to discuss the approach.
FAQs
OpenTTT — TLS-grade transaction ordering for DeFi. Time + Logic + Sync.
The npm package openttt receives a total of 241 weekly downloads. As such, openttt popularity was classified as not popular.
We found that openttt demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.