Skip to content

An Android user can receive orbitdb messages via websocket over Tor. #2

@holmesworcester

Description

@holmesworcester

In #1 we prove that we can reliably send data over websockets over Tor on Android. Here we prove that we can use the rest of our stack for sending messages, libp2p and OrbitDB, over websockets and Tor on Android.

I think there are two big parts to this:

  1. Get OrbitDB https://github.com/orbitdb/ running on Android in such a way that it can conceivably connect via websockets/Tor.
  2. Get OrbitDB working with websockets/Tor.

The first part might involve running orbitdb in a webview (example) and then figuring out how to manage and connect through Tor.

Or it might involve running node.js on Android and moving over our existing node.js work, though likely there will be missing OS-specific dependencies we need to build for bits of the IPFS stack. See: node.js on mobile
for a starting point.

Or it might involve running IPFS in react native, and getting OrbitDB running on top of that.

Once we have OrbitDB running in some proven way, we then figure out how to hook it up so that it is not connecting to peers using any method other than Tor. That is, we disable all other libp2p transports, only give it onion service peers, and connect to those peers over the libp2p websockets transport.

The orbitdb folks hang out here and are very responsive: https://gitter.im/orbitdb/Lobby

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions