Meshbits / pirate-chain-ios-wallet

iOS version of the Pirate Wallet
MIT License
3 stars 2 forks source link

Tor Mode enabled wallet #17

Open satindergrewal opened 3 years ago

satindergrewal commented 3 years ago

The use-case I have in my mind as of current Pirate Wallet project is, if we could have a "Tor Mode" for Pirate Wallet in settings, which if enabled, makes the wallet restart, and connect it's connections to the endpoint (in current case lightd.meshbits.io:9067) routed through Tor.

I know there are limitations of applying Tor routing on iOS, and I have been looking for solution to implement Tor on iOS apps for a while. But, if Tor.framework can solve what I want to achieve, having the Tor router embedded within the app will be very good to have.

These are the relevant links to read on that subject:

More Decentralised lightwaleltd nodes

Because I can make a home server software coded in golang, which can be all in one easy to manage Tor node with Pirate Chain full blockchain node installed along with lightwalletd setup properly, with the onion v3 address setup to make a connection to the wallet.

In such home server setup, I can show a QR code of the onion v3 address, which the wallet can scan and add it to it's own custom lightwalletd servers list.

This will help make few things great:

Overall having the ability for wallet to connect via Tor is all positive. But if we should target this feature, we should target it only for phase 3.

Todo tasks