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

Add bitcoin and monero onion examples #53

Merged
merged 2 commits into from
Oct 7, 2024

Conversation

sneurlax
Copy link
Collaborator

  • Add Bitcoin onion example.
  • Sync lib/socks_socket.dart with cypherstack/tor.
  • Pin socks5_proxy to working version in example.

@icota, I also have a Monero onion example ready. It's similar so I wondered if it should be included. Let me know if you want that in, as well

@sneurlax
Copy link
Collaborator Author

Looks like
Screenshot from 2024-09-25 15-54-51

with this output

...
[   +1 ms] flutter: Instance of Tor created!
[+4481 ms] Starting proxy!
[   +2 ms] flutter: Done awaiting; tor should be running
[        ] flutter: Starting tor took 4 seconds. Proxy running on port 16217
[+13304 ms] flutter: responseData: {"jsonrpc":"2.0","result":{"hosts":{"horsey.cryptocowboys.net":{"tcp_port":50001,"ssl_port":50002,"ws_port":50003,"wss_port":50004},"qly7g5n5t3f3h23xvbp44vs6vpmayurno4basuu5rcvrupli7y2jmgid.onion":{"tcp_port":50001,"ws_port":50003}},"pruning":null,"server_version":"ElectrumX 1.16.0","protocol_min":"1.4","protocol_max":"1.4.3","genesis_hash":"000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f","hash_function":"sha256","services":["tcp://horsey.cryptocowboys.net:50001","ssl://horse
...

lib/socks_socket.dart Show resolved Hide resolved
@icota
Copy link
Collaborator

icota commented Sep 26, 2024

@icota, I also have a Monero onion example ready. It's similar so I wondered if it should be included. Let me know if you want that in, as well

Of course, why not? Moneranoj are good people

@sneurlax sneurlax changed the title Add bitcoin onion example Add bitcoin and monero onion examples Oct 4, 2024
@sneurlax sneurlax force-pushed the onion-example branch 2 times, most recently from 72cd66b to 6ab69e0 Compare October 4, 2024 03:50
- sync lib/socks_socket.dart with cypherstack/tor
- pin socks5_proxy to working version

fix linter: attribute, license

remove typo in comment from example

removing the copyright notice was an oversight, sorry; because you mentioned you're OK with attributing this to Cypher Stack since I wrote it, I've attributed it thusly

dart format -o write .

comment updates
@icota icota merged commit d014507 into Foundation-Devices:main Oct 7, 2024
1 check passed
@sneurlax sneurlax deleted the onion-example branch October 7, 2024 05:32
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.

2 participants