Distributed internet

Distributed internet

Talk at "Let's talk Blockchain, ICOs & Crypto Mining!"

F380535da59d6cdd5754e2e31bda8a0e?s=128

Bruno Macabeus

January 16, 2018
Tweet

Transcript

  1. DISTRIBUTED INTERNET BRUNO MACABEUS

  2. WHO I AM?

  3. Bruno Macabeus I am computer engineering student ✈ github.com/macabeus macalogs.com.br

  4. Bruno Macabeus I am computer engineering student ✈ github.com/macabeus macalogs.com.br

  5. WHAT IS DISTRIBUTED WEB?

  6. None
  7. None
  8. None
  9. None
  10. None
  11. None
  12. None
  13. WHY IT’S USEFUL?

  14. OpenBazaar

  15. None
  16. WHAT I NEED USE?

  17. None
  18. FREENET One of the oldest projects for distributed web (the

    initial realise was on 2000) This has, by default, anonymity This does not have support for dynamic content
  19. FREENET

  20. ZERONET You need to use Tor in order to access

    ZeroNet This has support for dynamic content It has a plugin to use namecoin
  21. SAFENETWORK It has a new cryptocoin, called Safecoin It uses

    Omni protocol
  22. DAT It’s a "distributed file system" It keeps a secure

    version log of dataset changes You can download only a part of a big file (for example, some rows of a dataset) Decoupled for implementing lower-level object stores
  23. IPFS InterPlanetary File System IPFS has no anonymity guarantees, neither

    in communication nor in the storage of data Its nature is to be a decoupled tool It has a cryptocoin (in developing), called Filecoin Created and maintained by Protocol Labs and community
  24. None
  25. None
  26. HOW IPFS WORKS?

  27. CONTENT-ADDRESSING

  28. Currently, the "centralized web” uses the location-addressing For example, if

    I want get the Google’s logo…
  29. Currently, the "centralized web” uses the location-addressing www.google.com/logo.png For example,

    if I want get the Google’s logo…
  30. Currently, the "centralized web” uses the location-addressing www.google.com/logo.png For example,

    if I want get the Google’s logo…
  31. Currently, the "centralized web” uses the location-addressing www.google.com/logo.png For example,

    if I want get the Google’s logo…
  32. Currently, the "centralized web” uses the location-addressing www.google.com/logo.png For example,

    if I want get the Google’s logo…
  33. Currently, the "centralized web” uses the location-addressing www.google.com/logo.png IT’S BAD!

    For example, if I want get the Google’s logo…
  34. The Google hash logo ( ) is hf9ndr98ydwrw We can

    use content-addressing instead of using the location-addressing Again the same example, but using content-addressing!
  35. The Google hash logo ( ) is hf9ndr98ydwrw We can

    use content-addressing instead of using the location-addressing Again the same example, but using content-addressing! hf9ndr98ydwrw
  36. The Google hash logo ( ) is hf9ndr98ydwrw We can

    use content-addressing instead of using the location-addressing Again the same example, but using content-addressing! hf9ndr98ydwrw
  37. The Google hash logo ( ) is hf9ndr98ydwrw We can

    use content-addressing instead of using the location-addressing Again the same example, but using content-addressing! hf9ndr98ydwrw
  38. The Google hash logo ( ) is hf9ndr98ydwrw We can

    use content-addressing instead of using the location-addressing Again the same example, but using content-addressing! hf9ndr98ydwrw
  39. The Google hash logo ( ) is hf9ndr98ydwrw We can

    use content-addressing instead of using the location-addressing Again the same example, but using content-addressing! hf9ndr98ydwrw NICE!
  40. The Google hash logo ( ) is hf9ndr98ydwrw We can

    use content-addressing instead of using the location-addressing Again the same example, but using content-addressing! hf9ndr98ydwrw NICE! this is called object
  41. LIVE CODING: DEPLOY A DECENTRALIZED WEBSITE

  42. IPNS

  43. Although the concept of content-addressing brings a bunch of benefits,

    sometimes it’d become unsuitable for cases where it’s necessary to constantly get the last version of something, since it’d need to get the hash of last version of the object in another channel. To solve this problem another protocol, called IPNS, was developed. With the peerID, the hash of the user's public key, it then became possible to create a redirect to a specific object.
  44. LIVE CODING: USING IPNS

  45. And you can configure your DNS to use your IPNS

    address ➜ ~ dig macalogs.io txt ;; ANSWER SECTION: macalogs.io. 600 IN TXT "dnslink=/ipns/QmUHQxrfru6Npch4VCaQqf22wEJ3BZx3UGmyfFRvyJFgHj"
  46. But, it's slow to resolve the IPNS address. Curiously… The

    IPFS official site uses the the IPFS hash in DNS ➜ ~ dig ipfs.io txt ;; ANSWER SECTION: ipfs.io. 60 IN TXT "dnslink=/ipfs/QmQrX8hka2BtNHa8N8arAq16TCVx5qHcb46c5yPewRycLm"
  47. PIN

  48. Sometimes you want to be able to control what you

    keep around. Pinning is the mechanism that allows you to tell IPFS to keep a given object local or no.
  49. LIVE CODING: USING PIN

  50. FILECOIN

  51. Different of some systems like Freenet or ZeroNet, the user

    in IPFS can choose what he will storage In order to encourage the users to storage third party data, the Protocol Labs is developing a new currency
  52. Different of some systems like Freenet or ZeroNet, the user

    in IPFS can choose what he will storage In order to encourage the users to storage third party data, the Protocol Labs is developing a new currency
  53. ÐAPPS

  54. ÐApp is an application that: - use some token -

    the application is decentralized
  55. SOME EXAMPLES

  56. golem.network

  57. stateofthedapps.com

  58. stateofthedapps.com 961 decentralized apps!

  59. TO LEARNING MORE…

  60. medium.com/beakyn/a-whole-day-playing-with-ipfs-95d2b6b3ea63

  61. todo macalogs macalogs.com.br/prova-de-conceito-protocolos-ipfs-e-ipns-como-meio-para-o- controle-de-botnet.html