RiskProtocol / core-protocol

1 stars 0 forks source link

Research: Web2 wallet experience #100

Open mz7mz7mz7 opened 1 year ago

mz7mz7mz7 commented 1 year ago

Context: some of our investors will be crypto-savvy and will use their MetaMask or other wallets directly. But some of the investors will be new to crypto and would not have even wallet.

Task: Find an in-browser wallet provider that we could integrate with and offer web2-like experience in interactive with our app.

Possibly we should do simple PoC with each of promising solution?

Some of the criteria to take into account:

  1. We might decide to compensate for gas for some/all the transactions, so the wallet should offer gaslessness experience.
  2. We might offer people to pay for their gas but using non-native token, eg USDT, the wallet provider should offer it too.
  3. It should be secure, ie we as a platform should not have access to clients' private keys.
  4. It should offer some form of recovery of access to the wallet if the normal access was lost/forgotten.
  5. Ideally it should offer 1-click wallets via e-mail, and eg Google/Microsoft SSO integration.
  6. Costs for us as an organization.
  7. Costs for our clients.
  8. How widely is it used now, what are the reference clients/projects.

Some options to review (non-exhaustive list, please do your own research and enlarge the list of projects to review):

  1. https://github.com/RiskProtocol/core-protocol/issues/99
  2. https://github.com/RiskProtocol/core-protocol/issues/28
  3. https://github.com/RiskProtocol/core-protocol/issues/54
  4. https://thirdweb.com/wallet-sdk
  5. https://magic.link/
  6. https://www.rainbowkit.com
  7. https://docs.family.co/connectkit (0x seems to be cooperating with them somehow: https://dorahacks.io/hackathon/decreasing-frictions-in-defi/detail#requirements )
  8. https://instadapp.io/product/avocado
  9. TODO: list other found
Tunji17 commented 10 months ago

https://web3auth.io/docs

Tunji17 commented 10 months ago

Pushed the wallet POC to https://github.com/RiskProtocol/web3-wallet-poc