Skip to content
alexstrat edited this page Sep 23, 2011 · 18 revisions

The aim of this project is to write an implementation of the Kad system running in a browser environnement and especially in a mobile browser.

Why is this challenging ?

Kad is a peer to peer system. That means that nodes (or peers) need to communicate directly to each other. The browser is not at all originally ready for P2P communications : it's based on a server-client communication scheme. As client, the browser can retrieve information from the server, but the reverse path is not easy.

One of our challenge is to design a mean to enable a communicaton as direct as possible between mobile nodes.

What helps us ?

We needed a Kad protocol as near as possible from the javascript language. We found TeleHash which is a Kademlia (draft)protocol with the JSON syntax embedded in an UDP packet. We plan to write an implementation of it in Javascript but without dealing with UDP because we work on top of HTTP.

There will be a resume of our understanding of Telehash in a wiki page.

Clone this wiki locally