🎵 Music & Sound Design · sample library curation

ROOTS · x402

A hyper-granular sample marketplace where every 'Crates' search and 'Stem' download is a 0.01 USDC micro-transaction. Producers bypass high-cost monthly subscriptions to pay per audition and per download. Each payment is a provable on-chain signature that acts as an instant-use license, creating a permanent, verifiable audit trail of sample provenance from source to DAW.

Hedera testnet + x402 paywall· x402 native
Section · Onchain

The primitive.

full primer →

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

Why this primitiveThe current sample industry is plagued by 'All-you-can-eat' subscriptions that underpay niche creators. x402 enables a 'pay-per-discovery' model where curators are compensated for every individual interaction, making high-fidelity provenance affordable for low-budget bedroom producers while securing royalties for originators via the Base transaction hash.

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
$2.8B
The global digital music production and royalty licensing market.
SAM
$450M
The addressable market of independent music producers and sound designers utilizing digital sample marketplaces.
SOM
$12M
Target revenue from the 'per-call' volume of stem extractions and sample auditions by Base-native creative agents and niche sound-design labels.

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

See also

Adjacent entries.