Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pangea] migrate wallet #90

Open
9 tasks
florianlenz opened this issue Aug 20, 2018 · 1 comment
Open
9 tasks

[pangea] migrate wallet #90

florianlenz opened this issue Aug 20, 2018 · 1 comment
Milestone

Comments

@florianlenz
Copy link
Contributor

florianlenz commented Aug 20, 2018

Feature / Issue

Since we are moving all data over to pangea, we have to move the wallet as well. The wallet is quite a complex thing since we are supporting multiple assets.

A persisted asset might have this (or a similar) data structure:

  • symbol (string)
  • name (string)
  • icon (persisted as byte)
  • decimals uint
  • addresses key value mapping between network and address
  • balances mapping between network an balance. Balance should always be the smallest possible unit.

Acceptance criteria

  • tests
  • structure that support:
    • tokens
    • currencies
    • different network types (test net etc)
  • call module to refresh the balance of an asset
  • call module to fetch all tokens
  • ui api call to notify pangea about balance changes
  • call module to transfer an asset to a given address

Dependencies

@florianlenz florianlenz added this to the 1.2.0 milestone Aug 20, 2018
@florianlenz
Copy link
Contributor Author

@kevowevo this should be done at the 30th

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant