Skip to content
This repository was archived by the owner on Apr 4, 2026. It is now read-only.
This repository was archived by the owner on Apr 4, 2026. It is now read-only.

Create endpoint to proxy Goldsky requestsΒ #51

@bagelface

Description

@bagelface

Description πŸ—’οΈ

Currently Goldsky requests are made by frontend components which exposes the key to the public. We want to create a Next API endpoint through which we can proxy requests so that the API key is not exposed.


Details πŸ—οΈ

Currently we are using NEXT_PUBLIC_GOLDSKY_BASE_API_URL. Instead we need to make this environment variable private GOLDSKY_BASE_API_URL and accessible only to the backend so that it is not exposed to the public. It would also be smart to rotate the API key since it has been public in production since the creation of this issue.

See TODO comment for context:

#TODO: implement and actually make private (ignore for now)


Acceptance Criteria β˜‘οΈ

  1. All of the changes described in the "Details" section above are implemented and tested.
  2. Code is clear, clean, and properly documented.
  3. UI changes are sensible and non-regressive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcurrent scopePart of an active project scope

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions