Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Larry Salibra - Building a Decentralized App on...

Larry Salibra - Building a Decentralized App on Android

droidcon Berlin

July 12, 2018
Tweet

More Decks by droidcon Berlin

Other Decks in Programming

Transcript

  1. A new internet for decentralized apps Building a Decentralized App

    on Android De/Centralize droidconBerlin 2018 2018-06-27 Berlin Larry Salibra
  2. A new internet for decentralized apps About Me 1. Engineering

    Partner, Blockstack: 
 Blockstack Explorer (AngularJS) 
 Blockstack Browser (React/Redux/ES6)
 blockstack.js (ES6)
 Blockstack for macOS (Swift)
 Blockstack Android SDK (Kotlin) 2. Serial entrepreneur in South China:
 Mobile securities trading
 Crowdsourced software testing
 Remote language learning 3. Founding member, Bitcoin Association of Hong Kong twitter: @larrysalibra
  3. A new internet for decentralized apps Agenda 1. Problems with

    the internet 2. What is a decentralized app? 3. What is Blockstack? 4. How do I build a decentralized app on Android? 5. Why should I build on Blockstack?
  4. A new internet for decentralized apps The internet didn’t turn

    out as we hoped 1. Honeypots and third party hacks 2. Tracking, data harvesting, and invasive ads 3. Cracked passwords and account compromises 4. Platform lock in for users and developers 5. Restrictions on platform data access 6. Power and profits go to the few
  5. A new internet for decentralized apps It’s all about power

    1. Power to make or break our careers 2. Power to track us 3. Power to deny us access to our data, apps & identity 4. Power to influence our emotions 5. Power to influence relationships with our closest family members & friends 6. Power to overthrow governments
  6. A new internet for decentralized apps Responsibility to the law

    • Is it legal? • Does the user own it? • Did the user give consent? • Can we delete it? • How to handle law enforcement requests?
  7. A new internet for decentralized apps Responsibility to our users

    • Is user data safe from hackers? • …safe from state actors? • Are we imposing foreign culture or values? • Are we standing in the way of their success?
  8. A new internet for decentralized apps No one person or

    company should have this much power. No one person or company should have this much responsibility.
  9. A new internet for decentralized apps Imagine 1. No data

    silos 2. No middlemen 3. No ads 4. No tracking 5. No passwords 6. No lock in
  10. A new internet for decentralized apps Imagine If someone has

    a problem with you, they have to come to you instead of going to a 3rd party.
  11. A new internet for decentralized apps Imagine A world where

    the CEO of app you use to share your cat pics can’t also overthrow your government.
  12. A new internet for decentralized apps Put users in control

    of their own data Remove trusted 3rd parties How to decentralize? Proper incentives
  13. A new internet for decentralized apps Decentralized apps are told:


    • Where to store user data • How to encrypt user data • Who the user is • How to interact with other users Without middlemen What does this mean for apps?
  14. A new internet for decentralized apps The Blockstack Stack •

    Atlas - content-addressable, self-healing, peer-to-peer network • Virtualchain - state engine on blockchain • Blockstack Name System - discover apps & interact with your friends • Gaia - decentralized storage, each user gets a hub • Stacks - token to register identities & apps • Stacks Blockchain - proof of burn blockchain • Browser - user identity and sign in to Blockstack apps • Blockstack SDKs - developer tools for decentralized identity, storage, cryptography, and blockchain
  15. A new internet for decentralized apps Blockstack handles the complexity

    { Authentication Storage Identity Naming Blockchain App App App
  16. A new internet for decentralized apps Adding this to your

    Android app • Based on SDK v0.2.0 • Uses Kotlin • Requires that your app has a website
  17. A new internet for decentralized apps What do you get?

    • Globally unique identifier • Cryptographic proof of identity • App private key • Access to storage • Multi-player file sharing • Access to public profile
  18. A new internet for decentralized apps App Private Key •

    Encrypted Gaia storage • Cryptocurrency wallets • Encrypting other data
  19. A new internet for decentralized apps Storage • Deterministic app-user

    specific buckets • Write by app-user • World readable • Backed by commodity cloud storage or local filesystem • Sharing with no trusted 3rd parties
  20. A new internet for decentralized apps Growing market for decentralized

    apps Global consumer attention around Privacy, Anonymity, and Data Portability Enterprises that want to own their own data App.co - New app store for dApps, better discoverability compared to traditional App Store.
  21. A new internet for decentralized apps World class developer experience

    Reliable - World class underlying technology built by a dedicated team Serverless - no scaling costs Full suite of tools - Javascript API, iOS & Android SDKs Engaged Community - thousands of developers on Slack and forums
  22. A new internet for decentralized apps App Rewards Mining First

    of its kind fund for incentivizing app development $1M / mo prize pool for awesome apps built on Blockstack. Huge incentive to get there first.
  23. A new internet for decentralized apps We want you! World-class

    team: ~20 people in New York, Hong Kong, Seattle, Chicago, and West Africa
 
 World-class investors: Including Union Square Ventures, Naval Ravikant, Winklevoss Capital, Digital Currency Group, Kevin Rose, Michael Arrington Passionate community: 13,000+ developer community Lead our Android app & SDK!
  24. A new internet for decentralized apps Thank you Twitter: @larrysalibra

    Email: [email protected] Docs blockstack.org Chat chat.blockstack.org Forum forum.blockstack.org Meetup meetup.com/topics/blockstack GitHub github.com/blockstack Telegram t.me/BlockstackChat