• Integrating Wallets
  • @ Cosmostation Wallet

How to Add Cosmostation Wallet to CosmosKit

There are three packages for cosmostation

  • @cosmoskit/cosmostation
  • @cosmoskit/cosmostation-extension
  • @cosmoskit/cosmostation-mobile (using walletconnect v1, v2 is coming soon)

@cosmoskit/cosmostation export all available cosmostation wallets, while if you only want to add a particular one, choose @cosmoskit/cosmostation-extension or @cosmoskit/cosmostation-mobile

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

Take @cosmoskit/cosmostation for example

add @cosmoskit/cosmostation

yarn add @cosmoskit/cosmostation

import the wallets

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

add to your provider

function MyCosmosApp({ Component, pageProps }: AppProps) {
  return (
    <ChakraProvider theme={defaultTheme}>
      <ChainProvider
        chains={chains}
        assetLists={assets}
        wallets={[...cosmostation]}
        wrappedWithChakra={true}
        walletConnectOptions={...} // required if `wallets` contains mobile wallets
      >
        <Component {...pageProps} />
      </ChainProvider>
    </ChakraProvider>
  );
}
 
export default MyCosmosApp;
Last updated on May 18, 2023

🛠 Built by Cosmology — if you like our tools, please consider delegating to our validator ⚛️