Seamlessly Transfer Your Music Playlists Across Platform. Powered by Starknet ๐ฆ
Imagine switching from Spotify to YouTube Musicโor any other service (incoming) โwithout losing a single song or painstakingly rebuilding your favorite playlists. Thatโs TuneBridge.
TuneBridge is a Starknet-powered app that lets you hop between music platforms while keeping your playlists intact. No more copy-and-paste headaches or missing tracksโjust one smooth transfer.
- Zero Friction
Move a playlist in seconds. Select your source, pick your destination, hit โTransfer,โ and youโre done.
- Youโre in Control
Your playlists live on the blockchain. Theyโre yours alone, and you decide where they go.
- Fair Subscriptions
Weโve built in simple, token-based subscriptions so you can unlock extra features or support the projectโwhatever works for you.
- Built for Scale
Because itโs on Starknet, transfers stay fast and cheap no matter how many tracks youโve got.
- Cairo Smart Contracts
Core logicโplaylist storage, access control and subscription tiersโis all written in Cairo for native Starknet performance.
- u256 Support
Handles large token amounts and counters with proper u256 serialization, so no surprise overflows or data loss.
- On-Chain Data Structures
Playlists are stored using Vec and Map in contract storage, letting us push, read and iterate on entries efficiently.
- Token-Based Access
Subscriptions use ERC-20 dispatchers under the hood, letting you pay once and unlock premium transfers.
- Sncast Deployment
Leverages sncast for smooth declare/deploy flowsโso rolling out upgrades or fresh instances is frictionless.
Music services come and go, but your taste doesnโt. TuneBridge makes sure your carefully curated playlists arenโt stuck on one platform. Itโs playlist portability made simple.
Important links
Starknet smart contract - https://github.com/Shuriken-labs/tunebridge-subscription-starknet
User Frontend - https://github.com/Shuriken-labs/tune-bridge
โข Smart Contracts Done โ Wrote and tested the core Cairo contracts for playlist storage, subscription tiers and token-gated transfers โ Supported dynamic Vec<u256> for tiered pricing and on-chain Map<address, ISubscription> for user state โ Added u256 serialization so huge subscription amounts never overflow โข Deployment Pipeline โ Automated declare/deploy with Scarb & sncast scripts โ Pushed to Sepolia testnet, verified contract addresses, iterated quickly on constructor args (single-param version) โข Playlist Transfer Logic โ Hooked up a minimal but hectic backend to call Spotify/YouTube APIs, fetch a playlist snapshot and generate a transferable format .. one major problem,, different platforms formats their response differently. - It was Difficult because there's no one click api to do all in a seemless flow, but we made the user experience so satisfyng, our users wouldnt know it's making multiple apui calls to do something so two-stepped ๐ but we did it. โ Integrated with the Starknet contract so โTransferโ = pay token โ on-chain event โ callback to backend โข Front-End Prototype โ Built a simple React UI: connect wallet, choose source/destination, hit โTransferโ โ Real-time status updates (transaction pending โ success โ migrated) โข Subscription & Token Flow โ Implemented ERC-20 dispatcher for subscription payments โ Demoโd tiered access (e.g. โPro Tierโ unlocks unlimited transfers)
n/a