Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

[feature] add support for multiple accounts #15

Closed
6 tasks done
mirceanis opened this issue Aug 1, 2018 · 1 comment
Closed
6 tasks done

[feature] add support for multiple accounts #15

mirceanis opened this issue Aug 1, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request in progress question Further information is requested

Comments

@mirceanis
Copy link
Contributor

mirceanis commented Aug 1, 2018

The SDK should support more than the Uport.defaultAccount

There should exist a method of listing all the accounts, for ex:
fun Uport.allAccounts(): List<Account>

Distinction has to be made between root addresses and addresses derived from the same seed.
It's probably necessary to store the derivation path(s) as fields of Account objects.

  • disable single account limitation
  • add isDefault field to Account class
  • isolate account storage behind an interface with upsert(acc), get(handle), delete(handle)
  • save new accounts in account storage
  • load accounts from acc storage
  • expose allAccounts()
@mirceanis mirceanis added enhancement New feature or request question Further information is requested labels Aug 1, 2018
@mirceanis mirceanis self-assigned this Aug 1, 2018
@mirceanis mirceanis changed the title add support for multiple accounts [feature] add support for multiple accounts Aug 2, 2018
@ozlemulusoy ozlemulusoy modified the milestones: uPort iis Sprint 3, uPort iis Sprint 4 Aug 3, 2018
@ozlemulusoy ozlemulusoy modified the milestones: uPort iis Sprint 4, iis Sprint 5 Sep 11, 2018
@mirceanis mirceanis added this to In progress in uport-android-sdk Oct 16, 2018
@mirceanis
Copy link
Contributor Author

This issue is obsolete

uport-android-sdk automation moved this from In progress to Done Apr 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request in progress question Further information is requested
Projects
Development

No branches or pull requests

2 participants