Usage With Web3-Onboard
Web3-Onboard supports EIP-6963 wallets out of the box, so the Passkey wallet will be automatically listed in the Connect modal when using the Injected Wallets (opens in a new tab) module.
The Wallet Widget already provides an embedded wallet experience, so you can disable Web3-Onboard's Account Center (opens in a new tab) as follows:
web3-onboard.ts
import injectedModule from '@web3-onboard/injected-wallets';
import { init } from '@web3-onboard/react';
export default init({
wallets: [injectedModule()],
accountCenter: {
desktop: {
enabled: false,
},
mobile: {
enabled: false,
},
},
// ...
});