Mobile Lite Wallet #17

Closed
opened 2 years ago by duke · 2 comments
duke commented 2 years ago
Owner

The plan is to add Lite support to SDA, as the default mode, and have "pairing mode" be an advanced setting. This is because many people have only a phone or are unable to run SD/SDL to pair to, which is more work.

Multiple devs can work on this task, we need at least 1 backend dev to talk to the lite server and one frontend/graphics person to do Android GUI stuff.

All work on this task should be done on the lite branch, which is branched from the dev branch, and when complete, merged into the dev branch

Here are some basic tasks that need to be done:

  • Create bip39 seedphrase via our fork of kotlin-bip39
  • Seedphrase UI/UX
    • Change logic for initial screen of the app
      • If no local lite wallet exists, show "create new wallet" screen
      • If a local lite wallet exists, show "log into wallet with passphrase" screen
      • Have a button on initial screen that says "Pair"
        • This will access the old behavior of pairing to SD/SDL
    • Create New SeedPhrase screen
    • Verify New SeedPhrase screen
    • Show SeedPhrase screen
  • Set passphrase screen
    • This is how users set the passphrase to log into an existing wallet
  • Save encrypted wallet.dat
    • Specifics need to be decided, such as if we use blake3 like SDL
  • Talk to lightwalletd
  • Detect balance of a zaddr
  • Detect balance of entire wallet
  • Create ztx
    • Use SDL code as an example
  • Broadcast ztx
    • Use SDL code as an example
  • Design various UI/UX of different screens that may change

Some related code to look at:

https://github.com/zcash/zcash-android-wallet

https://github.com/zcash/zcash-android-wallet-sdk/blob/master/src/main/java/cash/z/ecc/android/sdk/service/LightWalletService.kt

https://git.hush.is/hush/kotlin-bip39

The plan is to add Lite support to SDA, as the default mode, and have "pairing mode" be an advanced setting. This is because many people have only a phone or are unable to run SD/SDL to pair to, which is more work. Multiple devs can work on this task, we need at least 1 backend dev to talk to the lite server and one frontend/graphics person to do Android GUI stuff. All work on this task should be done on the `lite` branch, which is branched from the `dev` branch, and when complete, merged into the `dev` branch Here are some basic tasks that need to be done: - [ ] Create bip39 seedphrase via our fork of kotlin-bip39 - [ ] Seedphrase UI/UX - [ ] Change logic for initial screen of the app - [ ] If no local lite wallet exists, show "create new wallet" screen - [ ] If a local lite wallet exists, show "log into wallet with passphrase" screen - [ ] Have a button on initial screen that says "Pair" - [ ] This will access the old behavior of pairing to SD/SDL - [ ] Create New SeedPhrase screen - [ ] Verify New SeedPhrase screen - [ ] Show SeedPhrase screen - [ ] Set passphrase screen - [ ] This is how users set the passphrase to log into an existing wallet - [ ] Save encrypted wallet.dat - [ ] Specifics need to be decided, such as if we use blake3 like SDL - [ ] Talk to lightwalletd - [ ] Detect balance of a zaddr - [ ] Detect balance of entire wallet - [ ] Create ztx - [ ] Use SDL code as an example - [ ] Broadcast ztx - [ ] Use SDL code as an example - [ ] Design various UI/UX of different screens that may change Some related code to look at: https://github.com/zcash/zcash-android-wallet https://github.com/zcash/zcash-android-wallet-sdk/blob/master/src/main/java/cash/z/ecc/android/sdk/service/LightWalletService.kt https://git.hush.is/hush/kotlin-bip39
duke commented 1 year ago
Poster
Owner

We are no longer planning to add lite support to this codebase and instead it will be in https://git.hush.is/fekt/hush-android-wallet-sdk

We are no longer planning to add lite support to this codebase and instead it will be in https://git.hush.is/fekt/hush-android-wallet-sdk
duke commented 1 year ago
Poster
Owner

We now have a release of SDA lite wallet here : https://git.hush.is/hush/SilentDragonAndroid/releases/tag/v1.0.0

We now have a release of SDA lite wallet here : https://git.hush.is/hush/SilentDragonAndroid/releases/tag/v1.0.0
duke closed this issue 1 year ago
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.