Skip to content

Type Alias: LoadHappyWalletOptions

type LoadHappyWalletOptions = {
  chainId?: string | number;
  overrideBadgeStyles?: boolean;
};

Defined in: packages/core/lib/loadHappyWallet.ts:12

Options for the loadHappyWallet function.

Properties

chainId?

optional chainId: string | number;

Defined in: packages/core/lib/loadHappyWallet.ts:19

The ID of the default chain to connect to, if it exists in the Happy Wallet.

If the chain with the given ID hasn't been added to the Happy Wallet yet, this will be ignored, and you must add and switch to chain once the user is connected


overrideBadgeStyles?

optional overrideBadgeStyles: boolean;

Defined in: packages/core/lib/loadHappyWallet.ts:24

Disable default styles on the connect badge