Skip to content

Move find source-resolution behind a shared server-side endpoint #79

Description

@moskovich

Move find source-resolution behind a shared server-side endpoint

ff-cli find currently owns all marketplace source resolution locally — src/utilities/marketplace-url.ts (parseFindInput) plus the per-marketplace resolvers (*-marketplace.ts, raster-client.ts).

We're generalizing the ff-app "add address" flow to accept the same inputs find does (addresses, marketplace URLs, raw chain coords). To avoid duplicating the marketplace orchestration in Dart — and to keep third-party API keys (e.g. RASTER_API_KEY) server-side — the plan is to expose this resolution as a shared endpoint in the command-service, with both ff-cli find and the app as thin clients.

For the CLI this means find would call that endpoint instead of resolving locally. We're OK with find no longer being fully standalone (it already needs network for the indexer + dp1-feed) — but flag here if any offline use depends on local resolution.

Tracked by: feral-file/ff-cloud-command-service#16 (server-side resolver, assigned to Anh).
App side: feral-file/ff-app#517

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions