WeAD AI Music Composer is a blockchain-powered AI music generation platform built on BNB Chain, enabling users to create professional soundtracks instantly using cryptocurrency payments.
- ๐ผ AI Music Generation - Create professional soundtracks instantly
- ๐ฐ Crypto Payments - Pay with WeAD Token on BNB Chain
- โ๏ธ BNB Chain Integration - Fast, low-cost transactions
- ๐ Web3 Wallet - Secure MetaMask connection
- ๐พ Decentralized Storage - Music stored securely
- ๐ง Instant Playback - Play your music in the browser
- ๐ฅ MP3 Downloads - Download high-quality audio files
- ๐จ Modern UI - Beautiful, responsive design
- Framework: React 18 with TypeScript
- Styling: Tailwind CSS with custom theme
- Web3 Integration: Ethers.js v6 + MetaMask
- Internationalization: i18next support
- MusicPayment.sol - Payment processing contract
- WeADToken.sol - Platform BEP-20 token
- Network: BSC Mainnet (Chain ID: 56)
- AI Music Engine - Professional music generation
- Payment Processing - On-chain transaction handling
- File Management - Secure storage system
# System requirements
- Node.js 16+ and npm
- MetaMask wallet
- Gitgit clone https://github.com/Kennethlee83/Ai-Music-Composer.git
cd Ai-Music-Composer# Install dependencies
npm install
# Copy environment template
cp env.example .env.local
# Configure .env.local with your settings
nano .env.local# Compile contracts
npx hardhat compile
# Deploy to BSC Mainnet
npx hardhat run scripts/deploy-payment.js --network bsc
# Verify on BSCScan
npx hardhat verify --network bsc CONTRACT_ADDRESS# Development mode
npm run dev
# Production mode
npm run build
npm startCreate a .env.local file based on env.example:
# BNB Chain Configuration
NEXT_PUBLIC_CHAIN_ID=56
NEXT_PUBLIC_RPC_URL=https://bsc-dataseed.binance.org/
BSC_RPC_URL=https://bsc-dataseed.binance.org/
# Smart Contracts (BSC Mainnet)
NEXT_PUBLIC_WEAD_TOKEN_ADDRESS=0xCF99bF2cbD83A580437d39A5092C1665Faa9898B
NEXT_PUBLIC_MUSIC_PAYMENT_ADDRESS=0xDA90A244279C1BB9D0EA156D26A842a3B1bCB9BE
# Private Keys (NEVER commit these!)
PRIVATE_KEY=your_private_key_here
BSCSCAN_API_KEY=your_bscscan_api_key
# AI Music Generation
AI_MUSIC_API_KEY=your_api_key_here
AI_MUSIC_BASE_URL=your_api_endpoint.env.local file or expose private keys!
-
Connect Wallet
- Click "Connect Wallet" button
- Approve MetaMask connection
- Network will auto-switch to BSC
-
Create Music
- Enter song title
- Describe your music style
- Add lyrics or description
- Choose instrumental or vocal
-
Pay with WeAD
- Approve WeAD token spending
- Confirm payment transaction
- Cost: Variable based on generation length
-
Download & Enjoy
- Music generates in 30-60 seconds
- Play in browser
- Download MP3 file
// Process payment for music generation
const tx = await musicPaymentContract.processPayment(
amount,
tokenAddress
);
// Check payment status
const status = await musicPaymentContract.getPaymentStatus(
paymentId
);// Approve spending
const approveTx = await weadToken.approve(
musicPaymentAddress,
amount
);
// Check balance
const balance = await weadToken.balanceOf(userAddress);- WeAD Token:
0xCF99bF2cbD83A580437d39A5092C1665Faa9898B - Music Payment:
0xDA90A244279C1BB9D0EA156D26A842a3B1bCB9BE
- Active development on BNB Chain
- Smart contract integration with payment systems
- Real-world music generation platform
- Growing user base
- BSC Mainnet deployment
- AI music generation integration
- Payment system implementation
- DappBay listing
- WeAD Token rewards system
- User dashboard and history
- Social features and sharing
- Mobile app version
- NFT minting for compositions
- Music marketplace
- Royalty distribution system
- DAO governance
# Run contract tests
npx hardhat test
# Run with gas reporting
npx hardhat test --gas-report
# Test deployment (local)
npx hardhat run scripts/deploy-payment.js --network hardhatWe welcome contributions! Please see our Contributing Guidelines.
- Smart contracts follow OpenZeppelin standards
- Secure payment processing
- No custodial wallet functions
- Regular security audits
Found a security issue? Please email security@wead.info instead of creating a public issue.
This project is proprietary and confidential. The code is made publicly visible for verification purposes only (blockchain directories, partners, investors).
All Rights Reserved - Unauthorized use, copying, modification, or distribution is strictly prohibited.
For commercial licensing inquiries: licensing@wead.info
See the LICENSE file for complete terms and conditions.
- Website: weadcomposer.info
- Twitter: @WeADPlatform
- Telegram: t.me/WeADCommunity
- Email: radiojack31@gmail.com
- BNB Chain - For the robust blockchain infrastructure
- OpenZeppelin - For secure smart contract libraries
- Next.js Team - For the amazing React framework
- Our Community - For continuous support and feedback
Built with โค๏ธ by the WeAD Team on BNB Chain
Empowering creators with AI-powered music generation on the blockchain.