Cosmos Kit
Integrating Wallets
@ Ninji

How to Add Ninji Wallet to CosmosKit

There are two packages for ninji

  • @cosmos-kit/ninji
  • @cosmos-kit/ninji-extension

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

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

Take @cosmos-kit/ninji for example

add @cosmos-kit/ninji

yarn add @cosmos-kit/ninji

import the wallets

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

add to your provider

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