Skip to content

Isolate OHTTP Gateway in payjoin-directory #1056

Open

Description

@DanGould

Isolate OHTTP Gateway operation to a separate abstract module from payjoin-directory/src/lib.rs so that it serves as a reference for other implementations like Cashu Dev Kit, Nostr Relays etc. It should separate support for our x-ohttp-allowed-purposes mechanism and ohttp_keys and and ohttp decapsulation from the main lib file.

After this is done, investigate if this could be made into a tiny gateway crate.

Activity

  1. zealsham commented on Sep 9, 2025

    @zealsham
    Collaborator

    i"ll work on this @DanGould

  2. DanGould commented on Sep 9, 2025

    @DanGould
    MemberAuthor

    Beware that reviewing this may not be top priority before payjoin-1.0 milestone closes, but I do think you have the chops to take it on after having worked on the metrics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementpayjoin-mailroom

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions