Bluewallet: Is sending Payjoins to onion endpoints feasible now or in future?

Created on 18 Oct 2020  路  2Comments  路  Source: BlueWallet/BlueWallet

Hi,
In Joinmarket we've implemented the receiver side of Payjoin as of 0.7.1 but specifically using ephemeral Tor onion service endpoints. From a brief look it seems like you're (as Payjoin sender) making the request here; given my limited knowledge of both javascript and mobile development, I am guessing it is either difficult or very difficult to implement requests over Tor, so am I right in saying we have no possibility of compatibility, for now, between Joinmarket and BlueWallet?

bitcoin enhancement privacy

Most helpful comment

precisely. tor is not supported yet.
we might do a simple server-based clearnet2tor proxy (we need to proxy simple POST requests, right?). thats not ideal, but at least it will make things work

All 2 comments

precisely. tor is not supported yet.
we might do a simple server-based clearnet2tor proxy (we need to proxy simple POST requests, right?). thats not ideal, but at least it will make things work

we might do a simple server-based clearnet2tor proxy

oh that's a neat idea, i didn't think of that. after all the only reason JM exclusively uses an onion endpoint is it's far easier to do that network wise to serve something up quickly than messing around with NAT and god knows what. It is of course much better for receiver privacy, but we take what we can get; if the sender is proxied via a server that's still allowing the protocol.

we need to proxy simple POST requests, right?

Yes BIP78 is just a single POST request and response, that's it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

oday0311 picture oday0311  路  6Comments

elkimek picture elkimek  路  6Comments

jpthor picture jpthor  路  5Comments

marcosrdz picture marcosrdz  路  5Comments

nighttimeBIT picture nighttimeBIT  路  7Comments