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

Update/from rainbo #1949

Merged
merged 25 commits into from
Jun 12, 2024
Merged

Update/from rainbo #1949

merged 25 commits into from
Jun 12, 2024

Conversation

chuck-h
Copy link
Collaborator

@chuck-h chuck-h commented Jun 10, 2024

🗃 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

  • [ x] Github issue details are up to date for people to QA.
  • [ x ] I have tested all my changes. (Actually @mdmohsin7 did)

🕵️‍♂️ Notes for Code Reviewer

Technical explanations to help your peers review your work - including environments, credentials, etc.

🙈 Screenshots

For all UI changes

description 1 description 2
img1 img2

👯‍♀️ Paired with

@github-handle or "nobody" if you did not pair.

@chuck-h chuck-h requested a review from n13 June 10, 2024 15:56
lib/main.dart Show resolved Hide resolved
Copy link
Member

@n13 n13 left a 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)

Copy link
Member

@n13 n13 left a 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?

@n13 n13 merged commit 8c011dc into master Jun 12, 2024
0 of 2 checks passed
@n13 n13 deleted the update/from_rainbo branch June 12, 2024 06:42
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

Successfully merging this pull request may close these issues.

2 participants