Who am I?
- Senior Engineer at Zoom.ai
- Google Developer Expert
- Android, Node.js, early adopter
- Entrepreneur
Slide 3
Slide 3 text
What this talk is
about
- Understanding what DApps
are
- Learning how to build DApps
- Exploring the Web 3.0 stack
Slide 4
Slide 4 text
What this talk is
NOT about - ICO’s
- Getting rich quick
- Ethereum price predictions
Slide 5
Slide 5 text
What is a DApp
- Decentralized Applications
- No single point of control
- Existed for decades
- Bittorrent, Tor, BitMessage
- Combination of 3 technologies
(Smart Contracts, Whisper,
IPFS)
Slide 6
Slide 6 text
DApp
Slide 7
Slide 7 text
What is a DApp
- “Unkillable”
- DApps let you interact with the
Blockchain using using Smart
Contracts
Slide 8
Slide 8 text
What are Smart
Contracts
- Code that runs in a VM on a
specific Blockchain
- https://remix.ethereum.org/
Slide 9
Slide 9 text
Smart Contract
Slide 10
Slide 10 text
Smart Contract
Slide 11
Slide 11 text
Smart Contract
Slide 12
Slide 12 text
Smart Contract
Slide 13
Slide 13 text
What are Smart
Contracts
- On Ethereum, Smart Contracts
are written in Solidity
- Smart Contracts are immutable
- A new programming paradigm
Slide 14
Slide 14 text
What do I do
with a Smart
Contract?
- A compiled Smart Contract is
worthless.
- You have to deploy it
Slide 15
Slide 15 text
Smart Contract
Slide 16
Slide 16 text
How do I
connect to a
Smart
Contract?
- Web3!
- Web3 is a JS API that connects
to a local Node instance
Slide 17
Slide 17 text
DApp
Slide 18
Slide 18 text
Smart Contract
Slide 19
Slide 19 text
Let’s stop there!
- This just seems like too much
work. And we haven’t even
scratched the surface
- There has to be a better way
Slide 20
Slide 20 text
Ethereum Dev
Frameworks
- https://truffleframework.com/
- https://embark.status.im/
Slide 21
Slide 21 text
DEMO
Slide 22
Slide 22 text
Truffle
https://truffleframework.com/
- Easy to get started
- “Boxes” for Angular, React
- Just like building a normal web
app, but integrating with
Blockchain
Slide 23
Slide 23 text
Embark
https://embark.status.im/
- Built by popular DApp -
Status.im
- New but excellent support for
Whisper and IPFS
Slide 24
Slide 24 text
Whisper
- Pub/Sub style messaging
system
- Plausible deniability
Slide 25
Slide 25 text
IPFS
https://ipfs.io/
- Redundant distributed web
- Hosted platform for HTML/CSS
- Deploy Truffle or Embark apps
on the platform for pure
decentralization