-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Global Playlist Management for On-chain Radio Station
As a user, I want to be able to submit songs to a global playlist and influence the play order by making payments in ETH, so that I can share my favorite music with the audience and have it played according to my preferences.
Acceptance Criteria
- Users can submit songs to the global playlist by paying a specified amount of ETH.
- Users can pay an additional ETH fee to 'skip the line' and have their song played earlier.
- Users have the option to pay ETH to remove a song from the playlist.
- The system will validate that sufficient ETH has been paid for the requested action before execution.
- Users can listen to the on-chain radio station directly through the website or through an embedded player on other websites.
- The system keeps a transparent ledger of payments and song queue changes on the blockchain.
sequenceDiagram
participant U as User
participant S as Smart Contract
participant P as Playlist
U->>S: Pay ETH to submit song
S->>P: Add song to playlist
U->>S: Pay ETH to skip the line
S--)P: Move song up in the queue
U->>S: Pay ETH to remove song
S--)P: Remove song from playlist