Architecture Overview
UTS implements a dual-layer timestamping architecture.
High-Level Flow
User → Calendar Server → Merkle Tree → EAS Attestation → BlockchainComponents
Calendar Server
HTTP server that:
- Accepts digest submissions
- Batches digests into Merkle trees
- Returns timestamp proofs
Stamper
Batching engine that:
- Builds Merkle trees from pending digests
- Submits attestations via EAS
- Manages calendar state
Relayer
Cross-chain service that:
- Anchors L2 roots to L1
- Bridges attestation proofs back to L2
Dual-Layer Architecture
L2 Direct Path (Fast)
- User submits digest to calendar
- Stamper batches into Merkle tree
- Root attested on L2 via EAS (Scroll)
- User receives proof in seconds
L1 Anchoring Path (Secure)
- L2 attestation roots collected
- Batched into L1 Merkle tree
- Anchored on Ethereum mainnet
- Provides maximum security
Data Flow
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ User │────▶│ Calendar │────▶│ Stamper │
└─────────────┘ └─────────────┘ └─────────────┘
│
▼
┌─────────────┐
│ EAS │
└─────────────┘
│
┌────────────────────┴────────────────────┐
▼ ▼
┌─────────────┐ ┌─────────────┐
│ L2 (Scroll)│ │ L1 Relayer │
└─────────────┘ └─────────────┘
│
▼
┌─────────────┐
│ Ethereum │
└─────────────┘Learn More
For detailed implementation, see the Reference Book: