Cosmos Kit
Integrating Wallets
@ Frontier Wallet

How to Add Frontier Wallet to CosmosKit

There are two packages for frontier

  • @cosmos-kit/frontier
  • @cosmos-kit/frontier-extension

@cosmos-kit/frontier export all available frontier wallets (currently only extension available), while if you only want to add a particular one, choose @cosmos-kit/frontier-extension

Note: all these packages export wallets and it's an array of MainWalletBase

Take @cosmos-kit/frontier for example

add @cosmos-kit/frontier

yarn add @cosmos-kit/frontier

import the wallets

import { wallets as frontier } from "@cosmos-kit/frontier";

add to your provider

function MyCosmosApp({ Component, pageProps }: AppProps) {
  return (
      <ChainProvider
        chains={chains}
        assetLists={assets}
        wallets={[...frontier]}
        walletConnectOptions={...} // required if `wallets` contains mobile wallets
      >
        <Component {...pageProps} />
      </ChainProvider>
  );
}
 
export default MyCosmosApp;