UNPKG

saepenatus

Version:

Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, mul

9 lines (8 loc) 270 B
import type { ExternalProvider } from '@ethersproject/providers' interface CustomExternalProvider extends ExternalProvider { isMEWwallet: boolean setChainId: (param: number) => {} } export interface CustomWindow extends Window { ethereum: CustomExternalProvider }