Imagine a market where a song is an asset you can hold, trade, and earn from. Where the moment a track starts to move — passed hand to hand, wallet to wallet, fan to fan — the artist gets paid on every single trade , automatically, forever. Where being early to a song you love isn't just a feeling, it's a position. Where the value a fanbase creates flows back to the people who created and championed it, instead of evaporating into a platform's balance sheet.
That market has never existed. Not because no one wanted it — but because the tools to build it didn't exist. You cannot take the instrument that finally makes music fair and list it on the exchanges we already have. They break.
So we built a new one. Riffdex is the first automated market maker designed from the ground up for music — the home of AFTs, Audio Fungible Tokens. This is the story of why music needed its own exchange, what makes it genuinely hard, and how we solved it.
The token that breaks every exchange
Start with the token, because everything follows from it.
An AFT — Audio Fungible Token — is a song expressed as a fungible, divisible asset. Hold it, and the music unlocks. Trade it, and a fee is taken and split automatically: the majority to the artist, the rest to the fans who stake it. The artist earns on the primary sale and every trade after it , on-chain, with no distributor and no quarterly wait. The royalty isn't a promise bolted on top — it's woven into the token itself. Every time an AFT moves, it pays.
In crypto terms, that makes an AFT a fee-on-transfer (FOT) token: a token that skims a fee on every transfer. And that single property — the property that makes music finally pay its makers — is exactly what shatters every exchange built before it.
Why every other AMM chokes on it
Here's the uncomfortable truth almost no one says out loud: the great decentralized exchanges — the Uniswaps of the world — were never built for tokens like this. They were built on a quiet assumption: what you send is what arrives. Send 100 tokens to the pool, the pool receives 100 tokens. The entire machinery of pricing, slippage, and settlement rests on that equality.
An AFT violates it on purpose. Send 100, the pool receives 99, because the token took its royalty in transit. And that tiny gap is enough to wreck a generic AMM three different ways:
-
It double-charges. A typical router pulls the token from you into itself, then pushes it into the pool — two transfers, so the royalty is taken twice . The fan gets silently taxed on both legs, and either walks away or never comes back.
-
It misprices. The pool calculates your trade on the amount you said you'd send, not the smaller amount that actually arrived. The math no longer balances; the price drifts wrong.
-
It reverts. Many pools notice the mismatch and simply refuse — the trade fails, again and again, for reasons the user can't see.
This is why "just put music tokens on a normal DEX" has never worked and never will. The mechanism that pays the artist is the mechanism that breaks the market. You cannot have both — unless you build the market to expect it.
So we built one that does
Riffdex starts from the opposite assumption: what you send is not what arrives — so measure what arrives.
Every pool on Riffdex settles on real, measured balances. Instead of trusting the number you declared, it looks at how many tokens it actually received after the royalty, and runs the trade on that . The fee-on-transfer isn't an edge case it patches around — it's the ground truth the whole exchange is built on. Slippage is enforced on the amount that truly lands. Pricing stays honest. Trades don't revert on a mismatch, because there is no mismatch to trip over.
Then we killed the double-fee. Our router moves your token straight from you into the pool in a single transfer , and the pool trades against what it already holds. One movement, one royalty — exactly what you'd pay trading the pool directly, never twice. The artist earns their fee once. You're never taxed for the privilege of using the exchange.
One fair fee. Never two. That sentence is small. Getting a whole AMM to honor it is not.
One hub, and every song is connected
There's a second problem music creates: a song's value has no natural dollar price. An AFT only knows what it's worth against something else. If every song paired against every other song, you'd get thousands of shallow, fragmented, unpriceable little markets.
So Riffdex uses a hub-and-spoke design. Every AFT pairs against one shared base — a USDT hub. That gives every song a single, honest anchor to price against, and it means any song can be traded for any other song in at most two hops : AFT → USDT → AFT. One hub, and the entire catalog is connected. Liquidity concentrates instead of scattering. Pricing has one source of truth. And a trade from one artist's token to another's is smooth, cheap, and — thanks to the single-fee router — still pays each token's royalty exactly once.
Why it still just works
Here's the part that turns skeptics into believers: none of this is a fragile hack. Riffdex isn't a normal AMM with duct tape over the cracks. It's the same battle-tested constant-product math the whole industry trusts — x·y=k , the elegant curve that has priced billions in trades — re-derived around one honest change: account for what actually arrives.
The curve still holds. The invariants still hold. Custody, reserves, LP accounting — all the load-bearing parts behave exactly as a rigorous AMM should. What changed is the accounting layer , not the math layer . We didn't weaken the engine to fit music; we rebuilt the fuel line so a different kind of fuel flows cleanly through the same engine. That's why it's not just clever — it's correct. It works because it was designed to work with the token as it truly is, not as exchanges wish it were.
Rugproof by construction
A market for songs is only worth anything if people can trust it. So trust isn't a policy on Riffdex — it's baked into the code, where it can't be quietly changed later:
-
The artist's royalty address is immutable. Once a song launches, where its fees go can never be altered. No rug where the creator swaps the destination and drains the stream.
-
The first price is the fans' price. A song's market can only open at the exact price its earliest supporters paid in the presale. No insider can spin up a shadow market ahead of the crowd and dump on them. The people who believed first are protected first.
-
The market can't be bricked. Pricing runs on a manipulation-resistant, time-weighted oracle backed by Chainlink — and it's a best-effort side channel, never a single point of failure. Custody and withdrawals never depend on it. A song's market can't be frozen, cornered, or held hostage.
Rugproof isn't a slogan we're asking you to believe. It's a set of properties you can read in the contracts.
This is bigger than an exchange
Step back and look at what this unlocks, because the DEX is just the engine. The destination is a new asset class.
For a decade, the industry tried to make music an NFT — a one-of-one collectible priced by scarcity. It never fit, because a song's value was never scarce. It's fungible and recurring : streams, royalties, fandom that compounds year after year. That's not a collectible. That's a cash-flow instrument. AFTs, not NFTs.
Give that instrument a market built for it, and the incentives finally line up for everyone at once. Artists turn a fanbase into a perpetual, on-chain royalty stream instead of a quarterly trickle. Fans hold something that pays them back — a real stake in the songs they love, with upside if they were early — instead of a jpeg that just sits there. Stakers earn yield from genuine trading activity, so believing in an artist and supporting an artist become the same act. No one in that loop is the product. Everyone in it is an owner.
That's the world Riffdex is built to bring online: a living, liquid market where a song is a first-class financial asset, and the value of music flows back to the people who make it and love it.
Where we are, and where this goes
Let me be honest about the stage, because honesty is how you earn belief. The full Riffdex protocol — the AFT, the artist-launch factory, the presale that sets a fair genesis price, the fee-on-transfer-native AMM, the hub-and-spoke router, and the manipulation-resistant oracle — is written and thoroughly tested. The hard, differentiated engineering is done. What's ahead is a security audit, deployment, and the app that puts this in every artist's and fan's hands.
We're building it in the open. If you've read this far and felt something — if you make music, if you build in web3, if you just believe the industry has been solving the wrong problem — come with us. Follow along, argue with us, help us build it.
Because music was never supposed to be an NFT. It's an AFT. And for the first time, it has a market that knows it.
Remember the name. Riffdex — the home of AFTs.
Follow the build: X · Farcaster · Instagram — and read the thesis, "AFTs, not NFTs."