DISTRIBUTED
APPLICATIONS
THE WAY TO
“
„
– The Guardian
THE WORLD’S MOST VALUABLE
RESOURCE IS NO LONGER OIL,
BUT DATA.
“
„
– Adolf Hitler
WHO HAS THE YOUTH, HAS THE
FUTURE
BY AGE GROUP
SOCIAL MEDIA USAGE
YOU ARE
THE
PRODUCT
YOU ARE NOT THE
CUSTOMER
CUSTOMERS PAY FOR SERVICE WITH THEIR PERSONAL
DATAIN THE END HE GETS NOTHING IN RETURN
DATA IS CENTRALIZED
DRAWBACKS OF CENTRALIZATION
• It distorts the economy.
• Power is concentrated.
• The user has no influence on the use of his data.
• The user is not compensated for his data.
BY NO ONE?
WHAT IF FACEBOOK
WAS OWNED
BY
EVERYONE?
WHAT IF FACEBOOK
WAS OWNED
BLOCKCHAIN
DECENTRALIZED
APPLICATION ON THE
WEB 3.0
DISTRIBUTED WEB APPLICATIONS
FRONTEND WEB SERVER DATABASE
FRONTEND
SMART-
CONTRACT
BLOCKCHAIN
Classical Web App
Distributed Web App
GAS
EXAMPLES OF
DECENTRALIZED
APPS
BLOCKCHAIN 2.0 (ETHERUM)
CHALLENGES
• dApps are often still in an alpha stage
• Far too little funds / no revenue model
• Slow: transactions take several minutes
• Expensive: every action costs a few cents
• Requires browser plugins and an ether wallet
• Little audience
• No regulation
• No curation: spam, phishing and illegal content
POSSIBLE SOLUTIONS
• Off-chain transactions: more speed, lower costs (e.g. raiden, plasma)
• DAG-Chain: Better scaling (e.g. Cardano)
• Native browser support (e.g. Brave)
• Curation model via incentives (such as Stackoverflow.com)
ALL NEW STUFF
BLOCKCHAIN TECHNOLOGIES
Web 2.0 Web 3.0 (dApps)
Skalierbare Server Amazon EC2 Etherum, Truebit
Storage Amazon S3 IPFS/Filecoin, Storj
External data APIs Oracles
Monetisierung Werbung, Daten Tokens
Bezahlung Kreditkarte, TWINT Etherum, Bitcoin
BLOCKCHAIN-ARCHITECTURE
DECENTRALIZED APPLICATIONS
BLOCKCHAIN 2.0
STORAGE & CONTENT DELIVERY
SMART CONTRACTS
SERVICE LAYER
DAPP
TOKENS
“
„
– Jedes Blockchain-Startup
OUR TOKEN WILL GO TO THE MOON!
CRYPTO-TOKENS
• Tokens are a virtual currency for a distributed service.
• They can be traded publicly.
• If the service becomes successful, the value of a token increases (or doesn't).
• Each transaction in a dApp costs a certain amount of tokens. However, users can also
receive tokens for certain actions.
• There is a white paper for each token.
• Tokens are first sold in an Initial Coin Offering (ICO).
• The token interface is standardized on the Etherum blockchain (ERC20)
IPFS
HTTP
• Data is addressed via its position on a server.
• Centralized
• Data can be changed
• Not persistent
P2P HYPERMEDIA-PROTOKOLL
INTER-PLANETARY FILE SYSTEM
• Data is addressed via the content (hash)
• Distributed and peer-to-peer
• Built-in versioning
• Fail-safe
• Protection from censorship
• Name server
• Allows decentralized hosting (e.g. Filecoin)
ORACLES
SMART CONTRACTS CANNOT COMMUNICATE WITH THE OUTSIDE WORLD
THE BLOCKCHAIN IS A CLOSED SYSTEM
E.G. A WEATHER APP ON THE ETHERUM BLOCKCHAIN
A DAPP IS EXECUTED ON ALL MINERS
• Each node accessed the weather
API.
• But not at the same time.
• The API response could differ across
nodes.
NODE
NODE
NODE
NODE
WETTER
API
E.G. A WEATHER APP ON THE ETHERUM BLOCKCHAIN
A DAPP IS EXECUTED ON ALL MINERS
• The nodes access the weather app
via an oracle.
• The oracle is a special smart contract
that allows side-effects.
• It always returns consistent data.
NODE
NODE
NODE
NODE
WETTER
API
ORAKEL
GREAT
AGAIN
MAKE THE WEB
DECENTRALIZE
D AGAIN
MAKE THE WEB

Distributed apps

Editor's Notes

  • #7 Google: Suche, Chrome, Android (-Auto, -TV), Analytics, Google Home, Nest. Facebook: Plattform, Messenger, Whatsapp, Instagram, Onavo VPN Amazon: Shop, Alexa, Kindle Microsoft: Windows, Skype, Hotmail Manchmal weiss der Kunde gar nicht, welche Daten er an den Dienst gibt, z.B. bei Google Analytics.
  • #8 Wenige Anbieter: Amazon, Google, Snapchat, Instagram, Uber, Microsoft Auch Volkswirtschaftlich ein Problem: Nur 800'000 Personen profitieren von dem Reichtum dieser Firmen. Es kann sich kein gesunder Mittelstand bilden.
  • #10 Bild: Buchcover «How To Be A Digital Revolutionary» von Violet Blue.
  • #11 Bild: Buchcover «How To Be A Digital Revolutionary» von Violet Blue.
  • #12 Aktuell Etherum. In Zukunft auch auf Hyperledger Fabric und Cardano. Cardano skaliert besser und ist kompatibel mit Solidity.
  • #14 Ein Smart-Contract ist nichts anderes als ein Programm. Die Blockchain ist nichts anderes als eine glorifizierte Liste. Smart-Contract brauchen Gas um hochgeladen und ausgeführt werden zu können. Der Gas-Preis wird ständig neu berechnet. Er ist abhängig von der Auslastung des Netzes und des Preises von Etherum. Die Kosten einer Transaktion sind abhängig von der Grösse des Smart-Contracts (Auktion).
  • #16 Twitter - leeroy.io
  • #17 Reddit / Medium - Steemit
  • #18 Facebook - Sphere
  • #22 Basis: Blockchain 2.0 (Kann Applikationen ausführen.) Z.B. Etherum oder Cardano in Zukunft. Storage: Binärdaten sind nicht auf der Blockchain. Verteilte Dateisysteme z.B. IPFS Smart Contracts Middleware Layer (Identity, Transactions, Social, Communication, …) für ti&m interessant Applikationen Today there are frameworks that contain the full stack (e.g. Aragon)
  • #23 Eine dezentralisierte App zu betreiben kostet Geld. Eine Möglichkeit der Monetarisierung sind Tokens.
  • #26 Interplanetary Filesystem: Dezentralisiertes Filesystem (nicht auf der Blockchain). Content-Addressierung
  • #30 Es geht um Vertrauen und Nachvollziehbarkeit. Jede Transaktion auf der Blockchain wird gespeichert. HTTP-Endpunkte sind aber nicht deterministisch.
  • #33 Bild: Buchcover «How To Be A Digital Revolutionary» von Violet Blue.
  • #34 Bild: Buchcover «How To Be A Digital Revolutionary» von Violet Blue.