#bitcoin #payjoin #ohttp #bip78 #bip77

bin+lib payjoin-directory

A store-and-forward and Oblivious Gateway Resource directory server for Async Payjoin

2 releases

new 0.0.2 Apr 14, 2025
0.0.1 Dec 5, 2024

#430 in #bitcoin

Download history 1/week @ 2025-01-03 2/week @ 2025-02-14 6/week @ 2025-02-21 121/week @ 2025-04-11

121 downloads per month
Used in payjoin-test-utils

MITNFA license

370KB
7K SLoC

Payjoin Directory

BIP 77 Async Payjoin (v2) peers store and forward HTTP client messages via a directory server in order to make asynchronous Payjoin transactions. This is a reference implementation of such a server

V2 clients encapsulate requests using Oblivious HTTP (OHTTP) which allows them to make payjoins without the directory being able to link payjoins to specific client IP. Payjoin Directory is therefore an Oblivious Gateway Resource.

Payjoin Directory also behaves as an unsecured public-facing HTTP server in order to provide backwards-compatible support for BIP 78 Payjoin (v1) clients.

Dependencies

~23–35MB
~498K SLoC