Skip to content

Conversation

@youssefea
Copy link

Add @base-org/account as an EVM connector for Web3Auth, enabling developers to
use Base Account SDK as a wallet option in modal and no-modal flows.

Changes:

  • New BaseAccountConnector extending BaseEvmConnector with full lifecycle
  • Add BASE_ACCOUNT to WALLET_CONNECTORS and CONNECTOR_NAMES
  • Skip AA wrapping for Base Account (already a smart account provider)
  • Add @base-org/account as optional peer dependency
  • Add Base logo asset and constant for modal UI

Motivation and Context

Enable Web3Auth users to connect via Base Account SDK, which provides a smart
account wallet experience on Base chain. This gives developers another wallet
option alongside existing connectors like Coinbase and MetaMask.

Jira Link: N/A

Description

  • Created BaseAccountConnector class in
    packages/no-modal/src/connectors/base-account-connector/ following the same
    pattern as CoinbaseConnector
  • Connector dynamically imports @base-org/account SDK and exposes its
    EIP-1193 provider
  • Auto-derives appName, appLogoUrl from site metadata and appChainIds
    from configured EIP-155 chains
  • Added guard in noModal.ts to skip AA wrapping for Base Account since it's
    already a smart account provider
  • Added @base-org/account ^2.5.1 as optional peer dependency
  • Added Base logo SVG asset and BASE_ACCOUNT_LOGO constant for modal UI
  • Re-exported connector from @web3auth/modal package

How has this been tested?

  • Lint passes for no-modal package (0 errors, only pre-existing warnings)
  • TypeScript compilation passes for all new connector files (pre-existing TS
    errors in other files unrelated to this PR)
  • Code follows existing connector patterns (CoinbaseConnector,
    MetaMaskConnector)
  • Manual testing pending with demo app on Base mainnet/sepolia

Screenshots (if appropriate):

N/A

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality
    to not work as expected)

Checklist:

  • My code follows the code style of this project. (run lint)
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My code requires a db migration.

Add @base-org/account as an EVM connector for Web3Auth, enabling developers
to use Base Account SDK as a wallet option in modal and no-modal flows.

Changes:
- New BaseAccountConnector extending BaseEvmConnector with full lifecycle
- Add BASE_ACCOUNT to WALLET_CONNECTORS and CONNECTOR_NAMES
- Skip AA wrapping for Base Account (already a smart account provider)
- Add @base-org/account as optional peer dependency
- Add Base logo asset and constant for modal UI

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Jan 20, 2026

@youssefea is attempting to deploy a commit to the Consensys Team on Vercel.

A member of the Team first needs to authorize it.

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