New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
P2EP proof of concept #3582
P2EP proof of concept #3582
Conversation
@lontivero You cannot do that... teasing with such a major awesomeness, and then saying we cannot check it out and run it... the anticipation is killing me!! Honestly, if Wasabi can receive P2EP... we could do so much cool stuff... |
@MaxHillebrand, you can play with this now.
This is a PoC and that means that I want to evaluate the feasibility of the concept in wasabi. Do not expect perfect behavior always because the checks are not implemented. |
|
I think I did this before, but now it worked... First, I made a successful transaction with @lontivero, and it worked flawlessly, despite both of us having very shitty internet connection. There is a notification when the PayJoin is being negotiated. You can do a PayJoin within the same wallet, so receiving address and spending coin are both form the same wallet. Still, it does some negotiation over tor. Is this necessary / desired? The sender sees |
Really cool but it is not time for this yes. We have to be able to control Tor and that's something we cannot do right now. Closing, we can revive it later. |
@lontivero what part of tor was not able to be controled at the time of this PoC? |
@DanGould, @adamPetho is going to work on this (RPC only.) I think he'd love to take your help. |
@DanGould to do this Wasabi needs to create an ephemeral onion services and also destroy them, for that it needs to be able to connect and authenticate against the Tor control port. This means you have to start Tor with the control port activated. This PoC implements a TorControlClient that is a toy, less than100 LoC, which authenticates with password instead of cookie. I created a library for controlling Tor with the goal of using it in Wasabi but it is not read yet: https://github.com/lontivero/torino @nopara73 I don't understand what you mean by RPC here but just in case I want to let clear that exposing the RPC endpoint to internet is the worse idea ever, anyway i am sure that's not what you mean. |
@DanGould Yes, i gladly accept any help |
@adamPetho I'm active on slack & looking forward to collaborating 🚀 |
This PR is a PoC to implement a p2ep mechanism. Basically it starts a ephimeral tor hidden service (one with a disposable private key) and start listening on a local port for Payjoin requests.
Does not contains a working code. Don't test it. Don't run it.