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

feat: support multiple accounts in SNAP #504

Merged
merged 4 commits into from
Feb 6, 2025

Conversation

stanleyyconsensys
Copy link
Collaborator

@stanleyyconsensys stanleyyconsensys commented Feb 6, 2025

This PR is to add multiple account supports in SNAP

Changes:

  • Add new RPC starkNet_listAccounts
  • Add new RPC starkNet_swtichAccount
  • Add new RPC starkNet_addAccount
  • Add RPC starkNet_toggleAccountVisibility
  • Remove legacy RPC starkNet_getStoredUserAccounts
  • Add getCurrentAccount and switchAccount in AccountService
  • Update onHomePage to look up the account from current account

BEGIN_COMMIT_OVERRIDE

feat: Enable multiple accounts support in SNAP with new RPC API starkNet_listAccounts,starkNet_swtichAccount,starkNet_addAccount,starkNet_toggleAccountVisibility (#504, #477, #478, #474, #476)

END_COMMIT_OVERRIDE

@stanleyyconsensys stanleyyconsensys requested a review from a team as a code owner February 6, 2025 03:03
@stanleyyconsensys stanleyyconsensys requested review from Julink-eth and wantedsystem and removed request for a team February 6, 2025 03:03
@stanleyyconsensys stanleyyconsensys changed the title feat: support multiple account in SNAP feat: support multiple accounts in SNAP Feb 6, 2025
khanti42
khanti42 previously approved these changes Feb 6, 2025
Base automatically changed from refactor/account-discovery-bussiness-logic to main February 6, 2025 12:40
@khanti42 khanti42 dismissed their stale review February 6, 2025 12:40

The base branch was changed.

@khanti42 khanti42 enabled auto-merge February 6, 2025 12:46
Copy link

sonarqubecloud bot commented Feb 6, 2025

Quality Gate Passed Quality Gate passed for 'consensys_starknet-snap-wallet-ui'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

Copy link

sonarqubecloud bot commented Feb 6, 2025

Quality Gate Passed Quality Gate passed for 'consensys_starknet-snap-starknet-snap'

Issues
3 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.3% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@khanti42 khanti42 added this pull request to the merge queue Feb 6, 2025
Merged via the queue into main with commit 6124ed3 Feb 6, 2025
14 checks passed
@khanti42 khanti42 deleted the feat/snap-support-multiple-account branch February 6, 2025 13:04
@github-actions github-actions bot mentioned this pull request Feb 6, 2025
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