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: add support for Brave wallet #828

Merged
merged 15 commits into from
Jan 31, 2024

Conversation

ericleponner
Copy link
Collaborator

Description:

Changes below add support for Brave wallet.
Wallet Chooser dialog now displays an extra button for Brave.
On Brave browser, this button connects to the wallet builtin in Brave.
On other browsers, it simply leads to error message Brave wallet extension not found.

Related issue(s):

Fixes #813

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Copy link

github-actions bot commented Jan 4, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 85.38% 34457 / 40356
🔵 Statements 85.38% 34457 / 40356
🔵 Functions 65.2% 817 / 1253
🔵 Branches 84.13% 3855 / 4582
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/utils/wallet/WalletDriver_Blade.ts 40.88% 100% 20% 40.88% 52-88, 91-101, 104-105, 112-122, 125-132, 139-152, 155-170, 173-180
src/utils/wallet/WalletDriver_Brave.ts 76.82% 100% 28.57% 76.82% 44-49, 52-55, 58-61, 68-72
src/utils/wallet/WalletManager.ts 65.06% 73.68% 53.33% 65.06% 99-104, 110-115, 122-126, 135-141, 148-149, 151-152, 156-165, 168-177, 180-189, 192-197, 200-205, 208-217
Generated in workflow #696

@ericleponner ericleponner force-pushed the 00813-v2-add-support-for-brave-wallet branch from 780bda2 to 5e821c7 Compare January 10, 2024 11:00
@ericleponner ericleponner force-pushed the 00813-v2-add-support-for-brave-wallet branch 2 times, most recently from 820dec2 to b0c69d1 Compare January 24, 2024 18:56
quiet-node and others added 12 commits January 25, 2024 15:46
@ericleponner ericleponner force-pushed the 00813-v2-add-support-for-brave-wallet branch from b0c69d1 to a6e851d Compare January 25, 2024 14:46
@ericleponner ericleponner marked this pull request as ready for review January 31, 2024 17:55
@ericleponner ericleponner requested a review from svienot January 31, 2024 17:55
Copy link
Collaborator

@svienot svienot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@ericleponner ericleponner merged commit 873d342 into main Jan 31, 2024
6 checks passed
@ericleponner ericleponner deleted the 00813-v2-add-support-for-brave-wallet branch January 31, 2024 18:45
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions

0.0% Coverage on New Code (required ≥ 80%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

idea Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint

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.

add support for brave wallet
3 participants