You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
uintaddresses
key value mapping between network and addressbalances
mapping between network an balance. Balance should always be the smallest possible unit.Acceptance criteria
Dependencies
The text was updated successfully, but these errors were encountered: