Leo Wallet Docs
Home
  • Wallet Adapter for Aleo Apps
  • packages
    • ui
      • docs
        • functions
          • useWalletModal
        • interfaces
          • WalletIconProps
          • WalletModalContextState
          • WalletModalProps
          • WalletModalProviderProps
        • variables
          • WalletConnectButton
          • WalletDisconnectButton
          • WalletIcon
          • WalletModal
          • WalletModalButton
          • WalletModalContext
          • WalletModalProvider
          • WalletMultiButton
    • core
      • base
        • docs
          • classes
            • BaseMessageSignerWalletAdapter
            • BaseSignerWalletAdapter
            • BaseWalletAdapter
            • Deployment
            • EventEmitter
            • Transaction
            • Transition
            • WalletAccountError
            • WalletConfigError
            • WalletConnectionError
            • WalletDecryptionError
            • WalletDecryptionNotAllowedError
            • WalletDisconnectedError
            • WalletDisconnectionError
            • WalletError
            • WalletKeypairError
            • WalletLoadError
            • WalletNotConnectedError
            • WalletNotReadyError
            • WalletNotSelectedError
            • WalletPublicKeyError
            • WalletRecordsError
            • WalletSendTransactionError
            • WalletSignMessageError
            • WalletSignTransactionError
            • WalletTimeoutError
            • WalletTransactionError
            • WalletWindowBlockedError
            • WalletWindowClosedError
          • enumerations
            • DecryptPermission
            • WalletAdapterNetwork
            • WalletReadyState
          • functions
            • scopePollingDetectionStrategy
          • interfaces
            • AleoDeployment
            • AleoTransaction
            • AleoTransition
            • MessageSignerWalletAdapterProps
            • SignerWalletAdapterProps
            • WalletAdapterEvents
            • WalletAdapterProps
          • type-aliases
            • Adapter
            • MessageSignerWalletAdapter
            • SignerWalletAdapter
            • SupportedTransactionVersions
            • TransactionOrVersionedTransaction
            • WalletAdapter
            • WalletName
          • @demox-labs
            • namespaces
              • EventEmitter
                • interfaces
                  • EventEmitterStatic
                  • ListenerFn
                • type-aliases
                  • ArgumentMap
                  • EventArgs
                  • EventListener
                  • EventNames
                  • ValidEventTypes
                • variables
                  • EventEmitter
      • react
        • docs
          • functions
            • useLocalStorage
            • useWallet
          • interfaces
            • Wallet
            • WalletContextState
            • WalletProviderProps
          • variables
            • WalletContext
            • WalletProvider
    • wallets
      • leo
        • docs
          • classes
            • LeoWalletAdapter
          • interfaces
            • LeoWallet
            • LeoWalletAdapterConfig
            • LeoWalletEvents
            • LeoWindow
          • variables
            • LeoWalletName
Powered by GitBook
On this page
  • Enumeration: WalletReadyState
  • Enumeration Members

Was this helpful?

  1. packages
  2. core
  3. base
  4. docs
  5. enumerations

WalletReadyState

@demox-labs/aleo-wallet-adapter-base


@demox-labs/aleo-wallet-adapter-base / WalletReadyState

Enumeration: WalletReadyState

Defined in: aleo-wallet-adapter/packages/core/base/adapter.ts:43

A wallet's readiness describes a series of states that the wallet can be in, depending on what kind of wallet it is. An installable wallet (eg. a browser extension like Phantom) might be Installed if we've found the Phantom API in the global scope, or NotDetected otherwise. A loadable, zero-install runtime (eg. Torus Wallet) might simply signal that it's Loadable. Use this metadata to personalize the wallet list for each user (eg. to show their installed wallets first).

Enumeration Members

Installed

Installed: "Installed"

Defined in: aleo-wallet-adapter/packages/core/base/adapter.ts:49

User-installable wallets can typically be detected by scanning for an API that they've injected into the global context. If such an API is present, we consider the wallet to have been installed.


Loadable

Loadable: "Loadable"

Defined in: aleo-wallet-adapter/packages/core/base/adapter.ts:55

Loadable wallets are always available to you. Since you can load them at any time, it's meaningless to say that they have been detected.


NotDetected

NotDetected: "NotDetected"

Defined in: aleo-wallet-adapter/packages/core/base/adapter.ts:50


Unsupported

Unsupported: "Unsupported"

Defined in: aleo-wallet-adapter/packages/core/base/adapter.ts:60

If a wallet is not supported on a given platform (eg. server-rendering, or mobile) then it will stay in the Unsupported state.

PreviousWalletAdapterNetworkNextfunctions

Last updated 1 month ago

Was this helpful?