Daniel Vassallo Profile picture
Bad for the economy.

Aug 6, 2019, 6 tweets

Work in progress: Updates syncing automatically across all sessions.

The encrypted-dev SDK handles everything. Here's how simple it is to hook up a React app to real-time database changes:

There's one other amazing thing that @justinberman95 is working on! More about that later this week.

I'll be posting updates here, as well as on the mailing list: github.com/encrypted-dev/…. 🙏

@justinberman95 Here's the WebSocket stuff in action. The server pushes every new transaction to each logged-in session, and then the client-side SDK applies these transactions to its data to arrive to the final state.

Note the "Command=Insert|Update|Delete" part of the packets.

@justinberman95 A clearer picture of what flows over the WebSocket after 4 inserts, 2 updates, and 2 deletes. It's as simple as this:

@justinberman95 And cross-device key exchange. No more copy/pasting:

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling