ca-step 4: in-wallet chain abstracted sends - #19
Open
felimadu wants to merge 1 commit into
Open
Conversation
Closed
felimadu
force-pushed
the
step-3/display-unified-balances-for-ca
branch
from
July 23, 2025 05:34
9f3016c to
e1028c3
Compare
felimadu
force-pushed
the
step-4/inwallet-chain-abstracted-swaps-and-sends
branch
from
July 23, 2025 05:52
7a06107 to
936b3fd
Compare
|
📦 build.zip [updated at Aug 15, 7:37:08 PM UTC] |
felimadu
force-pushed
the
step-3/display-unified-balances-for-ca
branch
from
August 15, 2025 19:35
e1028c3 to
8524a49
Compare
felimadu
force-pushed
the
step-4/inwallet-chain-abstracted-swaps-and-sends
branch
from
August 15, 2025 19:35
936b3fd to
9166b09
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is part of the steps to add Orby chain abstraction on the Zerion Chrome Extension. The same steps and similar code can be used on other Chrome Extension wallets.
[✅] Step 0 PR(#15): Setup feature flags
Zerion uses firebase but you can feature flag system of your choice such as launch darkly
[✅] Step 1: Update Update OrbyConfig to include the other VM accounts and update signing of operations
Testing: At this point, we should have chain abstraction enabled for the accounts we set in the OrbyConfig
[✅] Step 2 PR(#16): Introduce unified network and make it default
We want to separate the chain that the connected app is on from the chain / view that the user is on. To do that, we introduce the notion of
selectedChainin the app preferences. This value can be updated/changed by the user and it is set toNetworkSelectValue.Unifiedby default. When an app ask for a chain switch, we update theselectedChainiff its current value is notNetworkSelectValue.Unified.Not, we do not seek to remove all the chains and allow user to be able to select

All Networksand separate networks because we want to allow the option for users to see a particular view they want. Here is now the wallet looks with these changes:[✅] Step 3 PR(#17): Displaying a unified Portfolio view
When
selectedChainisNetworkSelectValue.Unified, we want to display a unified view and total assets. Specifically, we want to keep the data data models that the wallet was already using. So, we:This give us a view that looks like the following

[👉] Step 4: In-wallet chain abstracted sends
When
selectedChainisNetworkSelectValue.Unified, we want to have chain abstracted sends and swaps.