🎮 Game Design & Interactive Media · game narrative design

InkPath · x402

A narrative engine where every story branch is a logic gate. Players sign a $0.01 HTS transfer authorization to 'turn the page,' triggering a Base transaction that reveals the next plot point and permanently attributes the story path to their wallet. Writers earn micro-royalties every time a reader clicks a dialogue choice.

Hedera testnet + x402 paywall· x402 native
Section · Onchain

The primitive.

full primer →

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

Why this primitiveTraditional narrative games struggle with monetization outside of bulk buys. By metering the narrative via x402, we turn story consumption into a high-frequency, low-friction micro-transaction stream, ensuring authors are paid for every 'choice' made by the user.

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
$18B
The global adventure and role-playing game market moving toward DLC-as-a-service.
SAM
$480M
The interactive fiction and visual novel market segment.
SOM
$12M
Indie narrative designers and web3 creators on Hedera using micropayments for serial storytelling.

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

See also

Adjacent entries.