Slide 1

Slide 1 text

InterPlanetary File System (IPFS) Akash Trehan @cod3maxx | www.akashtrehan.com

Slide 2

Slide 2 text

Blueprint ● Goal ● Why do we need IPFS? ● High level overview / Usage ● The IPFS Stack ● Problems with IPFS ● Cool Apps ● Some cool latest updates ● Demo

Slide 3

Slide 3 text

Blueprint ● Goal ● Why do we need IPFS? ● High level overview / Usage ● The IPFS Stack ● Problems with IPFS ● Cool Apps ● Some cool latest updates ● Demo

Slide 4

Slide 4 text

Blueprint ● Goal ● Why do we need IPFS? ● High level overview / Usage ● The IPFS Stack ● Problems with IPFS ● Cool Apps ● Some cool latest updates ● Demo

Slide 5

Slide 5 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 6

Slide 6 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 7

Slide 7 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 8

Slide 8 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 9

Slide 9 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 10

Slide 10 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 11

Slide 11 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 12

Slide 12 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 13

Slide 13 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 14

Slide 14 text

Blueprint ● Goal ● Why do we need IPFS? ● High level overview / Usage ● The IPFS Stack ● Problems with IPFS ● Cool Apps ● Some cool latest updates ● Demo

Slide 15

Slide 15 text

Blueprint ● Goal ● Why do we need IPFS? ● High level overview / Usage ● The IPFS Stack ● Problems with IPFS ● Cool Apps ● Some cool latest updates ● Demo

Slide 16

Slide 16 text

Image of the stack and what all IPFS is built on Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 17

Slide 17 text

Image of stack and the details for ipfs specifically Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 18

Slide 18 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 19

Slide 19 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 20

Slide 20 text

Slide showing all the parts of ipfs we are going to talk about Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 21

Slide 21 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 22

Slide 22 text

P2P networks and Distributed Hash Tables Source: https://www.youtube.com/watch?v=kXyVqk3EbwE

Slide 23

Slide 23 text

P2P networks and Distributed Hash Tables Source: https://www.youtube.com/watch?v=kXyVqk3EbwE

Slide 24

Slide 24 text

P2P networks and Distributed Hash Tables Source: https://www.youtube.com/watch?v=kXyVqk3EbwE

Slide 25

Slide 25 text

P2P networks and Distributed Hash Tables Source: https://www.youtube.com/watch?v=kXyVqk3EbwE

Slide 26

Slide 26 text

P2P networks and Distributed Hash Tables Source: https://www.youtube.com/watch?v=kXyVqk3EbwE

Slide 27

Slide 27 text

P2P networks and Distributed Hash Tables Source: https://www.youtube.com/watch?v=kXyVqk3EbwE

Slide 28

Slide 28 text

P2P networks and Distributed Hash Tables Source: https://www.youtube.com/watch?v=kXyVqk3EbwE

Slide 29

Slide 29 text

IPFS Routing Interface ● FindPeer (node NodeID) ● SetValue (key []bytes, value []bytes) ● GetValue (key []bytes) ● ProvideValue( key Multihash) ● FindValuePeers (key Multihash, min int)

Slide 30

Slide 30 text

Incentivization ● Must incentivize nodes to seed when they do not need anything in particular, as they might have the blocks others want ● Moreover, leeches must be protected against ● The technique be effective with and resistant to other, unknown strategies ● Leniency to trusted peers ● IPFS uses a simple credit system called BitSwap

Slide 31

Slide 31 text

The BitSwap Protocol Source: https://github.com/ipfs/papers/raw/master/ipfs-cap2pfs/ipfs-p2p-file-system.pdf (IPFS paper)

Slide 32

Slide 32 text

The BitSwap Protocol ● provides resistance to attackers who would create lots of new nodes (Sybil attacks) ● protects previously successful trade relationships, even if one of the nodes is temporarily unable to provide value ● eventually chokes relationships that have deteriorated until they improve.

Slide 33

Slide 33 text

The BitSwap Protocol Interface ● Peer.open (NodeId, Ledger). ● Peer.send_want_list (WantList) ● Peer.send_block (Block) ● Peer.close (Bool)

Slide 34

Slide 34 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 35

Slide 35 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 36

Slide 36 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 37

Slide 37 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 38

Slide 38 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 39

Slide 39 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 40

Slide 40 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 41

