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

Scaffold: fetchWithL402() interface + mock 402 server #1

@EmpireOperating

Description

@EmpireOperating

Add a minimal Node/TS scaffold:

  • export fetchWithL402(url, init, opts)
  • implement mock server that returns 402 + invoice metadata then accepts retry with proof header
  • tests covering retry path

No real payments; mock invoices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good-first-botSmall scoped tasks suitable for bots

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions