NarrativeVote II
Enable readers to vote on story plot directions through blockchain-based decision contracts.
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
$1.5B
writing tools market
SAM
$200M
choose-your-own-adventure digital narratives
SOM
$15M
blockchain interactive fiction voting
Indicative figures for hackathon pitches — refine with your own research before raising.
Adjacent entries.
interactive storytelling
NarrativeVote
Enable readers to vote on story plot directions through blockchain-based decision contracts.
interactive storytellingNarrative Flow Sync
Save and share branching story manifests guaranteeing permanent access and collaboration.
interactive storytellingNarrative Nexus
Mint branching story nodes as NFTs to ensure unique creator control and provenance.
poetry archivingVerseLedger II
Securely timestamp and prove original poem authorship on the blockchain to prevent plagiarism.