Skip to content

Type Alias: WalletRegisterOptions

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

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

Options for the register function.

Type declaration

chainId?

optional chainId: string | number;

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;

Disable default styles on the connect badge