the interplanetary file system - brmlabipfs is a protocol defines a content-addressed file system...
TRANSCRIPT
![Page 2: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/2.jpg)
![Page 3: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/3.jpg)
go get -u github.com/ipfs/go-ipfs/cmd/ipfs
![Page 4: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/4.jpg)
ipfs
![Page 5: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/5.jpg)
ipfs version
![Page 6: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/6.jpg)
ipfs init
![Page 7: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/7.jpg)
ipfs daemon
![Page 8: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/8.jpg)
echo ‘Hello IPFS!’ > hello.txt
ipfs add hello.txt
![Page 9: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/9.jpg)
ipfs cat QmYWAifyw2V5dEq7c5GgdSPffeKoYXQZggnYzw5RbXpig4
![Page 10: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/10.jpg)
ipfs swarm peers
![Page 11: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/11.jpg)
http://localhost:8080/ipfs/QmYWAifyw2V5dEq7c5GgdSPffeKoYXQZggnYzw5RbXpig4
http://gateway.ipfs.io/ipfs/QmYWAifyw2V5dEq7c5GgdSPffeKoYXQZggnYzw5RbXpig4
![Page 12: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/12.jpg)
ipfs add -r directory
http://gateway.ipfs.io/ipfs/QmeYYwD4y4DgVVdAzhT7wW5vrvmbKPQj8wcV2pAzjbj886
![Page 13: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/13.jpg)
![Page 15: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/15.jpg)
Under the hood
![Page 16: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/16.jpg)
![Page 17: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/17.jpg)
![Page 18: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/18.jpg)
Under the hood
● MerkleDAG (Directed Acyclic Graph) [Git]
● Multihash (Q = SHA256 in Base58)
● DHT (Distributed Hash Table) [Kademlia]
● Bitswap (data block exchange) [BitTorrent]
![Page 19: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/19.jpg)
IPFS is a protocol
● defines a content-addressed file system
● coordinates content delivery
● combines Kademlia + BitTorrent + Git
![Page 20: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/20.jpg)
IPFS is a web
● can be used to view documents like the web
● files accessible via HTTP at
http://gateway.ipfs.io/ipfs/<path>
● browsers or extensions can learn to use ipfs:// directly
● hash-addressed content guarantees authenticity
![Page 21: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/21.jpg)
IPFS is modular
● connection layer over any network protocol
● routing layer
● uses a routing layer DHT
● uses a path-based naming service
● uses bittorrent-inspired block exchange
![Page 22: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/22.jpg)
IPFS uses crypto
● cryptographic-hash content addressing
● block-level deduplication
● file integrity + versioning
● filesystem-level encryption + signing support
![Page 23: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/23.jpg)
IPFS is peer-to-peer
● worldwide peer-to-peer file transfers
● completely decentralized architecture
● NO central point of failure
![Page 24: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/24.jpg)
IPFS is a content delivery network
● caching-friendly (content-hash naming)
● bittorrent-based bandwidth distribution
![Page 25: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/25.jpg)
IPFS has a name service
● IPNS, an SFS inspired name system
peer identity: QmdX9aYHdMEbPQT1YfvYbPVcYXAQe554bzuoZhLo2dVMra
● global namespace based on PKI
● serves to build trust chains
● compatible with other NSes
● can map DNS, .onion, .bit, etc to IPNS
![Page 26: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/26.jpg)
ipfs.pics
![Page 27: The InterPlanetary File System - brmlabIPFS is a protocol defines a content-addressed file system coordinates content delivery combines Kademlia + BitTorrent + Git](https://reader034.vdocuments.net/reader034/viewer/2022042915/5f51172050727473891b7f5f/html5/thumbnails/27.jpg)
Thank you!
ipfs.io