rust-payjoin icon indicating copy to clipboard operation
rust-payjoin copied to clipboard

Isolate OHTTP Gateway in payjoin-directory

Open DanGould opened this issue 4 months ago • 2 comments

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.

DanGould avatar Sep 09 '25 17:09 DanGould

i"ll work on this @DanGould

zealsham avatar Sep 09 '25 18:09 zealsham

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.

DanGould avatar Sep 09 '25 20:09 DanGould