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

Mobile companion app #2715

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Mobile companion app #2715

wants to merge 12 commits into from

Conversation

peterzen
Copy link
Member

@peterzen peterzen commented Mar 17, 2024

This adds a tor hidden service, and a settings dialog that generates the QR code of the .onion URL for pairing with a mobile app.

The Android app code is under /companionapp/android. This can be loaded into Android Studio for building and running in the AVD emulator.

image
Pairing dialog

image

image

@peterzen peterzen changed the title Tor hidden service Mobile companion app Apr 3, 2024
@peterzen peterzen marked this pull request as ready for review April 6, 2024 10:18
@peterzen peterzen force-pushed the tor branch 3 times, most recently from 2fc37fe to 74870f8 Compare May 16, 2024 11:59
buck54321 and others added 11 commits May 31, 2024 10:54
This is a proof-of-concept for enabling wallet access as a tor
hidden service. To enable the hidden service, run the build script,
client/tor/build_linux.sh, and rebuild dexc. The .onion address will
print in the logs during startup.

dexc must be run with the --tor flag.

This works by embedding the tor executable itself in the wallet binary,
and then writing it to file and running it when needed. This scheme is
intended to facilitate distribution, but other schemes are possible.

Websockets are not working and I don't know why.
500ms was too low for high latency tor connections, causing infinite close/reconnect loops.
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.

None yet

2 participants