Skip to content

Type Alias: WalletRegisterOptions

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

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

Options for the register function.

Properties

chainId?

optional chainId: string | number;

Defined in: packages/core/lib/register.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/register.ts:24

Disable default styles on the connect badge