Skip to content

Commit

Permalink
Remove cosmos-kit dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMHasperhoven committed Jan 6, 2025
1 parent 2dc8b91 commit ae4b436
Show file tree
Hide file tree
Showing 4 changed files with 258 additions and 1,603 deletions.
1 change: 0 additions & 1 deletion apps/minifront/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"bignumber.js": "^9.1.2",
"chain-registry": "^1.69.59",
"cosmjs-types": "^0.9.0",
"cosmos-kit": "^2.21.1",
"date-fns": "^3.6.0",
"framer-motion": "^11.2.4",
"graz": "^0.1.31",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ChainProvider } from '@cosmos-kit/react';
import { aminoTypes, registry as CosmosRegistry } from './config/defaults';
import { assets, chains } from 'chain-registry';
import { SignerOptions, wallets } from 'cosmos-kit';
import { SignerOptions } from '@cosmos-kit/core';
import { ReactNode, useMemo } from 'react';
import { Registry as PenumbraRegistry } from '@penumbra-labs/registry';

Expand Down Expand Up @@ -29,7 +29,7 @@ export const IbcChainProvider = ({ registry, children }: IbcProviderProps) => {
chains={chainsToDisplay}
assetLists={assets}
// Not using mobile wallets as WalletConnect is a centralized service that requires an account
wallets={wallets.extension}
wallets={[]} // tmp not using any wallets in order to publish @penumbra-zone/tmp-cosmos-kit
signerOptions={signerOptions}
modalTheme={{ defaultTheme: 'light' }}
logLevel={'NONE'}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { WalletStatus } from 'cosmos-kit';
import { WalletStatus } from '@cosmos-kit/core';
import { WalletIcon } from '@penumbra-zone/ui-deprecated/components/ui/icons/wallet';
import { MouseEventHandler } from 'react';
import { useStore } from '../../../state';
Expand Down
Loading

0 comments on commit ae4b436

Please sign in to comment.