icns-frontend/constants/wallet.ts

34 lines
782 B
TypeScript
Raw Normal View History

2022-12-12 06:51:25 +00:00
import { StaticImageData } from "next/image";
import KeplrIcon from "../public/images/svg/keplr-icon.svg";
import CosmostationIcon from "../public/images/svg/cosmostation-icon.svg";
2022-12-14 07:52:05 +00:00
export const WALLET_INSTALL_URL =
"https://chrome.google.com/webstore/detail/keplr/dmkamcknogkgcdfhhbddcghachkejeap";
export const SELECTED_WALLET_KEY = "SELECTED_WALLET_KEY";
export type WalletName = "Keplr" | "Cosmostation";
2022-12-12 06:51:25 +00:00
export interface WalletType {
name: WalletName;
2022-12-12 06:51:25 +00:00
image: StaticImageData;
isReady: boolean;
}
export const WalletList: WalletType[] = [
{
name: "Keplr",
image: KeplrIcon,
isReady: true,
},
{
name: "Cosmostation",
image: CosmostationIcon,
isReady: false,
},
];
2022-12-14 07:52:05 +00:00
export const ContractFee = {
denom: "uosmo",
amount: "500000",
};