🎵 Music & Sound Design · sample exchange

SONIK · x402

Turn every one-shot, loop, and MIDI sequence into a sub-cent revenue stream. Producers pay $0.01 per high-res download or sequence preview using instant HTS transfer signing. Bypass subscription fatigue and bloated marketplaces. You don't 'swap'—you stream micro-royalties directly to the creator's wallet with every drag-and-drop. Settlement is instant on Hedera, turning your sample library into a self-monetizing API for other artists and AI music agents.

Hedera testnet + x402 paywall· x402 native
Section · Onchain

The primitive.

full primer →

Access to the sample exchange 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 'gasless swap' model is replaced by a high-velocity 'pay-per-pull' model. By pricing at $0.01, we remove the friction of large purchases while providing a direct financial incentive for quality uploads. The x402 primitive turns social sign-in into a payment gateway.

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
$1.8B
The global music production software and sample library industry.
SAM
$240M
The independent producer & bedroom beatmaker market (Splice/Output users).
SOM
$12M
Web3-native sound designers and AI agent developers sourcing training data.

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

See also

Adjacent entries.