@funkit/connect 0.1.10 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__private__/index.d.ts +8 -0
- package/dist/{chunk-X25RSAGB.js → chunk-BQU2NRO5.js} +12577 -12351
- package/dist/{chunk-W7RO4DCA.js → chunk-Q73FKLU4.js} +1 -0
- package/dist/{chunk-ZKI6VFDD.js → chunk-UOUEGWLS.js} +1 -0
- package/dist/components/AccountModal/AccountModal.d.ts +6 -0
- package/dist/components/AsyncImage/AsyncImage.d.ts +19 -0
- package/dist/components/AsyncImage/useAsyncImage.d.ts +3 -0
- package/dist/components/Avatar/Avatar.d.ts +9 -0
- package/dist/components/Avatar/EmojiAvatar.d.ts +2 -0
- package/dist/components/Avatar/emojiAvatarForAddress.d.ts +106 -0
- package/dist/components/Box/Box.d.ts +86 -0
- package/dist/components/Button/ActionButton.d.ts +14 -0
- package/dist/components/ChainModal/ChainModal.css.d.ts +2 -0
- package/dist/components/ChainModal/ChainModal.d.ts +6 -0
- package/dist/components/CloseButton/CloseButton.d.ts +5 -0
- package/dist/components/ConnectButton/ConnectButton.d.ts +28 -0
- package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +39 -0
- package/dist/components/ConnectButton/abbreviateETHBalance.d.ts +2 -0
- package/dist/components/ConnectButton/formatAddress.d.ts +1 -0
- package/dist/components/ConnectButton/formatENS.d.ts +1 -0
- package/dist/components/ConnectOptions/ConnectDetails.d.ts +36 -0
- package/dist/components/ConnectOptions/DesktopOptions.css.d.ts +4 -0
- package/dist/components/ConnectOptions/DesktopOptions.d.ts +15 -0
- package/dist/components/ConnectOptions/FunConnectOptions.d.ts +11 -0
- package/dist/components/ConnectOptions/MobileOptions.css.d.ts +1 -0
- package/dist/components/ConnectOptions/MobileOptions.d.ts +4 -0
- package/dist/components/Dialog/Dialog.css.d.ts +5 -0
- package/dist/components/Dialog/Dialog.d.ts +12 -0
- package/dist/components/Dialog/DialogContent.css.d.ts +6 -0
- package/dist/components/Dialog/DialogContent.d.ts +12 -0
- package/dist/components/Dialog/FocusTrap.d.ts +2 -0
- package/dist/components/Disclaimer/DisclaimerLink.d.ts +5 -0
- package/dist/components/Disclaimer/DisclaimerText.d.ts +4 -0
- package/dist/components/FunButton/FunBackButton.d.ts +4 -0
- package/dist/components/FunButton/FunButton.css.d.ts +3 -0
- package/dist/components/FunButton/FunButton.d.ts +18 -0
- package/dist/components/FunButton/FunIconButton.d.ts +16 -0
- package/dist/components/FunButton/FunLinkButton.d.ts +9 -0
- package/dist/components/FunButton/FunViewTxButton.d.ts +4 -0
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +8 -0
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryModal.d.ts +8 -0
- package/dist/components/FunCheckoutModal/FunCheckoutConfirmation.css.d.ts +7 -0
- package/dist/components/FunCheckoutModal/FunCheckoutConfirmationStep.d.ts +9 -0
- package/dist/components/FunCheckoutModal/FunCheckoutModal.d.ts +15 -0
- package/dist/components/FunCheckoutModal/FunCheckoutPrimaryInfo.d.ts +9 -0
- package/dist/components/FunCheckoutModal/FunCheckoutSelectAssetStep.css.d.ts +7 -0
- package/dist/components/FunCheckoutModal/FunCheckoutSelectAssetStep.d.ts +12 -0
- package/dist/components/FunCheckoutModal/FunCheckoutVerifyDetailsStep.d.ts +6 -0
- package/dist/components/FunConnectModal/FunConnectModal.d.ts +6 -0
- package/dist/components/FunContainer/FunContainer.d.ts +11 -0
- package/dist/components/FunDevTestModal/FunDevTestModal.d.ts +6 -0
- package/dist/components/FunDivider/FunDivider.d.ts +7 -0
- package/dist/components/FunInput/FunInput.css.d.ts +2 -0
- package/dist/components/FunInput/FunInput.d.ts +28 -0
- package/dist/components/FunKeyValue/FunKeyValue.d.ts +25 -0
- package/dist/components/FunMeshTwoFactorStep/FunMeshTwoFactorStep.d.ts +9 -0
- package/dist/components/FunModalTitleSection/FunModalTitleSection.css.d.ts +7 -0
- package/dist/components/FunModalTitleSection/FunModalTitleSection.d.ts +12 -0
- package/dist/components/FunNotification/FunCheckoutNotification.d.ts +6 -0
- package/dist/components/FunNotification/FunNotification.d.ts +12 -0
- package/dist/components/FunOnramp/FunOnramp.css.d.ts +7 -0
- package/dist/components/FunOnramp/FunOnrampConfirmation.css.d.ts +7 -0
- package/dist/components/FunOnramp/FunOnrampConfirmationStep.d.ts +18 -0
- package/dist/components/FunOnramp/FunOnrampInputStep.d.ts +10 -0
- package/dist/components/FunOnramp/FunOnrampPrimaryItem.d.ts +5 -0
- package/dist/components/FunOnramp/FunOnrampProcessingStep.d.ts +6 -0
- package/dist/components/FunOnramp/FunOnrampTokenPill.d.ts +7 -0
- package/dist/components/FunPayments/FunPaymentMeshType.css.d.ts +7 -0
- package/dist/components/FunPayments/FunPaymentMeshType.d.ts +10 -0
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +55 -0
- package/dist/components/FunPayments/FunPaymentMoonpayType.css.d.ts +10 -0
- package/dist/components/FunPayments/FunPaymentMoonpayType.d.ts +13 -0
- package/dist/components/FunPayments/FunPaymentSetup.d.ts +18 -0
- package/dist/components/FunPayments/FunPaymentTransferType.css.d.ts +7 -0
- package/dist/components/FunPayments/FunPaymentTransferType.d.ts +6 -0
- package/dist/components/FunPayments/FunPayments.css.d.ts +7 -0
- package/dist/components/FunProgressBar/FunHorizontalStepper.d.ts +7 -0
- package/dist/components/FunProgressBar/FunProgressBar.d.ts +6 -0
- package/dist/components/FunProgressBar/FunVerticalProgressBar.d.ts +14 -0
- package/dist/components/FunSelect/FunClickOutside.d.ts +8 -0
- package/dist/components/FunSelect/FunSelect.d.ts +26 -0
- package/dist/components/FunSignInFlow/FunSignInStep.css.d.ts +2 -0
- package/dist/components/FunSignInFlow/FunSignInStep.d.ts +14 -0
- package/dist/components/FunSignInFlow/FunWeb2ConnectingStep/FunWeb2ConnectingStep.css.d.ts +7 -0
- package/dist/components/FunSignInFlow/FunWeb2ConnectingStep/FunWeb2ConnectingStep.d.ts +9 -0
- package/dist/components/FunSignInFlow/FunWeb3ConnectingStep.css.d.ts +7 -0
- package/dist/components/FunSignInFlow/FunWeb3ConnectingStep.d.ts +9 -0
- package/dist/components/FunStates/FunErrorContent.d.ts +10 -0
- package/dist/components/FunTermsAndConditionsTextButton/FunTermsAndConditionsTextButton.d.ts +2 -0
- package/dist/components/FunToast/FunShortToast.css.d.ts +10 -0
- package/dist/components/FunToast/FunShortToast.d.ts +3 -0
- package/dist/components/FunToast/FunToast.d.ts +18 -0
- package/dist/components/FunTransactionSummary/FunTransactionSummary.d.ts +22 -0
- package/dist/components/FunkitProvider/AuthenticationContext.d.ts +35 -0
- package/dist/components/FunkitProvider/AvatarContext.d.ts +9 -0
- package/dist/components/FunkitProvider/CoolModeContext.d.ts +2 -0
- package/dist/components/FunkitProvider/FunToastContext.d.ts +11 -0
- package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +142 -0
- package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +20 -0
- package/dist/components/FunkitProvider/FunkitConnectChainContext.d.ts +19 -0
- package/dist/components/FunkitProvider/FunkitProvider.d.ts +18 -0
- package/dist/components/FunkitProvider/FunkitThemeProvider.d.ts +347 -0
- package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +24 -0
- package/dist/components/FunkitProvider/I18nContext.d.ts +9 -0
- package/dist/components/FunkitProvider/ModalContext.d.ts +37 -0
- package/dist/components/FunkitProvider/ModalSizeContext.d.ts +7 -0
- package/dist/components/FunkitProvider/provideFunkitConnectChains.d.ts +3 -0
- package/dist/components/FunkitProvider/useCoolMode.d.ts +2 -0
- package/dist/components/FunkitProvider/useFingerprint.d.ts +1 -0
- package/dist/components/FunkitProvider/usePreloadImages.d.ts +1 -0
- package/dist/components/FunkitProvider/walletConnectDeepLink.d.ts +5 -0
- package/dist/components/FunkitWeb2Provider/FunkitWeb2Provider.d.ts +68 -0
- package/dist/components/Icons/AcornsIcon.d.ts +2 -0
- package/dist/components/Icons/AlpacaIcon.d.ts +2 -0
- package/dist/components/Icons/Assets.d.ts +3 -0
- package/dist/components/Icons/Back.d.ts +2 -0
- package/dist/components/Icons/BinanceIcon.d.ts +2 -0
- package/dist/components/Icons/BitFlyerIcon.d.ts +2 -0
- package/dist/components/Icons/BitstampIcon.d.ts +2 -0
- package/dist/components/Icons/BridgeIcon.d.ts +2 -0
- package/dist/components/Icons/BybitIcon.d.ts +2 -0
- package/dist/components/Icons/Cancel.d.ts +2 -0
- package/dist/components/Icons/CexloIcon.d.ts +2 -0
- package/dist/components/Icons/ClockIcon.d.ts +2 -0
- package/dist/components/Icons/Close.d.ts +2 -0
- package/dist/components/Icons/CoinIcon.d.ts +4 -0
- package/dist/components/Icons/Coinbase.d.ts +2 -0
- package/dist/components/Icons/CoinlistIcon.d.ts +2 -0
- package/dist/components/Icons/Connect.d.ts +3 -0
- package/dist/components/Icons/Copied.d.ts +2 -0
- package/dist/components/Icons/Copy.d.ts +2 -0
- package/dist/components/Icons/Create.d.ts +3 -0
- package/dist/components/Icons/CreditCardDots.d.ts +2 -0
- package/dist/components/Icons/CryptoComIcon.d.ts +2 -0
- package/dist/components/Icons/Disconnect.d.ts +2 -0
- package/dist/components/Icons/DisconnectSq.d.ts +4 -0
- package/dist/components/Icons/Dropdown.d.ts +2 -0
- package/dist/components/Icons/EthereumIcon.d.ts +4 -0
- package/dist/components/Icons/EtoroIcon.d.ts +2 -0
- package/dist/components/Icons/EtradeIcon.d.ts +2 -0
- package/dist/components/Icons/Explore.d.ts +2 -0
- package/dist/components/Icons/ExternalLink.d.ts +2 -0
- package/dist/components/Icons/FunArrows.d.ts +5 -0
- package/dist/components/Icons/FunBackIcon.d.ts +2 -0
- package/dist/components/Icons/GateIo.d.ts +2 -0
- package/dist/components/Icons/GeminiIcon.d.ts +2 -0
- package/dist/components/Icons/HuobiIcon.d.ts +2 -0
- package/dist/components/Icons/Icons.css.d.ts +3 -0
- package/dist/components/Icons/Info.d.ts +3 -0
- package/dist/components/Icons/KrakenIcon.d.ts +2 -0
- package/dist/components/Icons/KucoinIcon.d.ts +2 -0
- package/dist/components/Icons/LightningIcon.d.ts +2 -0
- package/dist/components/Icons/LinkIcon.d.ts +2 -0
- package/dist/components/Icons/Login.d.ts +3 -0
- package/dist/components/Icons/LogoutIcon.d.ts +2 -0
- package/dist/components/Icons/MastercardIcon.d.ts +2 -0
- package/dist/components/Icons/MmFox.d.ts +2 -0
- package/dist/components/Icons/NoAssetsFoundIcon.d.ts +4 -0
- package/dist/components/Icons/OkcoinIcon.d.ts +2 -0
- package/dist/components/Icons/OkxIcon.d.ts +2 -0
- package/dist/components/Icons/PasskeyIcon.d.ts +2 -0
- package/dist/components/Icons/PaymentMethodIcons.d.ts +5 -0
- package/dist/components/Icons/PlusIcon.d.ts +2 -0
- package/dist/components/Icons/ProfileIcon.d.ts +2 -0
- package/dist/components/Icons/PublicIcon.d.ts +2 -0
- package/dist/components/Icons/ReceiptIcon.d.ts +2 -0
- package/dist/components/Icons/RedirectIcon.d.ts +2 -0
- package/dist/components/Icons/Refresh.d.ts +3 -0
- package/dist/components/Icons/RobinhoodIcon.d.ts +2 -0
- package/dist/components/Icons/Scan.d.ts +3 -0
- package/dist/components/Icons/SearchIcon.d.ts +4 -0
- package/dist/components/Icons/SettingsIcon.d.ts +2 -0
- package/dist/components/Icons/SocialMediaIcons.d.ts +4 -0
- package/dist/components/Icons/Spinner.d.ts +5 -0
- package/dist/components/Icons/StEthIcon.d.ts +2 -0
- package/dist/components/Icons/StashIcon.d.ts +2 -0
- package/dist/components/Icons/Success.d.ts +2 -0
- package/dist/components/Icons/SuccessNoBorder.d.ts +2 -0
- package/dist/components/Icons/SwapIcon.d.ts +2 -0
- package/dist/components/Icons/SwitchAccount.d.ts +2 -0
- package/dist/components/Icons/TransferIcon.d.ts +2 -0
- package/dist/components/Icons/USDCIcon.d.ts +2 -0
- package/dist/components/Icons/WalletIcon.d.ts +3 -0
- package/dist/components/Icons/WeBullIcon.d.ts +2 -0
- package/dist/components/Icons/WhiteDotIcon.d.ts +2 -0
- package/dist/components/InfoButton/InfoButton.d.ts +5 -0
- package/dist/components/MenuButton/MenuButton.css.d.ts +1 -0
- package/dist/components/MenuButton/MenuButton.d.ts +9 -0
- package/dist/components/ModalSelection/ModalSelection.css.d.ts +1 -0
- package/dist/components/ModalSelection/ModalSelection.d.ts +17 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWActivityHistory/FWActivityHistory.css.d.ts +7 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWActivityHistory/FWActivityHistory.d.ts +5 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWBridge.d.ts +9 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWDeposit.d.ts +14 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHome.css.d.ts +17 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHomeCheckoutSection.d.ts +4 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/FWHomeTokenDisplayRow.d.ts +4 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWHome/index.d.ts +6 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWSettings/FWSettings.css.d.ts +7 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWSettings/FWSettings.d.ts +10 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FWSwap.d.ts +5 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FunArrowItem.d.ts +4 -0
- package/dist/components/ProfileDetails/FunWalletProfileViews/FunSelectionSection.d.ts +11 -0
- package/dist/components/ProfileDetails/ProfileDetailsAction.d.ts +10 -0
- package/dist/components/ProfileDetails/WalletProfileDetails.d.ts +19 -0
- package/dist/components/QRCode/QRCode.d.ts +13 -0
- package/dist/components/SignIn/SignIn.d.ts +5 -0
- package/dist/components/SkeletalLoader/SkeletalLoader.css.d.ts +1 -0
- package/dist/components/SkeletalLoader/SkeletalLoader.d.ts +2 -0
- package/dist/components/Text/Text.d.ts +18 -0
- package/dist/components/TwoFaInputField/FunTwoFaInput.d.ts +10 -0
- package/dist/components/Txs/TxItem.d.ts +7 -0
- package/dist/components/Txs/TxList.d.ts +7 -0
- package/dist/components/Txs/Txs.css.d.ts +2 -0
- package/dist/components/index.css +1816 -707
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +3 -3
- package/dist/consts/assets.d.ts +26 -0
- package/dist/consts/funkit.d.ts +9 -0
- package/dist/css/animations.css.d.ts +9 -0
- package/dist/css/atoms.d.ts +6 -0
- package/dist/css/cssObjectFromTheme.d.ts +6 -0
- package/dist/css/cssStringFromTheme.d.ts +4 -0
- package/dist/css/reset.css.d.ts +14 -0
- package/dist/css/sprinkles.css.d.ts +3492 -0
- package/dist/css/touchableStyles.css.d.ts +4 -0
- package/dist/css/touchableStyles.d.ts +8 -0
- package/dist/hooks/useChainId.d.ts +1 -0
- package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +31 -0
- package/dist/hooks/useCheckoutStateBooleans.d.ts +9 -0
- package/dist/hooks/useConnectionStatus.d.ts +7 -0
- package/dist/hooks/useDebouncedCallback.d.ts +1 -0
- package/dist/hooks/useFunListeners.d.ts +8 -0
- package/dist/hooks/useIsMounted.d.ts +1 -0
- package/dist/hooks/useMainnet.d.ts +4 -0
- package/dist/hooks/useMainnetEnsAvatar.d.ts +1 -0
- package/dist/hooks/useMainnetEnsName.d.ts +1 -0
- package/dist/hooks/useMesh.d.ts +32 -0
- package/dist/hooks/useSymbolRefresh.d.ts +7 -0
- package/dist/hooks/useWindowSize.d.ts +4 -0
- package/dist/index.css +1800 -691
- package/dist/index.d.ts +18 -0
- package/dist/index.js +3 -3
- package/dist/locales/index.d.ts +3 -0
- package/dist/themes/baseTheme.d.ts +25 -0
- package/dist/themes/darkTheme.d.ts +85 -0
- package/dist/themes/darkTheme.js +1 -1
- package/dist/themes/lightTheme.d.ts +85 -0
- package/dist/themes/lightTheme.js +1 -1
- package/dist/transactions/TransactionStoreContext.d.ts +151 -0
- package/dist/transactions/transactionStore.d.ts +21 -0
- package/dist/transactions/useAddRecentTransaction.d.ts +2 -0
- package/dist/transactions/useClearRecentTransactions.d.ts +1 -0
- package/dist/transactions/useRecentTransactions.d.ts +2 -0
- package/dist/types.d.ts +4 -0
- package/dist/utils/Logger.d.ts +25 -0
- package/dist/utils/browsers.d.ts +13 -0
- package/dist/utils/chainToExplorerUrl.d.ts +2 -0
- package/dist/utils/checkout.d.ts +104 -0
- package/dist/utils/colors.d.ts +3 -0
- package/dist/utils/emailandPhoneValidator.d.ts +5 -0
- package/dist/utils/flatten.d.ts +1 -0
- package/dist/utils/formatNumber.d.ts +53 -0
- package/dist/utils/formatTimestamp.d.ts +1 -0
- package/dist/utils/funkitProvider.d.ts +6 -0
- package/dist/utils/funwallet.d.ts +1 -0
- package/dist/utils/getWalletConnectUri.d.ts +2 -0
- package/dist/utils/groupBy.d.ts +1 -0
- package/dist/utils/indexBy.d.ts +1 -0
- package/dist/utils/isMobile.d.ts +5 -0
- package/dist/utils/isNotNullish.d.ts +1 -0
- package/dist/utils/locale.d.ts +1 -0
- package/dist/utils/mesh.d.ts +58 -0
- package/dist/utils/moonpay.d.ts +1 -0
- package/dist/utils/omitUndefinedValues.d.ts +1 -0
- package/dist/utils/platforms.d.ts +10 -0
- package/dist/wallets/Wallet.d.ts +86 -0
- package/dist/wallets/connectorsForWallets.d.ts +2 -0
- package/dist/wallets/downloadUrls.d.ts +4 -0
- package/dist/wallets/getDefaultWallets.d.ts +11 -0
- package/dist/wallets/getInjectedConnector.d.ts +10 -0
- package/dist/wallets/getWalletConnectConnector.d.ts +26 -0
- package/dist/wallets/recentWalletIds.d.ts +2 -0
- package/dist/wallets/useWalletConnectors.d.ts +13 -0
- package/dist/wallets/walletConnectors/@funkitConnectWallet/funkitConnectWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/argentWallet/argentWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/argentWallet/argentWallet.js +2 -2
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.d.ts +18 -0
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.d.ts +39 -0
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitskiWallet/bitskiWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/braveWallet/braveWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/{chunk-BYGJDC6Y.js → chunk-2XHTO74O.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-OV2JRO7A.js → chunk-3XLDPS4Y.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-4CGDJKUJ.js → chunk-4EKX7Z25.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-EXTKISYU.js → chunk-4WS4ZSRN.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-Y4EWYKDM.js → chunk-6FQF7H7H.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-EUSM6MRB.js → chunk-6T5K52ZY.js} +5 -5
- package/dist/wallets/walletConnectors/{chunk-TBZII4VB.js → chunk-77KYAV4P.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-237HEA4B.js → chunk-7EOFWORX.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-IVIQBLOK.js → chunk-APZ6YBCA.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-DS2NHYCT.js → chunk-BDKAIAQA.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-G2HR4ZFS.js → chunk-DBMFZSXN.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-OH3HGTQV.js → chunk-EHO4MJZJ.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-2T67SC63.js → chunk-FTTYELWN.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-THH76QKN.js → chunk-GHYJ56FA.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-TT2SHVBF.js → chunk-GLB4HFDR.js} +4 -4
- package/dist/wallets/walletConnectors/chunk-IEAKLGB6.js +84 -0
- package/dist/wallets/walletConnectors/chunk-JJICTRJY.js +114 -0
- package/dist/wallets/walletConnectors/chunk-KUXG7P5Q.js +102 -0
- package/dist/wallets/walletConnectors/{chunk-AFMQLXY2.js → chunk-LBSWP7R6.js} +1 -1
- package/dist/wallets/walletConnectors/chunk-LEWQ7DQV.js +71 -0
- package/dist/wallets/walletConnectors/chunk-LL6T7V77.js +81 -0
- package/dist/wallets/walletConnectors/{chunk-JC5DQVHX.js → chunk-LVMQKSKW.js} +1 -1
- package/dist/wallets/walletConnectors/chunk-MDDT3PSR.js +110 -0
- package/dist/wallets/walletConnectors/chunk-MOWIPEYK.js +226 -0
- package/dist/wallets/walletConnectors/{chunk-4FQ2OCM4.js → chunk-NEDPCNTA.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-M5VGZ2QW.js → chunk-PTF3JKWO.js} +1 -1
- package/dist/wallets/walletConnectors/chunk-Q6N2YWW4.js +112 -0
- package/dist/wallets/walletConnectors/chunk-RL5OHS6R.js +113 -0
- package/dist/wallets/walletConnectors/{chunk-PATI3A3F.js → chunk-T3RIVRAX.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-7HTS7H5B.js → chunk-TG2HN6KW.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-4LHUAGGQ.js → chunk-TORM2ZGA.js} +1 -1
- package/dist/wallets/walletConnectors/{chunk-ZGVEVXA7.js → chunk-TZR3P22N.js} +1 -1
- package/dist/wallets/walletConnectors/chunk-VAR774R5.js +105 -0
- package/dist/wallets/walletConnectors/chunk-VW5SMBMG.js +71 -0
- package/dist/wallets/walletConnectors/chunk-X6A7D2EA.js +71 -0
- package/dist/wallets/walletConnectors/chunk-XXTDCRCW.js +52 -0
- package/dist/wallets/walletConnectors/chunk-YWKKNHO3.js +117 -0
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.d.ts +15 -0
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.d.ts +22 -0
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.d.ts +24 -0
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/desigWallet/desigWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/enkryptWallet/enkryptWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.d.ts +11 -0
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frameWallet/frameWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.d.ts +22 -0
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/imTokenWallet/imTokenWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.d.ts +41 -0
- package/dist/wallets/walletConnectors/index.js +68 -68
- package/dist/wallets/walletConnectors/injectedWallet/injectedWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/ledgerWallet/ledgerWallet.js +2 -2
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.d.ts +17 -0
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/mewWallet/mewWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/oktoWallet/oktoWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.d.ts +17 -0
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/omniWallet/omniWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/omniWallet/omniWallet.js +2 -2
- package/dist/wallets/walletConnectors/oneKeyWallet/oneKeyWallet.d.ts +11 -0
- package/dist/wallets/walletConnectors/phantomWallet/phantomWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/rabbyWallet/rabbyWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.d.ts +17 -0
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/safeWallet/safeWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/safeheronWallet/safeheronWallet.d.ts +12 -0
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.d.ts +22 -0
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tahoWallet/tahoWallet.d.ts +12 -0
- package/dist/wallets/walletConnectors/talismanWallet/talismanWallet.d.ts +12 -0
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.d.ts +17 -0
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.d.ts +22 -0
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/uniswapWallet/uniswapWallet.js +2 -2
- package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.d.ts +16 -0
- package/dist/wallets/walletConnectors/walletConnectWallet/walletConnectWallet.js +2 -2
- package/dist/wallets/walletConnectors/xdefiWallet/xdefiWallet.d.ts +12 -0
- package/dist/wallets/walletConnectors/zealWallet/zealWallet.d.ts +7 -0
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.d.ts +17 -0
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +4 -5
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid,
|
|
4
|
+
isIOS
|
|
5
|
+
} from "./chunk-ZOLACFTK.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector,
|
|
8
|
+
getWalletConnectUri
|
|
9
|
+
} from "./chunk-6T5K52ZY.js";
|
|
10
|
+
|
|
11
|
+
// src/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.ts
|
|
12
|
+
import { MetaMaskConnector } from "wagmi/connectors/metaMask";
|
|
13
|
+
function isMetaMask(ethereum) {
|
|
14
|
+
if (!ethereum?.isMetaMask) {
|
|
15
|
+
return false;
|
|
16
|
+
}
|
|
17
|
+
if (ethereum.isBraveWallet && !ethereum._events && !ethereum._state) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
if (ethereum.isApexWallet) {
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
if (ethereum.isAvalanche) {
|
|
24
|
+
return false;
|
|
25
|
+
}
|
|
26
|
+
if (ethereum.isBackpack) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
if (ethereum.isBifrost) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
if (ethereum.isBitKeep) {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
if (ethereum.isBitski) {
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
if (ethereum.isBlockWallet) {
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
if (ethereum.isCoinbaseWallet) {
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
if (ethereum.isDawn) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
if (ethereum.isEnkrypt) {
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
if (ethereum.isExodus) {
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
if (ethereum.isFrame) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
if (ethereum.isFrontier) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
if (ethereum.isGamestop) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
if (ethereum.isHyperPay) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
if (ethereum.isImToken) {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
if (ethereum.isKuCoinWallet) {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
if (ethereum.isMathWallet) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
if (ethereum.isOkxWallet || ethereum.isOKExWallet) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
if (ethereum.isOneInchIOSWallet || ethereum.isOneInchAndroidWallet) {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
if (ethereum.isOpera) {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
if (ethereum.isPhantom) {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
if (ethereum.isPortal) {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
if (ethereum.isRabby) {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
if (ethereum.isRainbow) {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
if (ethereum.isStatus) {
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
if (ethereum.isTalisman) {
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
if (ethereum.isTally) {
|
|
102
|
+
return false;
|
|
103
|
+
}
|
|
104
|
+
if (ethereum.isTokenPocket) {
|
|
105
|
+
return false;
|
|
106
|
+
}
|
|
107
|
+
if (ethereum.isTokenary) {
|
|
108
|
+
return false;
|
|
109
|
+
}
|
|
110
|
+
if (ethereum.isTrust || ethereum.isTrustWallet) {
|
|
111
|
+
return false;
|
|
112
|
+
}
|
|
113
|
+
if (ethereum.isXDEFI) {
|
|
114
|
+
return false;
|
|
115
|
+
}
|
|
116
|
+
if (ethereum.isZeal) {
|
|
117
|
+
return false;
|
|
118
|
+
}
|
|
119
|
+
if (ethereum.isZerion) {
|
|
120
|
+
return false;
|
|
121
|
+
}
|
|
122
|
+
return true;
|
|
123
|
+
}
|
|
124
|
+
var metaMaskWallet = ({
|
|
125
|
+
chains,
|
|
126
|
+
projectId,
|
|
127
|
+
walletConnectOptions,
|
|
128
|
+
walletConnectVersion = "2",
|
|
129
|
+
...options
|
|
130
|
+
}) => {
|
|
131
|
+
const providers = typeof window !== "undefined" && window.ethereum?.providers;
|
|
132
|
+
const isMetaMaskInjected = typeof window !== "undefined" && typeof window.ethereum !== "undefined" && (window.ethereum.providers?.some(isMetaMask) || window.ethereum.isMetaMask);
|
|
133
|
+
const shouldUseWalletConnect = !isMetaMaskInjected;
|
|
134
|
+
return {
|
|
135
|
+
id: "metaMask",
|
|
136
|
+
name: "MetaMask",
|
|
137
|
+
iconUrl: async () => (await import("./metaMaskWallet-ORHUNQRP.js")).default,
|
|
138
|
+
iconAccent: "#f6851a",
|
|
139
|
+
iconBackground: "#fff",
|
|
140
|
+
installed: !shouldUseWalletConnect ? isMetaMaskInjected : void 0,
|
|
141
|
+
downloadUrls: {
|
|
142
|
+
android: "https://play.google.com/store/apps/details?id=io.metamask",
|
|
143
|
+
ios: "https://apps.apple.com/us/app/metamask/id1438144202",
|
|
144
|
+
mobile: "https://metamask.io/download",
|
|
145
|
+
qrCode: "https://metamask.io/download",
|
|
146
|
+
chrome: "https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn",
|
|
147
|
+
edge: "https://microsoftedge.microsoft.com/addons/detail/metamask/ejbalbakoplchlghecdalmeeeajnimhm",
|
|
148
|
+
firefox: "https://addons.mozilla.org/firefox/addon/ether-metamask",
|
|
149
|
+
opera: "https://addons.opera.com/extensions/details/metamask-10",
|
|
150
|
+
browserExtension: "https://metamask.io/download"
|
|
151
|
+
},
|
|
152
|
+
createConnector: () => {
|
|
153
|
+
const connector = shouldUseWalletConnect ? getWalletConnectConnector({
|
|
154
|
+
projectId,
|
|
155
|
+
chains,
|
|
156
|
+
version: walletConnectVersion,
|
|
157
|
+
options: walletConnectOptions
|
|
158
|
+
}) : new MetaMaskConnector({
|
|
159
|
+
chains,
|
|
160
|
+
options: {
|
|
161
|
+
getProvider: () => providers ? providers.find(isMetaMask) : typeof window !== "undefined" ? window.ethereum : void 0,
|
|
162
|
+
...options
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
const getUri = async () => {
|
|
166
|
+
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
167
|
+
return isAndroid() ? uri : isIOS() ? `metamask://wc?uri=${encodeURIComponent(uri)}` : `https://metamask.app.link/wc?uri=${encodeURIComponent(uri)}`;
|
|
168
|
+
};
|
|
169
|
+
return {
|
|
170
|
+
connector,
|
|
171
|
+
mobile: {
|
|
172
|
+
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
173
|
+
},
|
|
174
|
+
qrCode: shouldUseWalletConnect ? {
|
|
175
|
+
getUri,
|
|
176
|
+
instructions: {
|
|
177
|
+
learnMoreUrl: "https://metamask.io/faqs/",
|
|
178
|
+
steps: [
|
|
179
|
+
{
|
|
180
|
+
description: "wallet_connectors.metamask.qr_code.step1.description",
|
|
181
|
+
step: "install",
|
|
182
|
+
title: "wallet_connectors.metamask.qr_code.step1.title"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
description: "wallet_connectors.metamask.qr_code.step2.description",
|
|
186
|
+
step: "create",
|
|
187
|
+
title: "wallet_connectors.metamask.qr_code.step2.title"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
description: "wallet_connectors.metamask.qr_code.step3.description",
|
|
191
|
+
step: "refresh",
|
|
192
|
+
title: "wallet_connectors.metamask.qr_code.step3.title"
|
|
193
|
+
}
|
|
194
|
+
]
|
|
195
|
+
}
|
|
196
|
+
} : void 0,
|
|
197
|
+
extension: {
|
|
198
|
+
instructions: {
|
|
199
|
+
learnMoreUrl: "https://metamask.io/faqs/",
|
|
200
|
+
steps: [
|
|
201
|
+
{
|
|
202
|
+
description: "wallet_connectors.metamask.extension.step1.description",
|
|
203
|
+
step: "install",
|
|
204
|
+
title: "wallet_connectors.metamask.extension.step1.title"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
description: "wallet_connectors.metamask.extension.step2.description",
|
|
208
|
+
step: "create",
|
|
209
|
+
title: "wallet_connectors.metamask.extension.step2.title"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
description: "wallet_connectors.metamask.extension.step3.description",
|
|
213
|
+
step: "refresh",
|
|
214
|
+
title: "wallet_connectors.metamask.extension.step3.title"
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
export {
|
|
225
|
+
metaMaskWallet
|
|
226
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector,
|
|
4
|
-
getWalletConnectUri
|
|
5
|
-
} from "./chunk-EUSM6MRB.js";
|
|
6
2
|
import {
|
|
7
3
|
isAndroid
|
|
8
4
|
} from "./chunk-ZOLACFTK.js";
|
|
5
|
+
import {
|
|
6
|
+
getWalletConnectConnector,
|
|
7
|
+
getWalletConnectUri
|
|
8
|
+
} from "./chunk-6T5K52ZY.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/omniWallet/omniWallet.ts
|
|
11
11
|
var omniWallet = ({
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getWalletConnectConnector,
|
|
4
|
+
getWalletConnectUri
|
|
5
|
+
} from "./chunk-6T5K52ZY.js";
|
|
6
|
+
import {
|
|
7
|
+
isAndroid
|
|
8
|
+
} from "./chunk-ZOLACFTK.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/bitgetWallet/bitgetWallet.ts
|
|
11
|
+
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
12
|
+
var bitgetWallet = ({
|
|
13
|
+
chains,
|
|
14
|
+
projectId,
|
|
15
|
+
walletConnectOptions,
|
|
16
|
+
walletConnectVersion = "2",
|
|
17
|
+
...options
|
|
18
|
+
}) => {
|
|
19
|
+
const isBitKeepInjected = typeof window !== "undefined" && window.bitkeep !== void 0 && window.bitkeep.ethereum !== void 0 && window.bitkeep.ethereum.isBitKeep === true;
|
|
20
|
+
const shouldUseWalletConnect = !isBitKeepInjected;
|
|
21
|
+
return {
|
|
22
|
+
id: "bitget",
|
|
23
|
+
name: "Bitget Wallet",
|
|
24
|
+
iconUrl: async () => (await import("./bitgetWallet-JVNCB4EB.js")).default,
|
|
25
|
+
iconAccent: "#f6851a",
|
|
26
|
+
iconBackground: "#fff",
|
|
27
|
+
installed: !shouldUseWalletConnect ? isBitKeepInjected : void 0,
|
|
28
|
+
downloadUrls: {
|
|
29
|
+
android: "https://web3.bitget.com/en/wallet-download?type=0",
|
|
30
|
+
ios: "https://apps.apple.com/app/bitkeep/id1395301115",
|
|
31
|
+
mobile: "https://web3.bitget.com/en/wallet-download?type=2",
|
|
32
|
+
qrCode: "https://web3.bitget.com/en/wallet-download",
|
|
33
|
+
chrome: "https://chrome.google.com/webstore/detail/bitkeep-crypto-nft-wallet/jiidiaalihmmhddjgbnbgdfflelocpak",
|
|
34
|
+
browserExtension: "https://web3.bitget.com/en/wallet-download"
|
|
35
|
+
},
|
|
36
|
+
createConnector: () => {
|
|
37
|
+
const connector = shouldUseWalletConnect ? getWalletConnectConnector({
|
|
38
|
+
chains,
|
|
39
|
+
options: walletConnectOptions,
|
|
40
|
+
projectId,
|
|
41
|
+
version: walletConnectVersion
|
|
42
|
+
}) : new InjectedConnector({
|
|
43
|
+
chains,
|
|
44
|
+
options: {
|
|
45
|
+
getProvider: () => window.bitkeep.ethereum,
|
|
46
|
+
...options
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
const getUri = async () => {
|
|
50
|
+
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
51
|
+
return isAndroid() ? uri : `bitkeep://wc?uri=${encodeURIComponent(uri)}`;
|
|
52
|
+
};
|
|
53
|
+
return {
|
|
54
|
+
connector,
|
|
55
|
+
extension: {
|
|
56
|
+
instructions: {
|
|
57
|
+
learnMoreUrl: "https://web3.bitget.com/en/academy",
|
|
58
|
+
steps: [
|
|
59
|
+
{
|
|
60
|
+
description: "wallet_connectors.bitget.extension.step1.description",
|
|
61
|
+
step: "install",
|
|
62
|
+
title: "wallet_connectors.bitget.extension.step1.title"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
description: "wallet_connectors.bitget.extension.step2.description",
|
|
66
|
+
step: "create",
|
|
67
|
+
title: "wallet_connectors.bitget.extension.step2.title"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
description: "wallet_connectors.bitget.extension.step3.description",
|
|
71
|
+
step: "refresh",
|
|
72
|
+
title: "wallet_connectors.bitget.extension.step3.description"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
mobile: {
|
|
78
|
+
getUri: shouldUseWalletConnect ? getUri : void 0
|
|
79
|
+
},
|
|
80
|
+
qrCode: shouldUseWalletConnect ? {
|
|
81
|
+
getUri: async () => getWalletConnectUri(connector, walletConnectVersion),
|
|
82
|
+
instructions: {
|
|
83
|
+
learnMoreUrl: "https://web3.bitget.com/en/academy",
|
|
84
|
+
steps: [
|
|
85
|
+
{
|
|
86
|
+
description: "wallet_connectors.bitget.qr_code.step1.description",
|
|
87
|
+
step: "install",
|
|
88
|
+
title: "wallet_connectors.bitget.qr_code.step1.title"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
description: "wallet_connectors.bitget.qr_code.step2.description",
|
|
92
|
+
step: "create",
|
|
93
|
+
title: "wallet_connectors.bitget.qr_code.step2.title"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
description: "wallet_connectors.bitget.qr_code.step3.description",
|
|
97
|
+
step: "scan",
|
|
98
|
+
title: "wallet_connectors.bitget.qr_code.step3.title"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
} : void 0
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
var bitKeepWallet = bitgetWallet;
|
|
108
|
+
|
|
109
|
+
export {
|
|
110
|
+
bitgetWallet,
|
|
111
|
+
bitKeepWallet
|
|
112
|
+
};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getWalletConnectConnector,
|
|
4
|
+
getWalletConnectUri
|
|
5
|
+
} from "./chunk-6T5K52ZY.js";
|
|
6
|
+
import {
|
|
7
|
+
isAndroid
|
|
8
|
+
} from "./chunk-ZOLACFTK.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/okxWallet/okxWallet.ts
|
|
11
|
+
import { InjectedConnector } from "wagmi/connectors/injected";
|
|
12
|
+
var okxWallet = ({
|
|
13
|
+
chains,
|
|
14
|
+
projectId,
|
|
15
|
+
walletConnectOptions,
|
|
16
|
+
walletConnectVersion = "2",
|
|
17
|
+
...options
|
|
18
|
+
}) => {
|
|
19
|
+
const isOKXInjected = typeof window !== "undefined" && typeof window.okxwallet !== "undefined";
|
|
20
|
+
const shouldUseWalletConnect = !isOKXInjected;
|
|
21
|
+
return {
|
|
22
|
+
id: "okx",
|
|
23
|
+
name: "OKX Wallet",
|
|
24
|
+
iconUrl: async () => (await import("./okxWallet-GKYMI2XW.js")).default,
|
|
25
|
+
iconAccent: "#000",
|
|
26
|
+
iconBackground: "#000",
|
|
27
|
+
downloadUrls: {
|
|
28
|
+
android: "https://play.google.com/store/apps/details?id=com.okinc.okex.gp",
|
|
29
|
+
ios: "https://itunes.apple.com/app/id1327268470?mt=8",
|
|
30
|
+
mobile: "https://okx.com/download",
|
|
31
|
+
qrCode: "https://okx.com/download",
|
|
32
|
+
chrome: "https://chrome.google.com/webstore/detail/okx-wallet/mcohilncbfahbmgdjkbpemcciiolgcge",
|
|
33
|
+
edge: "https://microsoftedge.microsoft.com/addons/detail/okx-wallet/pbpjkcldjiffchgbbndmhojiacbgflha",
|
|
34
|
+
firefox: "https://addons.mozilla.org/firefox/addon/okexwallet/",
|
|
35
|
+
browserExtension: "https://okx.com/download"
|
|
36
|
+
},
|
|
37
|
+
createConnector: () => {
|
|
38
|
+
const connector = shouldUseWalletConnect ? getWalletConnectConnector({
|
|
39
|
+
projectId,
|
|
40
|
+
chains,
|
|
41
|
+
version: walletConnectVersion,
|
|
42
|
+
options: walletConnectOptions
|
|
43
|
+
}) : new InjectedConnector({
|
|
44
|
+
chains,
|
|
45
|
+
options: {
|
|
46
|
+
getProvider: () => window.okxwallet,
|
|
47
|
+
...options
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
return {
|
|
51
|
+
connector,
|
|
52
|
+
mobile: {
|
|
53
|
+
getUri: shouldUseWalletConnect ? async () => {
|
|
54
|
+
const uri = await getWalletConnectUri(
|
|
55
|
+
connector,
|
|
56
|
+
walletConnectVersion
|
|
57
|
+
);
|
|
58
|
+
return isAndroid() ? uri : `okex://main/wc?uri=${encodeURIComponent(uri)}`;
|
|
59
|
+
} : void 0
|
|
60
|
+
},
|
|
61
|
+
qrCode: shouldUseWalletConnect ? {
|
|
62
|
+
getUri: async () => getWalletConnectUri(connector, walletConnectVersion),
|
|
63
|
+
instructions: {
|
|
64
|
+
learnMoreUrl: "https://okx.com/web3/",
|
|
65
|
+
steps: [
|
|
66
|
+
{
|
|
67
|
+
description: "wallet_connectors.okx.qr_code.step1.description",
|
|
68
|
+
step: "install",
|
|
69
|
+
title: "wallet_connectors.okx.qr_code.step1.title"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
description: "wallet_connectors.okx.qr_code.step2.description",
|
|
73
|
+
step: "create",
|
|
74
|
+
title: "wallet_connectors.okx.qr_code.step2.title"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
description: "wallet_connectors.okx.qr_code.step3.description",
|
|
78
|
+
step: "scan",
|
|
79
|
+
title: "wallet_connectors.okx.qr_code.step3.title"
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
} : void 0,
|
|
84
|
+
extension: {
|
|
85
|
+
instructions: {
|
|
86
|
+
learnMoreUrl: "https://okx.com/web3/",
|
|
87
|
+
steps: [
|
|
88
|
+
{
|
|
89
|
+
description: "wallet_connectors.okx.extension.step1.description",
|
|
90
|
+
step: "install",
|
|
91
|
+
title: "wallet_connectors.okx.extension.step1.title"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
description: "wallet_connectors.okx.extension.step2.description",
|
|
95
|
+
step: "create",
|
|
96
|
+
title: "wallet_connectors.okx.extension.step2.title"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
description: "wallet_connectors.okx.extension.step3.description",
|
|
100
|
+
step: "refresh",
|
|
101
|
+
title: "wallet_connectors.okx.extension.step3.title"
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
export {
|
|
112
|
+
okxWallet
|
|
113
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getWalletConnectConnector,
|
|
4
|
+
getWalletConnectUri
|
|
5
|
+
} from "./chunk-6T5K52ZY.js";
|
|
6
|
+
import {
|
|
7
|
+
isAndroid
|
|
8
|
+
} from "./chunk-ZOLACFTK.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/ledgerWallet/ledgerWallet.ts
|
|
11
|
+
var ledgerWallet = ({
|
|
12
|
+
chains,
|
|
13
|
+
projectId,
|
|
14
|
+
walletConnectOptions,
|
|
15
|
+
walletConnectVersion = "2"
|
|
16
|
+
}) => ({
|
|
17
|
+
id: "ledger",
|
|
18
|
+
iconBackground: "#000",
|
|
19
|
+
iconAccent: "#000",
|
|
20
|
+
name: "Ledger",
|
|
21
|
+
iconUrl: async () => (await import("./ledgerWallet-DIS4VM6H.js")).default,
|
|
22
|
+
downloadUrls: {
|
|
23
|
+
android: "https://play.google.com/store/apps/details?id=com.ledger.live",
|
|
24
|
+
ios: "https://apps.apple.com/us/app/ledger-live-web3-wallet/id1361671700",
|
|
25
|
+
mobile: "https://www.ledger.com/ledger-live",
|
|
26
|
+
qrCode: "https://r354.adj.st/?adj_t=t2esmlk",
|
|
27
|
+
windows: "https://www.ledger.com/ledger-live/download",
|
|
28
|
+
macos: "https://www.ledger.com/ledger-live/download",
|
|
29
|
+
linux: "https://www.ledger.com/ledger-live/download",
|
|
30
|
+
desktop: "https://www.ledger.com/ledger-live"
|
|
31
|
+
},
|
|
32
|
+
createConnector: () => {
|
|
33
|
+
const connector = getWalletConnectConnector({
|
|
34
|
+
projectId,
|
|
35
|
+
chains,
|
|
36
|
+
version: walletConnectVersion,
|
|
37
|
+
options: walletConnectOptions
|
|
38
|
+
});
|
|
39
|
+
return {
|
|
40
|
+
connector,
|
|
41
|
+
mobile: {
|
|
42
|
+
getUri: async () => {
|
|
43
|
+
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
44
|
+
return isAndroid() ? uri : `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
desktop: {
|
|
48
|
+
getUri: async () => {
|
|
49
|
+
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
50
|
+
return `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
|
|
51
|
+
},
|
|
52
|
+
instructions: {
|
|
53
|
+
learnMoreUrl: "https://support.ledger.com/hc/en-us/articles/4404389503889-Getting-started-with-Ledger-Live",
|
|
54
|
+
steps: [
|
|
55
|
+
{
|
|
56
|
+
description: "wallet_connectors.ledger.desktop.step1.description",
|
|
57
|
+
step: "install",
|
|
58
|
+
title: "wallet_connectors.ledger.desktop.step1.title"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
description: "wallet_connectors.ledger.desktop.step2.description",
|
|
62
|
+
step: "create",
|
|
63
|
+
title: "wallet_connectors.ledger.desktop.step2.title"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
description: "wallet_connectors.ledger.desktop.step3.description",
|
|
67
|
+
step: "connect",
|
|
68
|
+
title: "wallet_connectors.ledger.desktop.step3.title"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
qrCode: {
|
|
74
|
+
getUri: async () => {
|
|
75
|
+
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
76
|
+
return `ledgerlive://wc?uri=${encodeURIComponent(uri)}`;
|
|
77
|
+
},
|
|
78
|
+
instructions: {
|
|
79
|
+
learnMoreUrl: "https://support.ledger.com/hc/en-us/articles/4404389503889-Getting-started-with-Ledger-Live",
|
|
80
|
+
steps: [
|
|
81
|
+
{
|
|
82
|
+
description: "wallet_connectors.ledger.qr_code.step1.description",
|
|
83
|
+
step: "install",
|
|
84
|
+
title: "wallet_connectors.ledger.qr_code.step1.title"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
description: "wallet_connectors.ledger.qr_code.step2.description",
|
|
88
|
+
step: "create",
|
|
89
|
+
title: "wallet_connectors.ledger.qr_code.step2.title"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
description: "wallet_connectors.ledger.qr_code.step3.description",
|
|
93
|
+
step: "scan",
|
|
94
|
+
title: "wallet_connectors.ledger.qr_code.step3.title"
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
export {
|
|
104
|
+
ledgerWallet
|
|
105
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
isAndroid
|
|
4
|
+
} from "./chunk-ZOLACFTK.js";
|
|
5
|
+
import {
|
|
6
|
+
getWalletConnectConnector,
|
|
7
|
+
getWalletConnectUri
|
|
8
|
+
} from "./chunk-6T5K52ZY.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/oktoWallet/oktoWallet.ts
|
|
11
|
+
var oktoWallet = ({
|
|
12
|
+
chains,
|
|
13
|
+
projectId,
|
|
14
|
+
walletConnectOptions,
|
|
15
|
+
walletConnectVersion = "2"
|
|
16
|
+
}) => ({
|
|
17
|
+
id: "Okto",
|
|
18
|
+
name: "Okto",
|
|
19
|
+
iconUrl: async () => (await import("./oktoWallet-3LTNTBG3.js")).default,
|
|
20
|
+
iconBackground: "#fff",
|
|
21
|
+
downloadUrls: {
|
|
22
|
+
android: "https://play.google.com/store/apps/details?id=im.okto.contractwalletclient",
|
|
23
|
+
ios: "https://apps.apple.com/in/app/okto-wallet/id6450688229",
|
|
24
|
+
mobile: "https://okto.tech/",
|
|
25
|
+
qrCode: "https://okto.tech/"
|
|
26
|
+
},
|
|
27
|
+
createConnector: () => {
|
|
28
|
+
const connector = getWalletConnectConnector({
|
|
29
|
+
projectId,
|
|
30
|
+
chains,
|
|
31
|
+
version: walletConnectVersion,
|
|
32
|
+
options: walletConnectOptions
|
|
33
|
+
});
|
|
34
|
+
return {
|
|
35
|
+
connector,
|
|
36
|
+
mobile: {
|
|
37
|
+
getUri: async () => {
|
|
38
|
+
const uri = await getWalletConnectUri(connector, walletConnectVersion);
|
|
39
|
+
return isAndroid() ? uri : `okto://wc?uri=${encodeURIComponent(uri)}`;
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
qrCode: {
|
|
43
|
+
getUri: async () => getWalletConnectUri(connector, walletConnectVersion),
|
|
44
|
+
instructions: {
|
|
45
|
+
learnMoreUrl: "https://okto.tech/",
|
|
46
|
+
steps: [
|
|
47
|
+
{
|
|
48
|
+
description: "wallet_connectors.okto.qr_code.step1.description",
|
|
49
|
+
step: "install",
|
|
50
|
+
title: "wallet_connectors.okto.qr_code.step1.title"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
description: "wallet_connectors.okto.qr_code.step2.description",
|
|
54
|
+
step: "create",
|
|
55
|
+
title: "wallet_connectors.okto.qr_code.step2.title"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
description: "wallet_connectors.okto.qr_code.step3.description",
|
|
59
|
+
step: "scan",
|
|
60
|
+
title: "wallet_connectors.okto.qr_code.step3.title"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
export {
|
|
70
|
+
oktoWallet
|
|
71
|
+
};
|