UNPKG

@web3auth/no-modal

Version:
30 lines (27 loc) 963 B
import { SMART_ACCOUNT } from '@toruslabs/ethereum-controllers'; const SMART_ACCOUNT_WALLET_SCOPE = { EMBEDDED: "embedded", ALL: "all" }; const MODAL_SIGN_IN_METHODS = { SOCIAL: "social", PASSWORDLESS: "passwordless", EXTERNAL_WALLETS: "externalWallets" }; const WIDGET_TYPE = { MODAL: "modal", EMBED: "embed" }; const WEB3AUTH_STATE_STORAGE_KEY = "Web3Auth-state"; const LOGIN_MODE = { MODAL: "modal", NO_MODAL: "no-modal" }; const SOLANA_CAIP_CHAIN_MAP = { "0x65": "5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp", "0x66": "4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z", "0x67": "EtWTRABZaYq6iMfeYKouRu166VU2xqa1" }; const EIP_7702_SUPPORTED_SMART_ACCOUNTS = [SMART_ACCOUNT.METAMASK]; const WALLET_REGISTRY_URL = "https://assets.web3auth.io/v2/wallet-registry.json"; export { EIP_7702_SUPPORTED_SMART_ACCOUNTS, LOGIN_MODE, MODAL_SIGN_IN_METHODS, SMART_ACCOUNT_WALLET_SCOPE, SOLANA_CAIP_CHAIN_MAP, WALLET_REGISTRY_URL, WEB3AUTH_STATE_STORAGE_KEY, WIDGET_TYPE };