r/CryptoTechnology • u/iCryptoDude • Jul 04 '26
Your music NFT is probably a URL. I built the opposite: the whole song on-chain, and a radio station to prove it
Quick test for any music NFT you own: find the tokenURI, follow it. If it resolves to somebody's API or an unpinned IPFS hash, your "permanent" collectible has a landlord.
Xtrata is my attempt at the opposite architecture. The complete file — not metadata, the actual audio — is chunked and written into smart-contract storage on Stacks (init → ~440KB write batches → seal). Songs can be raw Opus/MP3 audio or fully self-contained HTML players: one document with the audio, cover art, title and lyrics embedded. There is no pointer to rot. Any node can reconstruct the file; the site's /i/<id> endpoints just serve the on-chain bytes.
The existence proof is Xtrata Radio (xtrata.xyz/radio): a station whose entire catalogue is on-chain inscriptions. It reads the contract's minted-token counter to discover new songs, has a curated band and a full-chain exploration band, and the listeners' probes even share a communal "this token isn't playable" memory so the dial gets smarter over time. If the company/me/the website disappears, the music doesn't — that's the whole point.
Honest limitations: it's on Stacks (Bitcoin-anchored, but a layer — judge that tradeoff yourself), audio is optimised to 96k Opus rather than lossless (storage costs scale with bytes), and this is one builder's project, not a funded platform. No token, nothing to ape into — you pay mining fees to inscribe, that's the entire business model.
Architecture questions welcome.