Skip to content
    Back to all Bounties

    Earn 31,500 ($315.00)

    Time Remainingdue 8 months ago
    Completed

    Build a Web App for Spotify User Data Verification and Polygon Wallet Creation

    AfricanFractal
    AfricanFractal
    Posted 8 months ago
    This Bounty has been completed!

    Bounty Description

    Bounty Title:
    Build a Web App for Spotify User Data Verification and Polygon Wallet Creation

    Problem Description:

    We are looking for a developer to create a web app that allows users to connect their Spotify accounts using OAuth 2.0 authentication. The app will verify specific user data (such as whether the user is in an artist's top listeners and the playlists they follow) using Spotify's API and then create a Polygon wallet for the user.

    The app will use Reclaim Protocol SDK to verify the user’s data and Thirdweb SDK to generate and link the Polygon wallet to the user upon verification. The web app should be built to run in a Replit instance, and the MVP will serve as a foundation for further development.
    Acceptance Criteria:

    Spotify OAuth 2.0 Authentication:

    • The web app must allow users to authenticate with their Spotify accounts using the OAuth 2.0 authorization flow.
    • Spotify's user-top-read and playlist-read-private permissions must be requested to retrieve data on the user’s top tracks and playlists.

    User Data Verification:

    • After the user logs in with their Spotify account, the app will use the **Reclaim Protocol SDK to verify if the user meets specific criteria (such as being an artist's top listener or following specific playlists).
    • Verification results should be displayed to the user.

    Polygon Wallet Creation:

    • Once the user's Spotify data is verified, the app will automatically create a Polygon wallet using the Thirdweb SDK.
    • The Polygon wallet address must be linked to the user's Spotify account within the app.

    Data Storage:

    • The app must maintain a record of the linked Polygon wallets and their corresponding Spotify users (user IDs or similar identifiers).

    Replit Deployment:

    • The app must be fully functional on Replit's hosting infrastructure (Replit Deployments).
    • The app must use HTTPS for secure user interactions, especially for the Spotify OAuth and wallet creation processes.

    Technical Details:

    • Frontend:
      The frontend should be minimal and simple, allowing users to log in with their Spotify account and view their verification status. Use a basic design framework such as HTML/CSS or React for ease of deployment on Replit.

    • Backend:

      • Use Flask (or Node.js) as the backend server to handle Spotify authentication and verification logic.
      • Set up the Reclaim Protocol SDK to process and verify Spotify user data.
      • Use the Thirdweb SDK to create Polygon wallets for verified users.
      • Host the backend on Replit using Replit Deployments.

    OAuth Flow:

    • Spotify OAuth 2.0 should be integrated for secure user authentication.
    • Follow Spotify’s best practices for redirect URIs and token handling.

    Reclaim SDK:

    • Set up the Reclaim SDK to verify Spotify user data.
    • Example: Check if the user is an artist’s top listener or verify playlists.

    Thirdweb SDK:

    • Once user data is verified, generate a new Polygon wallet for the user.
    • Store the Polygon wallet address and link it to the user’s Spotify data.

    Deployment Requirements:

    • The app must be deployable and runnable on Replit with their new Deployments infrastructure.
    • Replit environment variables should store sensitive information, such as Spotify API keys, client secrets, and the Polygon private key.

    Acceptance Criteria Summary:

    1. User can authenticate using their Spotify account.
    2. User data (top tracks, playlists) is verified with Reclaim SDK.
    3. Polygon wallet is automatically created and linked upon verification using Thirdweb SDK.
    4. The app is fully deployed on Replit and functional for user interaction.
    5. All necessary technical details (e.g., environment variables, OAuth flows, SDK integrations) are handled securely.

    Links
    Spotify devl
    https://developer.spotify.com/dashboard

    Reclaim
    https://docs.reclaimprotocol.org/

    Thirdwave:
    https://portal.thirdweb.com/connect/in-app-wallet/overview