Hi @tamethecomplex we’re clearly barking up the same tree.
I believe that this would be a natural logical extension of the Gaia abstraction. Private keys are stored client side, and then dgraph instances can be hosted by users or by centralized entities but the data (nodes, predicates, and edges) are all encrypted. The problem if it’s hosted on untrusted infrastructure is that the topology of the graph itself is still “plain” - i.e. you can still see the general shape of the graph even if you can’t see any predicates. But I’d say if users really care, by the same token as self hosted gaia buckets you could just host the dgraph shards yourself.
Aside: I’m assuming you’re already aware of holochain and the rrDHT. I think that this model would map very well to a substrate of dgraph shards (as opposed to webasm graph shards on client browsers)