UNPKG

@reown/appkit-common

Version:

The full stack toolkit to build onchain app UX.

84 lines 3 kB
export const ConstantsUtil = { WC_NAME_SUFFIX: '.reown.id', WC_NAME_SUFFIX_LEGACY: '.wcn.id', BLOCKCHAIN_API_RPC_URL: 'https://rpc.walletconnect.org', PULSE_API_URL: 'https://pulse.walletconnect.org', W3M_API_URL: 'https://api.web3modal.org', CONNECTOR_ID: { WALLET_CONNECT: 'walletConnect', INJECTED: 'injected', WALLET_STANDARD: 'announced', COINBASE: 'coinbaseWallet', COINBASE_SDK: 'coinbaseWalletSDK', SAFE: 'safe', LEDGER: 'ledger', OKX: 'okx', EIP6963: 'eip6963', AUTH: 'ID_AUTH' }, CONNECTOR_NAMES: { AUTH: 'Auth' }, AUTH_CONNECTOR_SUPPORTED_CHAINS: ['eip155', 'solana'], LIMITS: { PENDING_TRANSACTIONS: 99 }, CHAIN: { EVM: 'eip155', SOLANA: 'solana', POLKADOT: 'polkadot', BITCOIN: 'bip122' }, CHAIN_NAME_MAP: { eip155: 'EVM Networks', solana: 'Solana', polkadot: 'Polkadot', bip122: 'Bitcoin', cosmos: 'Cosmos', sui: 'Sui', stacks: 'Stacks' }, ADAPTER_TYPES: { BITCOIN: 'bitcoin', SOLANA: 'solana', WAGMI: 'wagmi', ETHERS: 'ethers', ETHERS5: 'ethers5' }, USDT_CONTRACT_ADDRESSES: [ '0xdac17f958d2ee523a2206206994597c13d831ec7', '0xc2132d05d31c914a87c6611c10748aeb04b58e8f', '0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7', '0x919C1c267BC06a7039e03fcc2eF738525769109c', '0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e', '0x55d398326f99059fF775485246999027B3197955', '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9' ], HTTP_STATUS_CODES: { SERVER_ERROR: 500, TOO_MANY_REQUESTS: 429, SERVICE_UNAVAILABLE: 503, FORBIDDEN: 403 }, UNSUPPORTED_NETWORK_NAME: 'Unknown Network', SECURE_SITE_SDK_ORIGIN: (typeof process !== 'undefined' && typeof process.env !== 'undefined' ? process.env['NEXT_PUBLIC_SECURE_SITE_ORIGIN'] : undefined) || 'https://secure.walletconnect.org', REMOTE_FEATURES_ALERTS: { MULTI_WALLET_NOT_ENABLED: { DEFAULT: { displayMessage: 'Multi-Wallet Not Enabled', debugMessage: 'Multi-wallet support is not enabled. Please enable it in your AppKit configuration at cloud.reown.com.' }, CONNECTIONS_HOOK: { displayMessage: 'Multi-Wallet Not Enabled', debugMessage: 'Multi-wallet support is not enabled. Please enable it in your AppKit configuration at cloud.reown.com to use the useAppKitConnections hook.' }, CONNECTION_HOOK: { displayMessage: 'Multi-Wallet Not Enabled', debugMessage: 'Multi-wallet support is not enabled. Please enable it in your AppKit configuration at cloud.reown.com to use the useAppKitConnection hook.' } } } }; //# sourceMappingURL=ConstantsUtil.js.map