Protocol Update — Introducing 2key Nodes

eiTan LaVi
Jun 13, 2018 · 2 min read

The generic 2key protocol will enable internet browsers across the world to act together as decentralised off-chain ad-hoc networks that can play out smart contracts without touching the main-chain for most of the transactions, while still maintaining a decentralised nature with no reliance on a centralised backend.

Image for post
Returning The Web To The People

We’ve recently solved a big withstanding issue of how to maintain a fully smart-contract enabled offchain decentralised state network between participating HTTP browsers. The base 2key protocol we had already developed provides the cryptographic methodologies to assess and sign HTTP links so that sharing links online can facilitate valid transactions in smart contracts utilising HTTP browsers as interfaces for the contracts. The base protocol was however only eventually consistent in terms of several key factors in the state, so we could only use it for a narrow set of campaign contract types and with a more vanilla incentive model optimisation. We’ve now figured out we can open a slim chain of our own (aka the 2keychain) where browsers activating the 2key webapp code or anyone installing the 2key mobile app can make these become a full 2key node, which will mine 2key Tokens simply for acting as a messaging inbox service (this will be naturraly sharded by contract-networks and geography-localised networks and later on by reputation category-networks etc..).

All is required for browsers to sync their state when coming online is to read up on the latest txs in the current campaign only, since their last session, and this will be enabled via the running nodes (browsers/apps) who’ve elected to function as such. Since this will be the only function of 2key nodes, you can run a full node on a browser or 2key app, and you get back 2KEY for making your browser/app online and for providing the IO helping general purpose HTTP clients (and in future ERC20/721 clients who’ll be open to this) — to sync their state between them while running offchain. The logic to sync the state will be embedded into the code loaded into the clients, just the “mailbox” service is required and for that only we’ll enable this additional “function as 2key node” option to anyone using our webapp or mobile apps. This simple mining process is orthogonal to the other aspects of the 2key network tokenomics, and can be added seamlessly.

Image for post


Re-Inventing the Link

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store