Slide 41 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 42

Slide 42 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 43

Slide 43 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 44

Slide 44 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 45

Slide 45 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 46

Slide 46 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 47

Slide 47 text

No content

Slide 48

Slide 48 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 49

Slide 49 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 50

Slide 50 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 51

Slide 51 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 52

Slide 52 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 53

Slide 53 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 54

Slide 54 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 55

Slide 55 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 56

Slide 56 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 57

Slide 57 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 58

Slide 58 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 59

Slide 59 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 60

Slide 60 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 61

Slide 61 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 62

Slide 62 text

Source: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a13f/ipfs-005.2.pdf

Slide 63

Slide 63 text

Source: https://ipfs.io/ipfs/Qme51FQycp922BN83u8KXUYKJAxVAtPJbk1rxxN26934pN/ipfs-038.eth-ipfs-dapp-meetup.pdf

Slide 64

Slide 64 text

Source: https://ipfs.io/ipfs/Qme51FQycp922BN83u8KXUYKJAxVAtPJbk1rxxN26934pN/ipfs-038.eth-ipfs-dapp-meetup.pdf

Slide 65

Slide 65 text

Source: https://ipfs.io/ipfs/Qme51FQycp922BN83u8KXUYKJAxVAtPJbk1rxxN26934pN/ipfs-038.eth-ipfs-dapp-meetup.pdf

Slide 66

Slide 66 text

Source: https://ipfs.io/ipfs/Qme51FQycp922BN83u8KXUYKJAxVAtPJbk1rxxN26934pN/ipfs-038.eth-ipfs-dapp-meetup.pdf

Slide 67

Slide 67 text

Source: https://ipfs.io/ipfs/Qme51FQycp922BN83u8KXUYKJAxVAtPJbk1rxxN26934pN/ipfs-038.eth-ipfs-dapp-meetup.pdf

Slide 68

Slide 68 text

Source: https://ipfs.io/ipfs/Qme51FQycp922BN83u8KXUYKJAxVAtPJbk1rxxN26934pN/ipfs-038.eth-ipfs-dapp-meetup.pdf

Slide 69

Slide 69 text

Source: https://ipfs.io/ipfs/Qme51FQycp922BN83u8KXUYKJAxVAtPJbk1rxxN26934pN/ipfs-038.eth-ipfs-dapp-meetup.pdf

Slide 70

Slide 70 text

Source: https://ipfs.io/ipfs/Qme51FQycp922BN83u8KXUYKJAxVAtPJbk1rxxN26934pN/ipfs-038.eth-ipfs-dapp-meetup.pdf

Slide 71

Slide 71 text

Source: https://ipfs.io/ipfs/Qme51FQycp922BN83u8KXUYKJAxVAtPJbk1rxxN26934pN/ipfs-038.eth-ipfs-dapp-meetup.pdf

Slide 72

Slide 72 text

Source: https://ipfs.io/ipfs/Qme51FQycp922BN83u8KXUYKJAxVAtPJbk1rxxN26934pN/ipfs-038.eth-ipfs-dapp-meetup.pdf

Slide 73

Slide 73 text

Source: https://ipfs.io/ipfs/Qme51FQycp922BN83u8KXUYKJAxVAtPJbk1rxxN26934pN/ipfs-038.eth-ipfs-dapp-meetup.pdf

Slide 74

Slide 74 text

IPRS

Slide 75

Slide 75 text

Source: https://ipfs.io/ipfs/Qme51FQycp922BN83u8KXUYKJAxVAtPJbk1rxxN26934pN/ipfs-038.eth-ipfs-dapp-meetup.pdf

Slide 76

Slide 76 text

Source: https://ipfs.io/ipfs/Qme51FQycp922BN83u8KXUYKJAxVAtPJbk1rxxN26934pN/ipfs-038.eth-ipfs-dapp-meetup.pdf

Slide 77

Slide 77 text

Source: https://ipfs.io/ipfs/Qme51FQycp922BN83u8KXUYKJAxVAtPJbk1rxxN26934pN/ipfs-038.eth-ipfs-dapp-meetup.pdf

Slide 78

Slide 78 text

Source: https://ipfs.io/ipfs/Qme51FQycp922BN83u8KXUYKJAxVAtPJbk1rxxN26934pN/ipfs-038.eth-ipfs-dapp-meetup.pdf

