A Web3 platform for tokenizing music royalties. Musicians can sell ownership shares of song royalties to investors and fans transparently using blockchain technology, powered by Mantle Network.
🌐 Live Demo: https://melodia-eth.netlify.app
- Creator Hub: Deploy royalty contracts for new songs
- Marketplace: Buy and sell song royalty ownership
- Portfolio: View your music assets and holdings
- Admin Dashboard: Approve/reject listing requests
npm install
cd frontend && npm installCreate a .env file in the project root:
PRIVATE_KEY=0xYOUR_PRIVATE_KEY
MANTLE_TESTNET_RPC_URL=https://rpc.testnet.mantle.xyz
# For frontend network selection
VITE_NETWORK=mantleTestnetDeploy to Mantle Testnet:
npx hardhat run scripts/deploy-admin.js --network mantleTestnetDeploy to Mantle Mainnet:
npx hardhat run scripts/deploy-admin.js --network mantleMainnetUpdate contract addresses in frontend/src/config/contracts.js
cd frontend
npm run dev| Network | Chain ID | RPC URL | Explorer |
|---|---|---|---|
| Mantle Sepolia (Recommended) | 5003 | https://rpc.sepolia.mantle.xyz | https://explorer.sepolia.mantle.xyz |
| Mantle Mainnet | 5000 | https://rpc.mantle.xyz | https://explorer.mantle.xyz |
Change the VITE_NETWORK environment variable in your .env file:
mantleSepolia- Mantle Sepolia Testnet (recommended for development)mantleMainnet- Mantle Mainnet (production)
| Contract | Address |
|---|---|
| KYCRegistry | TBD after deployment |
| MusicIPNFT | TBD after deployment |
The wallet that deploys the MusicIPNFT contract automatically becomes the admin.
Admin login: http://localhost:5173/admin
- Deployment Guide - How to deploy and setup
- Smart Contracts - Contract architecture
- Roadmap - Development roadmap
- Pitch - One-pager pitch document
- Team - Team bios and contact
- Compliance - Compliance declaration
- Frontend: React + Vite + TailwindCSS
- Smart Contracts: Solidity 0.8.20
- Framework: Hardhat
- Library: ethers.js v6
- Blockchain: Mantle Network (L2)
- Push repository to GitHub
- Connect repo in Netlify
- Netlify will auto-detect
netlify.toml - Auto-deploy on every push
# Build image
docker build -t melodia .
# Run container
docker run -p 3000:80 melodiaOr with docker-compose:
docker-compose up -dAccess at http://localhost:3000
MIT
