BluxBlux

Order Wallets

Control the order wallets appear in the Blux login modal.

The orderWallets option lets you control the order in which wallets are displayed in the login modal. List the wallets in the order you want them shown — wallets you don't include keep their default position after the ones you specify.

Type

type IWalletNames = Array<
  | "rabet"
  | "albedo"
  | "freighter"
  | "xbull"
  | "lobstr"
  | "hana"
  | "hot"
  | "klever"
  | "cactuslink"
  | "fordefi"
  | "trezor"
  | "onekey"
  | "bitget"
  | "ledger"
  | "walletConnect"
>;

orderWallets?: IWalletNames | string[];

Usage

<BluxProvider
  config={{
    appName: "MyApp",
    orderWallets: ["freighter", "xbull", "albedo"],
  }}
>
  {children}
</BluxProvider>
createConfig({
  appName: "MyApp",
  orderWallets: ["freighter", "xbull", "albedo"],
});

Recent wallet always wins. The wallet a user most recently logged in with is always pinned to the top of the list, regardless of orderWallets. Your ordering applies to all the other wallets.

orderWallets only changes display order — to hide wallets entirely, use Exclude Wallets.

On this page