✍️ Writing, Poetry & Narrative · literary device cataloging

Canon Mirror · x402

A real-time, high-granularity scanner for narrative DNA. Every rhyme scheme, metaphor, or 'Chekhov's Gun' detected in a text is indexed as a paid insight. Writers pay per device breakdown to deconstruct their competition, while scholars stream micropayments to generate the world's most dense crowdsourced corpus of literary techniques. No subscriptions, just 0.01 USDC per device annotation logged to the chain.

Hedera testnet + x402 paywall· x402 native
Section · Onchain

The primitive.

full primer →

Access to the literary device cataloging engine is metered with x402: 0.01 HBAR or 0.01 HTS USDC per call, paid from the embedded wallet, so writers — or the agents working for them — pay per query and get a HashScan receipt every time.

Why this primitiveTraditional literary analysis is trapped in static PDFs or expensive textbooks. By turning 'device discovery' into a metered on-chain event, we create a liquid market for structural analysis. x402 allows for the 'micro-critique'—paying only for the specific narrative threads you want to pull.

Kernel
an x402 v2 paywall metering access at 0.01 HBAR or 0.01 HTS USDC (token 0.0.429274) per call, paid from the embedded wallet through the relay and verified by a self-hosted facilitator against the Hedera mirror node
Drives the UI as
a 'pay 0.01 HBAR or USDC to unlock' button with a live flow log and a HashScan link for every settlement
Appendix · Secrets

Required keys.

HEDERA_OPERATOR_ID
Hedera testnet account id (0.0.xxxxxx). Create and fund it free.
open ↗
HEDERA_OPERATOR_KEY
ECDSA private key for that account, from the Hedera portal dashboard.
open ↗
REOWN_PROJECT_ID
Free project id powering the HashPack pairing modal.
open ↗
HEDERA_RPC_URL
Optional. JSON-RPC relay, defaults to the public Hashio endpoint.
open ↗
PINATA_JWT
Pins images / JSON / manifests to IPFS.
open ↗

Add these in your Lovable project under Settings → Secrets before pasting the prompt below.

Appendix · Mega-prompt

The build prompt.

Paste into a fresh Lovable project. Make sure all five secrets above are set first. read the build strategy →

Loading the mega-prompt…
Appendix · Market

Market sizing.

TAM
$1.2B
The global digital publishing, academic literary research, and AI-assisted narrative generation market.
SAM
$85M
The professional creative writing, screenwriting, and high-level editorial market using digital toolsets.
SOM
$4.2M
On-chain researchers and speculative fiction writers utilizing Base for provenance and craft validation.

Indicative figures for hackathon pitches — refine with your own research before raising.

See also

Adjacent entries.