Code Monkey home page Code Monkey logo

asure-dapp's People

Contributors

a-kuchaev avatar mischi avatar pmizel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

asure-dapp's Issues

Add uPort integration

Currently, the Asure dApp only supports a fixed set of hardcoded Asure accounts. An Asure account includes personal data (full name, birthdate, profile image, etc.) about the person owning the account. Once we allow the creation of Asure accounts, we have to store the data somewhere.

uPort provides an open protocol and tools of a decentralized identity system which we wanna leverage for that purpose.

Support injected web3 provider (e.g. MetaMask or Status)

The Asure dApp comes with an integrated wallet. This makes it independent of external wallets such as MetaMask or Status and can also be used standalone in mobile browsers.

As a user of the Asure dApp and external wallets like MetaMask or Status, I would like to have the possibility to use the external wallet and to be able to do without the integrated Asure Wallet.

Implemenetation

When starting the Asure dApp it should be checked if an external Web3 provider is available (window.web3.currentProvider !== null). If it is, a new selection option should be created on the login screen. The user should be able to choose between internal or external wallet (e.g. window.web3.currentProvider AsureHdWalletProvider). The selection is then to be persisted in the Redux store.

Acceptance criteria

  • If window.web3.currentProvider is available, the user should be able to make a corresponding selection on the login screen.
  • The selection is stored in the Redux store for the duration of a user session and the window.web3.currentProvider is initialized with the AsureHdWalletProvider if the user has chosen the Asure dApp Wallet.
  • The current selection can be viewed in the settings.
  • All actions of Asure dApp work with MetaMask

How to start?

Your can find the dApp sources in packages/dapp

You could start by looking at the following files:

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.