Skip to content

Connect wallets through Reown AppKit - #776

Merged
apbendi merged 1 commit into
masterfrom
reown-appkit
Nov 23, 2026
Merged

apbendi merged 1 commit into
masterfrom
reown-appkit

Conversation

@apbendi

@apbendi apbendi commented Oct 23, 2026

Copy link
Copy Markdown
Member

Replace Web3-Onboard with Reown AppKit and its ethers v5 adapter for wallet connections. The app still wraps the connected wallet's EIP-1193 provider with ethers, and still reloads when the user changes account or network in their wallet. AppKit restores a previous connection on page load and handles network switching, including adding a network the wallet doesn't have yet.

Offer only wallets that sign with a regular account, which Umbra's key generation needs, and keep the modal to connecting wallets. Use the app's own RPC URLs for each supported network, and match the modal's theme to the app's dark mode setting.

Remove the translation strings that only Onboard used. Map viem's ox/tempo type imports to their declaration files, since the frontend's TypeScript version can't parse the source files they otherwise resolve to. List WALLET_CONNECT_PROJECT_ID as a required setting in the frontend README, since AppKit needs it to connect any wallet.

@netlify

netlify Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for jolly-shaw-20fe62 ready!

Name Link
🔨 Latest commit 7c882a3
🔍 Latest deploy log https://app.netlify.com/projects/jolly-shaw-20fe62/deploys/6afe89f61b3cc5cbe671a2ae
😎 Deploy Preview https://deploy-preview-776--jolly-shaw-20fe62.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@apbendi
apbendi added this pull request to stack #778 October 23, 2026 13:36
@apbendi
apbendi requested a review from mikeghen October 23, 2026 13:42
@apbendi
apbendi force-pushed the reown-appkit branch 2 times, most recently from 5279780 to 0e752a8 Compare October 24, 2026 03:40
Replace Web3-Onboard with Reown AppKit and its ethers v5 adapter for
wallet connections. The app still wraps the connected wallet's EIP-1193
provider with ethers, and still reloads when the user changes account
or network in their wallet. AppKit restores a previous connection on
page load and handles network switching, including adding a network
the wallet doesn't have yet.

Offer only wallets that sign with a regular account, which Umbra's key
generation needs, and keep the modal to connecting wallets. Use the
app's own RPC URLs for each supported network, and match the modal's
theme to the app's dark mode setting.

Remove the translation strings that only Onboard used. Map viem's
ox/tempo type imports to their declaration files, since the frontend's
TypeScript version can't parse the source files they otherwise resolve
to. List WALLET_CONNECT_PROJECT_ID as a required setting in the
frontend README, since AppKit needs it to connect any wallet.
@github-actions

Copy link
Copy Markdown

Coverage after merging reown-appkit into master will be

88.10%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
contracts-periphery/src
   UmbraBatchSend.sol100%100%100%100%
   UniswapWithdrawHook.sol100%100%100%100%
umbra-js/src
   ethers.ts82.22%100%63.64%100%
umbra-js/src/classes
   KeyPair.ts98.54%97.62%100%98.75%248, 250
   RandomNumber.ts100%100%100%100%
   StealthKeyRegistry.ts100%100%100%100%
   TxHistoryProvider.ts81.48%65%80%93.10%12, 17, 20, 23, 29, 43, 48, 54, 8
   Umbra.ts82.65%72.22%93.02%87.59%167–168, 189, 262–263, 331, 349–352, 388–389, 413, 428, 431, 438–440, 442, 449, 452, 452, 452–453, 460, 460, 460, 460, 460–461, 463–464, 494, 494, 494, 496, 496, 496, 498, 498, 498, 498–499, 499, 499–501, 517–518, 583–585, 62, 62, 626, 681, 685, 731, 744–745, 755–756, 770, 778–779, 809–810, 885–886, 889, 892–893, 899–901, 908, 908, 908–911, 946, 948–949, 949–950
umbra-js/src/utils
   constants.ts100%100%100%100%
   sharedSecret.ts83.05%72.73%100%87.88%24, 27–28, 42–43, 47–48, 62, 62–63
   utils.ts77.72%71.25%87.50%81.65%109–110, 1173–1174, 1186–1187, 135, 143, 143, 159–161, 163–165, 171, 193–194, 220–222, 222, 222–223, 223, 223, 304, 307, 312, 316, 320, 330, 342–347, 349–356, 356, 356, 356, 356, 356, 356–357, 359, 369, 400–402, 408, 418–419, 426–427, 434, 444, 444–445, 445–446, 451, 481–482, 491–492, 512–514, 527–528, 554–556, 565, 638, 645, 645–646, 646, 646–647, 647, 649, 653, 716, 718–719, 727–728, 746, 777, 799–801, 804, 814, 826, 826–827, 832, 834–835, 846–850, 863, 865, 916–917, 917, 917–919, 919, 919, 930
umbra-js/test
   testPrivateKeys.ts100%100%100%100%
   utils.ts100%100%100%100%

@apbendi
apbendi requested a review from mikeghen November 19, 2026 18:03
@apbendi
apbendi merged commit e4e851d into master Nov 23, 2026
8 checks passed
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