Layer Definitions & Components
As formalized in docs/spec/LPS-STACK.md of the reference implementation.
Infrastructure Layer
Settlement · Persistence · Temporal AnchoringThe foundational layer providing settlement, content-addressed storage, and immutable cross-chain temporal anchoring:
- Settlement: Polygon Mainnet (Chain ID 137) provides immutable on-chain state anchoring and block-level timestamps.
- Storage: IPFS decentralized persistence addressed purely by cryptographic Content Identifier (CID).
- Cross-Chain Timestamps: OpenTimestamps anchored into Bitcoin block headers for multi-chain temporal priority.
- Version Control: Git commit-level authorship history and signed releases.
- Contracts: Non-upgradeable Solidity implementations (
LiteraryAnchor,PublishingKernelV2,AuthorIdentity).
Settlement: Polygon Mainnet (Chain ID 137)
Storage: IPFS Content Addressing (CID)
Cross-Chain: OpenTimestamps → Bitcoin
Version Control: Git SHA-1/SHA-256 Tree
Contract Archetype: Non-upgradeable · Zero Admin Keys
Core Protocol (LPS-1)
Deterministic Hashing · Merkle Trees · Lifecycle State MachineThe normative specification for deterministic literary publishing:
- Content Hashing: SHA-256 with CRLF normalization (FIPS 180-4) ensuring bitwise reproducibility across all operating systems.
- Merkle Architecture: Four independent Merkle trees: manuscript, embedded artifacts, visual images, and AI generation prompts.
- Edition Root: Composite hash:
SHA-256(manuscriptRoot ‖ artifactRoot ‖ imageRoot ‖ promptRoot). - Edition Lifecycle: Forward-only state transitions:
DRAFT → ANCHORED → FROZEN → CANONICAL / SUPERSEDED / RETRACTED. - Identity: ECDSA author binding via the
AuthorIdentitycontract. - Freeze Mechanism: Permanent, irreversible on-chain seal preventing any future alteration.
editionRoot = SHA-256(
manuscriptRoot ||
artifactRoot ||
imageRoot ||
promptRoot
);
Edition Lifecycle: FROZEN · CANONICAL
0x6719ed7f9e142a39a4a7db533895562bdf5379cf7f9816ed7cbe045ca359594e
Audio Layer (IAPL-1)
Immutable Audio Publishing · Kokoro TTS · Audio Merkle RootExtension layer for immutable audio provenance across the entire literary collection:
- Audio Generation: Kokoro TTS v0.9.4 (hexgrad/Kokoro-82M, narrator George) with deterministic narrator configuration.
- Audio Hashing: Per-file SHA-256 cryptographic fingerprints.
- Audio Merkle Tree: Independent Merkle tree for all audio chapters and stories.
- Audio Edition Root: Anchored alongside the literary edition root directly on Polygon.
- Master Provenance: Audio edition root:
6daf95a029668335c53b192425d47ab4b776946bcdff3e92db37c28fc13bd519.
Narrator: George (Kokoro TTS v0.9.4)
Format: mp3_24000_192
Audio Root: 3295ee6c54447cac8062fc8ac822a677b061f9d7aa88a24e0267efdad9b4bca0
Audio Edition Root: 6daf95a029668335c53b192425d47ab4b776946bcdff3e92db37c28fc13bd519
Distribution Layer (LPS-NFT)
ERC-721 + ERC-2981 Royalties · Non-Custodial DistributionToken-based distribution layer for self-governing literary editions and individual stories:
- EditionNFT (
0x9e9C...f8b0): ERC-721 full edition token bound directly to the edition root. - StoryNFT (
0xD67e...e7E3): ERC-721 story tokens for individual chapters and short stories. - RoyaltyRouter (
0x4416...C461): Non-custodial, pull-based royalty router supporting multi-payee splits. - RecoveryToolkit (
0xedE0...89cB): Rigorous asset recovery framework (69 tests passing).
EditionNFT: 0x9e9Cc1486bf440Bd9eAaaD947958524Aaed3f8b0
StoryNFT: 0xD67e537Dba1236f802432cbDD30Fec3f6D38e7E3
RoyaltyRouter: 0x44169829489d70aaecbf845870652871C65fC461
RecoveryToolkit: 0xedE0Ec0C1BdCFBa4FE6AE0a4C53290a1e83e89cB
Compliance Framework
Levels 0 through 5 Conformance MatrixConformance measurement and certification framework for literary provenance:
- Level 0 (Anchor Only): SHA-256 hash on any public blockchain.
- Level 1 (Deterministic Build): CRLF normalization and bit-exact reproducible hashing.
- Level 2 (Merkle Provenance): Per-content-type trees and combined edition root.
- Level 3 (On-Chain Anchoring): Immutable smart contract binding edition root to block.
- Level 4 (Signed Canonical Root): ECDSA author identity and on-chain registry.
- Level 5 (Fully Observable): Cross-chain timestamps, client-side verifier, live events. (XXXIII Achievement Level)
Conformance Status: Level 5 · FULLY OBSERVABLE
Evidence A: 58/58 Automated Tests Passing
Evidence B: 293 Contract & Pipeline Unit Tests
Evidence C: Bitcoin OTS Block Proof Attested
Observability Layer
Client-Side Chain Reads · Event Decoding · Drag-and-Drop VerifierClient-side verification and real-time chain state monitoring without proprietary backend dependencies:
- 11 Parallel Contract Reads: Real-time queries via Ethers.js v6 directly from the reader's browser.
- Event Timeline: Live decoding of
EditionAnchoredandEditionFrozensmart contract events. - Autonomous Verification: Drag-and-drop client SHA-256 file verification against on-chain roots.
- 5 Prioritized RPC Endpoints: Automatic failover across Polygon public and private gateways.
Ethers.js Version: v6.13.4 UMD
Contract Reads: 11 Parallel Queries
Event Decoding: EditionAnchored, EditionFrozen
Failover Strategy: 5 Tiered Polygon RPCs
User ─── Observability (L6) ─── reads ──▶ Infrastructure (L1) │ │ ▼ ▼ Verify ─── Compliance (L5) ─── measures ─▶ Core Protocol (L2) │ │ ▼ ▼ Collect ── Distribution (L4) ── mints ───▶ Edition Root │ │ ▼ ▼ Listen ─── Audio Layer (L3) ── extends ──▶ Merkle Architecture
Improvement Proposals
Active and proposed standard extensions governing the future of on-chain literary publishing.
| Proposal | Layer | Title | Status |
|---|---|---|---|
| LPS-2 | L1 (Infrastructure) | Cross-chain anchor standard (Ethereum, Arbitrum, Solana) | Draft |
| LPS-3 | L2 (Core Protocol) | Zero-knowledge proof of origin & anonymous authorship | Research |
| LPS-4 | L2 (Core Protocol) | Multi-author edition support & cooperative consensus | Proposed |
| LPS-5 | L3 (Audio Layer) | Audio edition Merkle standard & stem-level verification | Active |
Persistent Identifiers & Citations
Bridging on-chain blockchain immutability with global academic repositories and peer-reviewed citation standards.
Archived under DOI 10.5281/zenodo.18646886. Permanent open-access scholarly repository operated by CERN.
Author identity verified under ORCID 0009-0008-8425-939X, binding cryptographic key pairs to academic authority.
cff-version: 1.2.0
title: "Deterministic Literary Publishing: A Multi-Layer Provenance Model for Verifiable Manuscripts"
authors:
- family-names: Burns
given-names: Kevan
orcid: "https://orcid.org/0009-0008-8425-939X"
doi: 10.5281/zenodo.18646886
date-released: 2026-02-15
13 Genesis Rust Simulation Crates
Behind the narrative sits Genesis: a high-performance multi-agent economic simulation engine constructed across 13 modular Rust crates executing 6,820 synthetic worlds and 44 empirical experiments.
Crates: 13 modular Rust crates
Synthetic Economies: 6,820 independent worlds
Replication Experiments: 44 empirical tests
Mathematical Models: Counterparty trust decay, broker cascade failure, liquidity spirals
Protocol Alignment: The same invariants governing Genesis Rust crates govern LPS-1 on-chain smart contracts
Interactive SHA-256 Merkle Proof
Type any sentence into the box below. Watch client-side JavaScript recalculate the SHA-256 leaf hash and simulated Merkle branch in real time:
66 chars
Calculating...
Calculating...
Verified Polygon Contracts
All contracts deployed on Polygon Mainnet (Chain ID 137), source code verified on Polygonscan.
| Contract Name | Role & Standard | Polygon Address | Network |
|---|---|---|---|
| PublishingKernelV2 | Core Registry & State Machine | 0xca9F...aAE037 |
Polygon Mainnet |
| LiteraryAnchor | Immutable Edition Anchor | 0xca9F...aAE037 |
Polygon Mainnet |
| AuthorIdentity | ORCID & Key Provenance | 0xca9F...aAE037 |
Polygon Mainnet |
| EditionNFT | ERC-721 + ERC-2981 Edition Tokens | 0x9e9C...f8b0 |
Polygon Mainnet |
| StoryNFT | ERC-721 + ERC-2981 Story Tokens | 0xD67e...e7E3 |
Polygon Mainnet |
| RoyaltyRouter | Pull-Based Non-Custodial Distribution | 0x4416...C461 |
Polygon Mainnet |
| RecoveryToolkit | Asset Recovery & Safety Checks | 0xedE0...89cB |
Polygon Mainnet |
Your Words, Your Proof
LPS-1 is an open standard. Fork the reference repository, run the deterministic hashing pipeline on your own manuscript, and anchor your work with immutable cryptographic provenance.