WALLET_TYPES
graz
support multiple wallets, we have an array that contains our supported wallets
Usage
import { WALLET_TYPES, useConnect } from "graz";
export const SupportedWallet = () => {
const { connect } = useConnect();
return (
<div>
{WALLET_TYPES.map((name) => (
<button onClick={connect({ chain: cosmoshub, walletType: name })} key={name}>
{name}
</button>
))}
</div>
);
};
Return Value
WALLET_TYPES: string[]