Add Leap Wallet support to Wallet Provider

This commit is contained in:
Serkan Reis 2023-10-16 13:12:04 +03:00
parent 8615176670
commit 17751c5455

View File

@ -3,6 +3,7 @@ import '@interchain-ui/react/styles'
import { GasPrice } from '@cosmjs/stargate'
import { wallets as keplrExtensionWallets } from '@cosmos-kit/keplr-extension'
import { wallets as leapExtensionWallets } from '@cosmos-kit/leap-extension'
import { ChainProvider } from '@cosmos-kit/react'
import { assets, chains } from 'chain-registry'
import { getConfig } from 'config'
@ -23,7 +24,7 @@ export const WalletProvider = ({ children }: { children: ReactNode }) => {
gasPrice: GasPrice.fromString(`${gasPrice}${feeToken}`),
}),
}}
wallets={keplrExtensionWallets}
wallets={[...keplrExtensionWallets, ...leapExtensionWallets]}
>
{children}
</ChainProvider>