Narrative Device Index II
Create permanent indexes of literary devices used in stories with examples and annotations.
Privy Spark sign-in· bitcoin wallet UX
Section · Onchain
full primer →The primitive.
Writers sign in with Google through Privy — no seed phrase, no wallet extension — and Privy mints them a Spark (Bitcoin L2) wallet plus a Bitcoin testnet deposit address in one flow.
Why this primitiveA Privy Spark embedded wallet lets creators sign in with Google and receive a Bitcoin L2 address in one click — no seed phrase, no browser extension.
Kernel
Privy embedded wallet with chainType 'spark' — Google / email sign-in mints a Bitcoin testnet address plus a Spark (Bitcoin L2) address in one flow, no seed phrase, no extension
Drives the UI as
a one-click 'Sign in with Google' that drops the user into the app with a copy-able Spark address and a testnet BTC deposit address
Required keys.
PRIVY_APP_ID
Privy dashboard → your app. Configure with chainType 'spark' to mint Bitcoin L2 wallets on sign-in.
open ↗PRIVY_APP_SECRET
Server-side. Required for the merchant Spark wallet to observe incoming sats transfers via the Privy RPC.
open ↗Add these in your Lovable project under Settings → Secrets before pasting the prompt below.
Appendix · Mega-prompt
The build prompt.
self-contained
Paste into a fresh Lovable project — it carries its own feature spec, code, setup and checklist. read the build strategy →
loading the build spec…
Market sizing.
TAM
$210M
literary analysis and education software
SAM
$50M
annotation and cataloging apps for writers
SOM
$8M
educators and authors
Indicative figures for hackathon pitches — refine with your own research before raising.
Adjacent entries.
literary device cataloging
Narrative Device Index
Create permanent indexes of literary devices used in stories with examples and annotations.
poetry archivingVerseLedger II
Securely timestamp and prove original poem authorship on the blockchain to prevent plagiarism.
interactive storytellingNarrativeVote II
Enable readers to vote on story plot directions through blockchain-based decision contracts.
screenwriting rightsScriptRoyalty II
Automate royalty distribution for collaborative screenplays using verified smart contract agreements.