Code Monkey home page Code Monkey logo

android-app-kyberswap's Introduction

KyberSwap mobile app

Download app on Google Play store

Also available on iOS, download it from App Store

iOS source

KyberSwap DEX is now available as a mobile app. In addition to our popular token swap service, App also features a smart wallet that employs innovative security measures to turn your smartphone into a secure Ethereum wallet.

  • Swap
    A decentralized exchange on your phone. Exchange (such as ETH -> KNC, DAI -> ETH, TUSD -> WBTC etc) among 75+ tokens supported by Kyber

  • Limit Order
    Swap at your target price, fully control of your tokens, low fees, seamless UX.

  • Live prices and charts
    Live prices and charts are available for popular tokens

  • Price alerts
    Set price alerts to be notified in real time

  • Gift Cards
    Redeem or unlock gift cards and claim tokens

  • Transfer
    One click service to transfer tokens from one wallet to another wallet. QR code scanner available.

  • Import / create wallets
    Import JSON wallet easily in your mobile phone. Don’t understand JSON ? No worry, You can easily create a new wallet.

  • 12 words and a pen
    In case your device gets lost, you can secure your wallet and coins with just 12 words written on paper. The master phrase can restore your wallet and funds on any other device.

  • Manage profile and features
    Create and manage your profile directly from app to unlock all features such that price alert.

  • No ads. No tracking. Always free. Always private.
    No tracking, no ads or privacy concerns. That’s our promise.

KyberSwap for Android

Use MVVM with DataBinding on presentation layer.

View

  • View is the actual user interface in the app. It can be an Activity, a Fragment or any custom Android View.

ViewModel

  • ViewModel is a model for the View of the app: an abstraction of the View.
  • ViewModel retrieves the necessary data from the Model, applies the UI logic and then exposes relevant data for the View to consume.
  • ViewModel should expose states for the View, rather than just events
  • Any possible logic of the View is moved in the ViewModel.

Model

  • The Models hold the entire business logic.
  • The Model exposes data easily consumable through event streams.
  • It composes data from multiple sources, like the network layer, database or shared preferences and exposes easily consumable data to whomever needs it.

Build based on Clean Architecture

Clean Architecture

Detail Data Flow Implementation

Data Flow

Folder structure

├── data… Data layer 
│   ├── api… Contain entities from APIs 
│   ├── mapper… Convert an entity to business model 
│   └── repository… The implementation of repository interfaces from Domain Layer 
├── domain… Business logic layer 
│   ├── model… Contain business models 
│   ├── repository… Interface to communicate with Data Layer 
│   └── usecase… Implement business logic 
├── presentation… Presentation layer, UI and UI logic 
└── util… Utility functions every where in the app.      
    ├── di… Dependencies Injection module     
    ├── ext… Implement extension function 

android-app-kyberswap's People

Contributors

toidv avatar tranvictor avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.