Decentralised Applications

DAPP

Icons by TheNounProject

Photo by Tyler Lastovich on Unsplash

Laurent Hardy

What is the

Killer App?

Network effect

Internet Stack

Blockchain Stack

Protocol layer

Application layer

Application layer

Protocol layer

Fat Protocol

Application layer

Protocol

Thin Protocol

Protocol

Protocol

Blockchain Stack

i.e Linux

Traditional Economy

Token Economy

source: Thin protocols

building blocks

functionalities

experiments

scams

blockchains

How does a DAPP come into existence?

  • Take the sourceCode of the smart contract
  • Compile the source code into a JSON file
  • Extract the contract ABI (Application Binary Interface)
  • Extract the byte code
  • Instantiate a new contract object
  • Deploy the smart contract to the Ethereum blockchain

Deploy a smart contract

Every node on the Ethereum blockchain network has a copy of the smart contract

But the rest
of the world
has no clue!

How to interact with a DAPP?

State variables

they are defined once and cannot change, they are set in stone

Functions

they are used to check the value of a variable, they cost zero gas, they are free

Modifiers

they are used to modify the value of a variable, therefore they consume gas

As of today, smart contract cannot be upgraded once deployed

Solidity documentation 
in English here

documentación de Solidity
en Español aquí

Feedback is welcome.

Thanks.

Decentralised Applications

By Laurent Hardy

Decentralised Applications

A DAPP is the name given to services that run on top of a blockchain. They are called decentralised applications because no authority has control over the service by design. Ethereum is for now the default blockchain infrastructure that services are using to build DAPP by levering the smart contracts architecture.

  • 151
Loading comments...

More from Laurent Hardy