AthanorLabs / atomic-swap

💫 ETH-XMR atomic swap implementation
GNU Lesser General Public License v3.0
341 stars 44 forks source link

add tor support #29

Open noot opened 2 years ago

noot commented 2 years ago

it would be cool to add tor support to the networking layer: see https://github.com/berty/go-libp2p-tor-transport which is still in development, but maybe one day we can add it

Crypt0-Bear commented 2 years ago

Something that might be interesting to do in addition to tor support inside of lib2p would be relaying requests for swaps within the network. This could add some marginal mixnet like capabilities to which node is the originating for the swap which might help with IP privacy. libp2p.EnableRelay(). I think tor solves most of those issues other than having to also run the eth client behind tor to hide which node originated the TX.

noot commented 1 year ago

@noot libp2p doesn't currently have a fully functional tor module, however this can be implemented for relayer transaction submission in go-relayer.