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

Best Practices of DApp Development for Mobile

Best Practices of DApp Development for Mobile

Trust DApp Browser available on iOS and Android.

https://trustwalletapp.com/

Avatar for Viktor Radchenko

Viktor Radchenko

March 01, 2018

Other Decks in Programming

Transcript

  1. Native DApp Development - iOS (App Store) - Android (Google

    Play) - Lack of tools - Limitations 5
  2. Web3 DApp Development Support by any web3 provider: - Web:

    Meta Mask (Chrome, Brave), Mist... - Mobile: Trust, Toshi, Cipher, Status... 6
  3. Mobile Friendly Interface ◎ Have a fixed, non -zoomable viewport

    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no" > ◎ Create Responsive Design ◎ Avoid horizontal scrolling ◎ Avoid hover (mouseover) actions 7
  4. Mobile Friendly Experience ◎ Identify current provider, display attribution ◎

    Avoid multiple actions per page ◎ Large font and buttons 8
  5. Avoid Filter/Log/Watch API ◎ Instead relying on the events and

    logs, poll from the blockchain for changes. ◎ Use WebSockets. Starting from web3 1.0 10
  6. Place your screenshot here Crypto Kitties Each cat is one-of-a-kind

    and 100% owned by you; it cannot be replicated, taken away, or destroyed. 13
  7. Place your screenshot here Kyber Network Decentralized Exchange for ERC20

    tokens. It is a new system which allows the exchange and conversion of digital assets. 14
  8. 16