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
...

@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
FaFre added a commit to FaFre/tor that referenced this pull request Feb 14, 2025
918f280 fix: build failure due to Android Studio dill files deletion (#81)
c6a3401 Use `flutter test` in CI (#80)
d56f1f2 chore: support build as a flutter module (#70)
969c49a fix insufficient sh permissions (#65)
97668e9 chore: fix typo in code (#63)
dd10277 fix: use alias for shasum if sha1sum is found instead (#60)
a5e2126 fix: building under nixos  (#58)
f756772 feat: print current dir when running pub get (Foundation-Devices#54)
b063595 fix: build mode when using a flutter flavor (Foundation-Devices#51)
c6d46d4 fix: add `/D` argument for cd to trigger drive change when changing directory (Foundation-Devices#53)
a3b7352 chore: add rustup tests (Foundation-Devices#47)
6ea1624 Filter non-custom toolchains (Foundation-Devices#43)
c2eaabd chore: fix variable name (Foundation-Devices#46)
229849d chore: get repo name from pull request (Foundation-Devices#45)
f130c69 chore: don't hardcode repository url (Foundation-Devices#44)
b5a5202 fix: run_build_tool.sh not passing through exit code (Foundation-Devices#38)
2b67021 feat: artifact provider should retry when reset by peer (Foundation-Devices#37)
523aa4a fix: typo in warning message (Foundation-Devices#36)
395ecbe fix: [windows] use bypass poweshell execution policy (Foundation-Devices#35)
632809a chore: specify hashes for CI actions (Foundation-Devices#34)
15bdc18 fix: symlink creation when building pods (Foundation-Devices#33)
7dbb078 feat: check for invalid snapshot version and recompile kernel (Foundation-Devices#32)

git-subtree-dir: cargokit
git-subtree-split: 918f28083f9ef24ce08b9e90d2c46e6a52812d5d
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