As a user, I want to authenticate myself to interact with the on-chain radio station, submit songs, pay ETH, skip the line, or kick a song off the global playlist. This is necessary to ensure that my actions on the platform are secure and tied to my identity.
Acceptance Criteria
[ ] User can log in with a unique username and password.
[ ] User can log in using a MetaMask wallet.
[ ] User can log out of the system.
[ ] User receives an error message when attempting to login with invalid credentials.
[ ] User’s session is maintained securely for a defined period unless they actively logout.
[ ] User is redirected to the payment page upon successful login when they want to submit a song or pay for other services.
sequenceDiagram
participant U as User
participant F as Frontend
participant B as Blockchain
U->>F: Select login option
F->>U: Prompt for credentials / wallet connection
U->>F: Enter credentials / Confirm wallet connection
F->>B: Verify credentials / wallet address
B-->>F: Authentication result
F-->>U: Redirect to dashboard / Error message
User Authentication
As a user, I want to authenticate myself to interact with the on-chain radio station, submit songs, pay ETH, skip the line, or kick a song off the global playlist. This is necessary to ensure that my actions on the platform are secure and tied to my identity.
Acceptance Criteria