-
Updated
Jun 30, 2021
js-ipfs
IPFS (InterPlanetary File System) is a peer-to-peer distributed file system that seeks to connect all computing devices with the same system of files.
In some ways, IPFS is similar to the World Wide Web, but IPFS could be seen as a single BitTorrent swarm, exchanging objects within one Git repository. In other words, IPFS provides a high-throughput, content-addressed block storage model, with content-addressed hyperlinks. This forms a generalized Merkle directed acyclic graph (DAG).
IPFS combines a distributed hash table, an incentivized block exchange, and a self-certifying namespace. IPFS has no single point of failure, and nodes do not need to trust each other, except for every node they are connected to. Distributed Content Delivery saves bandwidth and prevents distributed denial-of-service (DDoS) attacks, a problem common with HTTP.
Here are 19 public repositories matching this topic...
This example
https://github.com/libp2p/js-libp2p/blob/master/examples/peer-and-content-routing
Involves running two scripts simultaneously; they then connect to each other. Each one does this before calling findPeers
// The DHT routing tables need a moment to populate
await delay(100)
This is fine for an example/test but is not good enough for production code. There's no indicat
-
Updated
Nov 14, 2021 - JavaScript
-
Updated
Oct 11, 2018 - JavaScript
-
Updated
Mar 2, 2020 - JavaScript
-
Updated
Oct 6, 2021 - JavaScript
-
Updated
Oct 31, 2017 - JavaScript
Currently the tests are pretty brittle, and some are out of date. Additionally there is no ci process.
Enable CI using travis, and ensure all tests work properly.
-
Updated
Jun 1, 2018 - JavaScript
-
Updated
Nov 18, 2021 - JavaScript
-
Updated
May 29, 2019 - JavaScript
-
Updated
Nov 23, 2019 - JavaScript
Here is what I've noticed:
ipfs.block.getBlock, but it returns aUint8Arraypreloadoptionipfs.block.putBlockas a parameter, but it can only be aUint8Arraycidas an option, but the implementation ignores such a parameterBlock, b