Skip to content

feat: add Oath Wallet directly to the wallet selector - #3159

Open
OathWallet wants to merge 1 commit into
aave:mainfrom
OathWallet:codex/oath-wallet-direct-connection
Open

OathWallet wants to merge 1 commit into
aave:mainfrom
OathWallet:codex/oath-wallet-direct-connection

Conversation

@OathWallet

@OathWallet OathWallet commented Oct 29, 2026 •

Copy link
Copy Markdown

General Changes

Add Oath Wallet directly to the Connect Wallet list. Selecting Oath opens its branded WalletConnect QR screen on desktop, or hands the pairing URI to the native iOS app when ready. Users do not have to open Other Wallets first.

Oath has no injected browser provider. Its named entry reuses the existing WalletConnect connector for the session and signing. The generic connector, Safe domain restrictions, Aave Account ordering, SSR behavior, chains, and Cypress's injected-only configuration are preserved. If WalletConnect is absent, no unusable Oath entry is added.

Developer Notes

The wallet catalog lives in ConnectKit rather than this interface. The source change is submitted in family/connectkit#527, commit 7f724d3. This PR extends the existing pinned connectkit@1.9.2 patch with that generated code while retaining its ENS normalization fix. The patch can be removed in favor of an upstream release once available; see patches/README.md.

Includes Oath's rounded blue logo, App Store link, iOS handoff, empty-URI guard, and an Android fallback to QR pairing with a separate iOS device. No Android app or browser extension is advertised. No dependencies or environment variables are added.

Validation

  • Node 24 / pnpm 10.18 frozen install: passed.
  • pnpm test:oath-wallet: three tests passed against the actual patched connector and production configuration helper (ordering, canonical connector preservation, no injected provider, missing-WalletConnect fallback, duplicate prevention).
  • Targeted ESLint and Prettier: passed.
  • Production build, including lint and TypeScript: passed; all 17 static pages generated. For local validation only, Sentry's supported dryRun: true option was temporarily used because the unmodified upload step requires maintainer credentials. The original configuration is restored and no Sentry configuration change is included in this PR. Existing lint and optional MetaMask async-storage warnings remain.
  • Real Chrome test against that production build: the main dialog shows Oath Wallet and its rounded icon; selecting it opens “Scan with Oath Wallet” and renders a live WalletConnect QR. Back → Other Wallets renders the generic QR correctly. No mocked pairing URI was used.
  • The upstream ConnectKit change additionally passes six host tests covering desktop QR URI, iOS encoding, empty/Android behavior, provider identity, logo, and generic catalog behavior.

Existing test-suite failures

pnpm test:ci --runInBand reports 4 failing / 3 passing suites and 3 failing / 31 passing tests. The same failures were reproduced in an unchanged base-revision checkout (ddc287a5a78d41a5fd791fb3cdb955a46060c1e7) using the installed dependency set: Jest cannot parse ESM wagmi/chains in three suites, and the GHO tests call a missing weightedAverageAPY export. Those unrelated failures are not presented as passing checks.

No physical iPhone pairing, signing, borrowing, supplying, token approval, or mainnet transaction was performed. The iOS native link is verified at the URI-contract level; device acceptance and financial flows remain separate checks. The full Cypress/Tenderly suite was not run.

Manual Review

  1. Install with the frozen lockfile and configure the existing public WalletConnect project ID.
  2. Open Connect Wallet. Oath should appear directly in the main list.
  3. Select Oath on desktop and confirm its QR/guide screen; go back and confirm Other Wallets still works.
  4. On an iPhone with Oath installed, select Oath after pairing is ready and confirm the native app receives the request.

Reviewer Checklist

  • End-to-end tests are passing without any errors
  • Code changes do not significantly increase the application bundle size
  • No new third-party packages
  • No new environment variables
  • No CI changes

Feature evaluation

#3165

Opened through the project's documented discussion route to confirm inclusion criteria and preferred implementation before acceptance.

@vercel

vercel Bot commented Oct 29, 2026

Copy link
Copy Markdown

@devdasx is attempting to deploy a commit to the Aave Team on Vercel.

A member of the Team first needs to authorize it.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-31T22:19:55.561070Z 5a1f6ff Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@OathWallet

OathWallet commented Oct 29, 2026 •

Copy link
Copy Markdown
Author

The Vercel preview for 5a1f6ff requires deployment authorization from the Aave team. Could a team member authorize it through the bot’s link? Codex has now completed a clean review of this commit; the earlier usage-limit blocker is resolved. The PR description records local validation and remaining test limitations.

Workflow status update (1 November, current commit 5a1f6ff2b8): the following GitHub Actions runs also report action_required. Could a maintainer authorize the relevant fork checks?

Copy link
Copy Markdown
Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 5a1f6ff2b8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

This branch has not been deployed

No deployments
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.

1 participant