Slide 79

Slide 79 text

Source: https://ipfs.io/ipfs/Qme51FQycp922BN83u8KXUYKJAxVAtPJbk1rxxN26934pN/ipfs-038.eth-ipfs-dapp-meetup.pdf

Slide 80

Slide 80 text

IPNS

Slide 81

Slide 81 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 82

Slide 82 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 83

Slide 83 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 84

Slide 84 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 85

Slide 85 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 86

Slide 86 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 87

Slide 87 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 88

Slide 88 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 89

Slide 89 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 90

Slide 90 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 91

Slide 91 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 92

Slide 92 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 93

Slide 93 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 94

Slide 94 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 95

Slide 95 text

Source: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 96

Slide 96 text

Blueprint ● Goal ● Why do we need IPFS? ● High level overview / Usage ● The IPFS Stack ● Problems with IPFS ● Cool Apps ● Some cool latest updates ● Demo

Slide 97

Slide 97 text

Problems ● Permanence does not mean Persistent! ● Illegal/Pirated content

Slide 98

Slide 98 text

Blueprint ● Goal ● Why do we need IPFS? ● High level overview / Usage ● The IPFS Stack ● Problems with IPFS ● Cool Apps ● Some cool latest updates ● Demo

Slide 99

Slide 99 text

Cool Apps ● PeerPad: Collaborative editing tool ● OpenBazaar: Online marketplace ● The Lab: Video hosting ● IPFScloud: Cloud storage platform

Slide 100

Slide 100 text

Blueprint ● Goal ● Why do we need IPFS? ● High level overview / Usage ● The IPFS Stack ● Problems with IPFS ● Cool Apps ● Some cool latest updates ● Demo

Slide 101

Slide 101 text

Some cool latest update ● Sweet IPFS: InterPlanetary File System for Android ● IPFS Pinbot: Add content and pin things using tweets ● ipfs.wikileaks.org: Experimental IPFS gateway for WikiLeaks

Slide 102

Slide 102 text

Blueprint ● Goal ● Why do we need IPFS? ● High level overview / Usage ● The IPFS Stack ● Problems with IPFS ● Cool Apps ● Some cool latest updates ● Demo

Slide 103

Slide 103 text

References / Things I read and watched (1) ● IPFS Paper: https://github.com/ipfs/papers/raw/master/ipfs-cap2pfs/ipfs-p2p-file-system.pdf ● IPFS Reddit: https://www.reddit.com/r/ipfs/ ● IPFS Discussion Forum: https://discuss.ipfs.io/ ● IPFS Blog: https://blog.ipfs.io/ ● Resolution and Routing in IPFS: https://github.com/ipfs/faq/issues/48 ● IPFS Presentation 1: https://speakerd.s3.amazonaws.com/presentations/ecffee895940481a8f9aa8416806a1 3f/ipfs-005.2.pdf ● IPFS Presentation 2: https://www.w3.org/2016/04/blockchain-workshop/slides/benet-ipfs.pdf ● IPFS Presentation 3: https://ipfs.io/ipfs/Qme51FQycp922BN83u8KXUYKJAxVAtPJbk1rxxN26934pN/ipfs-0 38.eth-ipfs-dapp-meetup.pdf ● IPFS Presentation 4: https://qconsf.com/sf2015/system/files/presentation-slides/ipfs-018.qconsf.pdf

Slide 104

Slide 104 text

References / Things I read and watched (2) ● IPFS talk at Stanford: https://www.youtube.com/watch?v=HUVmypx9HGI ● Peer-to-Peer algorithms: https://www.youtube.com/watch?v=kXyVqk3EbwE ● IPFS Blockchain Fun (demo): https://www.youtube.com/watch?v=bi-4YGZXxwA ● IPLD: The Merkle Forest: https://www.youtube.com/watch?v=Bqs_LzBjQyk ● Github MerkleDAG: https://www.youtube.com/watch?v=ronoCeMzfJ4 ● Intro to libp2p: https://www.youtube.com/watch?v=CRe_oDtfRLw ● DHTs at GTech: https://www.youtube.com/watch?v=nCLtfUjAVD4 ● IPFS Alpha Demo: https://www.youtube.com/watch?v=8CMxDNuuAiQ ● BitSwap Coffee Talk: https://www.youtube.com/watch?v=9UjqJTCg_h4