ca-step 2: add unified network and make it the default - #17
Open
felimadu wants to merge 1 commit into
Open
Conversation
This was referenced Jul 22, 2025
Closed
felimadu
force-pushed
the
step-1/update-orby-config-and-enable-ca-at-startup
branch
from
July 23, 2025 05:09
3a341b9 to
334ae14
Compare
felimadu
force-pushed
the
step-2/introduce-unified-network-selection
branch
from
July 23, 2025 05:22
78be4c8 to
9ee10f7
Compare
|
📦 build.zip [updated at Aug 15, 7:34:33 PM UTC] |
felimadu
force-pushed
the
step-1/update-orby-config-and-enable-ca-at-startup
branch
from
August 15, 2025 19:31
334ae14 to
1cc417d
Compare
felimadu
force-pushed
the
step-2/introduce-unified-network-selection
branch
from
August 15, 2025 19:32
9ee10f7 to
8ac001d
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 PR(#16): 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: 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: