✍️ Writing, Poetry & Narrative · world-building

CanonGate · x402

A modular lore-engine where every world-building contribution—from naming a star to defining a magic system—is a 0.01 USDC micro-transaction. Pay to mint a fact, tip to canonize a branch, or charge AI agents to scan your world's 'Bible' for their own narratives. Lore is no longer just text; it is a metered asset class.

Hedera testnet + x402 paywall· x402 native
Section · Onchain

The primitive.

full primer →

Access to the world-building 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 primitiveShifting from 'free collaborative editing' to 'pay-per-edit' filters for high-quality contributions and treats world-building as a persistent capital asset. x402 allows for granular ownership where every 'save' to the world-state is a settled transaction, creating a literal 'proof-of-lore' economy.

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
$140B
The global intellectual property and entertainment licensing market, increasingly moving toward decentralized co-creation.
SAM
$950M
The burgeoning market for collaborative storytelling platforms, tabletop RPG digital tools, and fan-fiction communities.
SOM
$12M
Onchain RPG developers and DAO-based creative collectives using Base for high-frequency state updates.

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

See also

Adjacent entries.