How to Add Fin Wallet to CosmosKit
There are two packages for fin
@cosmos-kit/fin
@cosmos-kit/fin-extension
@cosmos-kit/fin
export all available fin wallets (currently only extension available), while if you only want to add a particular one, choose @cosmos-kit/fin-extension
Note: all these packages export
wallets
and it's an array ofMainWalletBase
Take @cosmos-kit/fin
for example
add @cosmos-kit/fin
yarn add @cosmos-kit/fin
import the wallets
import { wallets as fin } from "@cosmos-kit/fin";
add to your provider
function MyCosmosApp({ Component, pageProps }: AppProps) {
return (
<ChainProvider
chains={chains}
assetLists={assets}
wallets={[...fin]}
walletConnectOptions={...} // required if `wallets` contains mobile wallets
>
<Component {...pageProps} />
</ChainProvider>
);
}
export default MyCosmosApp;