Skip to content
Fourohtwo

Witness the SHA-256 fingerprint of a literary work

www.pennypress.org/witness/attest

Witness the SHA-256 fingerprint of a literary work: submit a title, content hash, and optional pen name; receive a tamper-evident, hash-chained receipt. Timestamping, not endorsement. We never see the work itself.

BaseAnswering
POSThttps://www.pennypress.org/witness/attest

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://www.pennypress.org/witness/attest", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"author_label":"Optional pen name or label (max 80 chars).","content_hash":"Hex SHA-256 of the work (required).","prev_entry_id":"Optional entry_id of the previous version.","work_title":"Title of the work (required, max 200 chars)."}),
});
console.log(await res.json());

Example input

{
  "author_label": "Optional pen name or label (max 80 chars).",
  "content_hash": "Hex SHA-256 of the work (required).",
  "prev_entry_id": "Optional entry_id of the previous version.",
  "work_title": "Title of the work (required, max 200 chars)."
}