Duartemartins / one-wallet

1wallet - unconventional keyless, non-custodial wallet secured by Google Authenticator. EVM-compatible, smart contract operated, with composable security.

Home Page:https://1wallet.crazy.one

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

one-wallet

See original one wallet instructions https://github.com/polymorpher/one-wallet

This is a proof of concept adding SMS + Apple watch based authentication. I make use of Google Cloud Functions, Firestore. I also use 3rd party APIs like Twilio. If you want to try the SMS, you'll need to send it to https://smsreceivefree.com/info/12498011843/ As it is a free twilio account, so the phone number needs to be registered before SMS can be sent.

In this project you'll see how to make use of Google Cloud, SMS sending services. It also demonstrates how to add code to the 1wallet code base, updating the UI.

Quick Start

  1. Clone hyde-one-wallet, set up environment

    We assume you are on macOS or Linux. Windows is not supported as a development environment at this time.

    First, you need to install all essential dependencies and apply a patch to one of the dependencies. To do this, simply run the following at the root directory of this project:

      ./scripts/setup.sh
  1. Run to start a local web and load a wallet in the browser

    Next, try starting a local web client:

        cd code/client
        yarn run dev
  1. Create a wallet, click “Use your apple watch to confirm transactions”

  2. Enter phone number and click “Send SMS code”

  3. Receive SMS code, register device

  4. Scan Google Authenticator and enter access code

  5. Confirm: Create Now

  6. To run Apple watch locally, follow steps

      $ export HWDEV=dev
      $ functions_framework - - source watch.py - -target main - - port:8084

image

  1. Enter the code shown on the screen

Create Functions on Google Cloud Platform

  1. Configuration Cloud functions > create function > add environment variables

    image

    image

    image

  2. Code: copy and paste your code. Click DEPLOY

DEMO video link:

https://www.youtube.com/watch?v=n5Xp4yo0jhw

About

1wallet - unconventional keyless, non-custodial wallet secured by Google Authenticator. EVM-compatible, smart contract operated, with composable security.

https://1wallet.crazy.one

License:Apache License 2.0


Languages

Language:JavaScript 80.1%Language:Solidity 17.3%Language:Python 1.4%Language:HTML 0.7%Language:Shell 0.3%Language:CSS 0.2%Language:Less 0.1%Language:SCSS 0.0%