@reown/appkit-controllers
Version:
The full stack toolkit to build onchain app UX.
102 lines (101 loc) • 3.38 kB
TypeScript
import { type ChainNamespace, type OnRampProvider, type SocialProvider, type SwapProvider } from '@reown/appkit-common';
export declare const ONRAMP_PROVIDERS: {
label: string;
name: string;
feeRange: string;
url: string;
supportedChains: string[];
}[];
export declare const MELD_PUBLIC_KEY = "WXETMuFUQmqqybHuRkSgxv:25B8LJHSfpG6LVjR2ytU5Cwh7Z4Sch2ocoU";
export declare const ConstantsUtil: {
FOUR_MINUTES_MS: number;
TEN_SEC_MS: number;
FIVE_SEC_MS: number;
THREE_SEC_MS: number;
ONE_SEC_MS: number;
SECURE_SITE: string;
SECURE_SITE_DASHBOARD: string;
SECURE_SITE_FAVICON: string;
SOLANA_NATIVE_TOKEN_ADDRESS: string;
RESTRICTED_TIMEZONES: string[];
SWAP_SUGGESTED_TOKENS: string[];
SWAP_POPULAR_TOKENS: string[];
BALANCE_SUPPORTED_CHAINS: ChainNamespace[];
SEND_PARAMS_SUPPORTED_CHAINS: ChainNamespace[];
SWAP_SUPPORTED_NETWORKS: string[];
NAMES_SUPPORTED_CHAIN_NAMESPACES: ChainNamespace[];
ONRAMP_SUPPORTED_CHAIN_NAMESPACES: ChainNamespace[];
PAY_WITH_EXCHANGE_SUPPORTED_CHAIN_NAMESPACES: ChainNamespace[];
ACTIVITY_ENABLED_CHAIN_NAMESPACES: ChainNamespace[];
NATIVE_TOKEN_ADDRESS: {
readonly eip155: "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
readonly solana: "So11111111111111111111111111111111111111111";
readonly polkadot: "0x";
readonly bip122: "0x";
readonly cosmos: "0x";
readonly sui: "0x";
readonly stacks: "0x";
};
CONVERT_SLIPPAGE_TOLERANCE: number;
CONNECT_LABELS: {
MOBILE: string;
WEB: string;
};
SEND_SUPPORTED_NAMESPACES: ChainNamespace[];
DEFAULT_REMOTE_FEATURES: {
swaps: SwapProvider[];
onramp: OnRampProvider[];
email: boolean;
socials: SocialProvider[];
activity: boolean;
reownBranding: boolean;
multiWallet: boolean;
emailCapture: boolean;
payWithExchange: boolean;
payments: boolean;
reownAuthentication: boolean;
};
DEFAULT_REMOTE_FEATURES_DISABLED: {
readonly email: false;
readonly socials: false;
readonly swaps: false;
readonly onramp: false;
readonly activity: false;
readonly reownBranding: false;
readonly emailCapture: false;
readonly reownAuthentication: false;
};
DEFAULT_FEATURES: {
receive: true;
send: true;
emailShowWallets: true;
connectorTypeOrder: ("custom" | "walletConnect" | "recent" | "injected" | "featured" | "external" | "recommended")[];
analytics: true;
allWallets: true;
legalCheckbox: false;
smartSessions: false;
collapseWallets: false;
walletFeaturesOrder: ("swaps" | "onramp" | "receive" | "send")[];
connectMethodsOrder: undefined;
pay: false;
reownAuthentication: false;
};
DEFAULT_SOCIALS: SocialProvider[];
DEFAULT_ACCOUNT_TYPES: {
readonly bip122: "payment";
readonly eip155: "smartAccount";
readonly polkadot: "eoa";
readonly solana: "eoa";
};
ADAPTER_TYPES: {
UNIVERSAL: string;
SOLANA: string;
WAGMI: string;
ETHERS: string;
ETHERS5: string;
BITCOIN: string;
};
SIWX_DEFAULTS: {
readonly signOutOnDisconnect: true;
};
};