Bitcoin testnet4 · Spark REGTEST · no mainnet paths
👗 Fashion & Textile Design · design copyright

Pattern Provenance

Protect sewing patterns with immutable copyright records accessible via Google login.

IPFS via Pinata· decentralized storage
Section · Onchain

The primitive.

full primer →

Every design copyright artifact is pinned to IPFS through Pinata; fashion designers get a permanent CID and a public gateway preview instead of a fragile cloud URL.

Why this primitivePinning the payload to IPFS via Pinata gives a permanent CID; the CID's hash gets anchored to Bitcoin testnet4 so the storage layer is verifiable.

Kernel
a Pinata JWT upload that pins images / JSON / manifests to IPFS and returns a permanent CID — the payload behind every OP_RETURN hash and inscription
Drives the UI as
a 'pinned to IPFS' chip with the CID and an ipfs.io gateway preview
Appendix · Secrets

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 ↗
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 — it carries its own feature spec, code, setup and checklist. read the build strategy →

loading the build spec…
Appendix · Market

Market sizing.

TAM
$1.2B
fashion design software
SAM
$100M
copyright management
SOM
$10M
blockchain copyright for patterns

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

See also

Adjacent entries.