Skip to content

Review & Rating System for Sellers #135

@Villarley

Description

@Villarley

🧩 Issue 1: Trustless Work Provider Setup

🎯 Objective

Integrate the Trustless Work React library provider so hooks can be used app-wide.

⚙️ Config

.env:

NEXT_PUBLIC_TW_API_KEY

NEXT_PUBLIC_TW_BASE_URL (default: https://dev.api.trustlesswork.com)

🧱 Implementation

Create src/providers/trustless-work-provider.tsx

Wrap App.tsx (or app/layout.tsx) with

✅ Rules

Provider must load before any hooks are called

Fail fast if no API key

🧪 Tests

✅ Provider mounts without error

❌ Missing API key throws

✅ Definition of Done

Metadata

Metadata

Assignees

No one assigned

    Labels

    onlydust-waveContribute to awesome OSS repos during OnlyDust's open source week

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions