2022-12-19 08:30:00 +00:00
|
|
|
import { SVGProps } from "react";
|
2022-12-12 06:51:25 +00:00
|
|
|
import CosmostationIcon from "../public/images/svg/cosmostation-icon.svg";
|
2022-12-19 08:30:00 +00:00
|
|
|
import KeplrIcon from "../public/images/svg/keplr-icon.svg";
|
2022-12-12 06:51:25 +00:00
|
|
|
|
2022-12-14 07:52:05 +00:00
|
|
|
export const WALLET_INSTALL_URL =
|
|
|
|
"https://chrome.google.com/webstore/detail/keplr/dmkamcknogkgcdfhhbddcghachkejeap";
|
2022-12-12 13:45:24 +00:00
|
|
|
export const SELECTED_WALLET_KEY = "SELECTED_WALLET_KEY";
|
|
|
|
|
2022-12-15 15:43:18 +00:00
|
|
|
export const MINIMUM_VERSION = "0.11.22";
|
2022-12-19 12:25:22 +00:00
|
|
|
export const MINIMUM_OSMO_FEE =
|
|
|
|
process.env.NEXT_PUBLIC_MINIMUM_OSMO_FEE ?? "0.5 OSMO";
|
2022-12-15 15:43:18 +00:00
|
|
|
|
2022-12-12 13:45:24 +00:00
|
|
|
export type WalletName = "Keplr" | "Cosmostation";
|
2022-12-12 06:51:25 +00:00
|
|
|
export interface WalletType {
|
2022-12-12 13:45:24 +00:00
|
|
|
name: WalletName;
|
2022-12-12 06:51:25 +00:00
|
|
|
isReady: boolean;
|
2022-12-19 08:30:00 +00:00
|
|
|
IconComponent: (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
2022-12-12 06:51:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export const WalletList: WalletType[] = [
|
|
|
|
{
|
|
|
|
name: "Keplr",
|
|
|
|
isReady: true,
|
2022-12-19 08:30:00 +00:00
|
|
|
IconComponent: KeplrIcon,
|
2022-12-12 06:51:25 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Cosmostation",
|
|
|
|
isReady: false,
|
2022-12-19 08:30:00 +00:00
|
|
|
IconComponent: CosmostationIcon,
|
2022-12-12 06:51:25 +00:00
|
|
|
},
|
|
|
|
];
|
2022-12-14 07:52:05 +00:00
|
|
|
|
|
|
|
export const ContractFee = {
|
|
|
|
denom: "uosmo",
|
|
|
|
amount: "500000",
|
|
|
|
};
|