Skip to content
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

feat: proxy (Tor/SOCKS5) support: add optional proxy parameter #103

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sneurlax
Copy link

@sneurlax sneurlax commented Apr 24, 2024

Adds an optional proxy parameter to TezartClient, RpcInterface, etc., that allows requests to be proxied through a SOCKS5 proxy like Tor. For existing users, nothing is changed.

You can see an example of usage at https://github.com/cypherstack/stack_wallet/blob/6c4f266a1caabfb7983f5b59f500f63619c8a69b/lib/wallets/wallet/impl/tezos_wallet.dart#L111

Stack Wallet is currently using this code to use tezart over Tor using the embeddable Tor proxy we helped make, https://github.com/Foundation-Devices/tor

Thank you for your library! I hope this helps someone else use Tezos more privately.

Closes #102

add optional proxy param to TezartClient, RpcInterface, etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tor/SOCKS5 proxy support
1 participant