-
Notifications
You must be signed in to change notification settings - Fork 23
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
Update/from rainbo #1949
Update/from rainbo #1949
Conversation
lib/screens/authentication/import_key/interactor/usecases/import_key_use_case.dart
Outdated
Show resolved
Hide resolved
lib/screens/transfer/send/send_confirmation/interactor/viewmodels/send_confirmation_bloc.dart
Show resolved
Hide resolved
lib/screens/transfer/send/send_enter_data/interactor/mappers/send_amount_change_mapper.dart
Show resolved
Hide resolved
lib/screens/wallet/components/tokens_cards/interactor/mappers/token_balances_state_mapper.dart
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The key method needs to be left alone (it's ok and working on master, I changed that back recently)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few things for later
-
New architecture for tokens with an infinite token list for the user to manually choose from Streamline blockchain API calls #1951
-
rename blocktransfer to isTransferAllowed
-
rename transactionModel to TransferActionModel
-
replace plain try/catch with validation validate added #1956
-
Possibly remove static precisions table?
🗃 Catch up with multitoken features and bugfixes in rainbow apk version
Multitoken support using the tokensmaster contract was almost complete when master branch development was frozen at v2.9.2. A Hypha policy for curating tokens to appear in the wallet was adopted in late 2022 https://dao.hypha.earth/hypha/agreements/36006 .
The side-loadable "Light Wallet Rainbow Edition" continued the multitoken development in the rainbow_apk branch and received limited field use. From this experience a number of bug fixes and refinements were made. Several refinements support specific features of the Rainbow Token contract https://github.com/JoinSEEDS/seeds-smart-contracts/blob/master/src/seeds.rainbows.cpp e.g. negative balances. Refer to the commit list for details.
Localscale Wallet is based on a fork of the rainbow_apk branch and has received considerable field use as well, providing additional confidence. Localscale has a mutual-support MOU with Hypha.
Note that aeab193 makes tokens curated by Localscale visible in the Light Wallet. This should be recognized by a policy update on the Hypha DAO. https://dao.hypha.earth/hypha/agreements/65804
After merging this, we will want to set
_featureFlagTokenMasterList
true at https://console.firebase.google.com/project/seeds-77371/config/env/firebase . However activating the feature results in a burst of API calls at app startup which stresses things: #1950✅ Checklist
🕵️♂️ Notes for Code Reviewer
Technical explanations to help your peers review your work - including environments, credentials, etc.
🙈 Screenshots
For all UI changes
👯♀️ Paired with
@github-handle or "nobody" if you did not pair.