WilfredTA / Layr

A decentralized (p2p) file storage system built atop Kademlia DHT that enforces data integrity, privacy, and availability through sharding, proofs of retrievability, redundancy, and encryption, with smart-contract powered incentive scheme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Layr

Getting Started

To test locally:

sudo yarn global add pm2 yarn install cd Layr yarn run start-all

Result:

  • This will start and daemonize both a locally-running seed node and a locally running layr node.
  • To add more local layr nodes, just initialize multiple nodes in local-start.js, listening on different ports.

Seed node: A seednode is a node that other peers can contact in order to initially join the network. layr node: A layr node is comprised of two parts: the kademlia node and the "bat node". The kademlia node is responsible for addressing file shards and other nodes using the kademlia-based DHT. The bat node is responsible for file transfers between peers.

Note: If CLI is not working, try running yarn link inside Layr's home directory on your machine.

About

A decentralized (p2p) file storage system built atop Kademlia DHT that enforces data integrity, privacy, and availability through sharding, proofs of retrievability, redundancy, and encryption, with smart-contract powered incentive scheme


Languages

Language:JavaScript 100.0%