This project is a decentralized music platform built using Soroban smart contracts on the Stellar blockchain.
It allows artists to upload their songs by storing song metadata such as artist name, song title, and IPFS hash on-chain. This ensures transparency, ownership proof, and censorship resistance.
The actual music files are stored on IPFS while the blockchain stores secure references.
-
Artists can upload song metadata to the blockchain
-
Each song includes:
- Artist Name
- Song Title
- IPFS Hash (link to decentralized storage)
-
Users can fetch the complete list of uploaded songs
This creates a decentralized registry of music content.
- ✅ Fully decentralized music registry
- ✅ IPFS integration for media storage
- ✅ Immutable song metadata storage
- ✅ Transparent content publishing
- ✅ Simple Soroban smart contract design
- ✅ Gas efficient implementation
https://stellar.expert/explorer/testnet/contract/CBSENIURAR4ZYZ33QDXJR6UKWUFHJKSALQZV2MJIT74WUTR3GH7JM67T
- Artist wallet authentication
- Like / tip system using Stellar tokens
- Music NFT minting
- Streaming frontend UI
- Royalty distribution smart contract
Your contract is good beginner level, but for real projects you should:
Right now songs are only pushed → hard to fetch one song
Better:
song.set(Symbol::new(&env,"id"), song_id);Anyone can upload songs
Add:
require_auth()for artist wallet- ownership mapping
So frontend can detect upload instantly ⚡
env.events().publish(
(Symbol::new(&env,"upload"),),
title
);If 10,000 songs → get_songs() becomes heavy
Better:
get_song_by_id()
get_songs_range()
Like:
🎧 Advanced Music Platform Contract 💰 Royalty Distribution Logic ❤️ Like + Tip System 🌐 React Frontend UI 🚀 Deployment Guide Step-by-Step
Just tell me 👍