Options
All
  • Public
  • Public/Protected
  • All
Menu

BaseWalletAdapter is an interface.

Hierarchy

  • BaseWalletAdapter

Implemented by

Index

Properties

adapterStyle: AdapterStyle

Adapter style

chainType: ChainType

Type of chain

displayName: string

Adapter display name

downloadUrl: string

Adapter download url

injectedProvider: any

Injected Provider is loaded when document object is ready.

name: string

Adapter name

url: string

Adapter url

Methods

  • connectWallet(): Promise<string>
  • The function to connect wallet.

    Returns Promise<string>

  • disconnectWallet(): Promise<void>
  • The function to disconnect from current wallet software.

    Returns Promise<void>

  • getWalletAddress(): Promise<string>
  • The function to get current wallet address.

    Returns Promise<string>

  • isConnected(): Promise<boolean>
  • The function to detect whether user connected to the current wallet software or not.

    Returns Promise<boolean>

  • isInstalled(): boolean
  • The function to detect whether the wallet software is installed or not.

    Returns boolean

  • sign(message: string): Promise<string>
  • The function to sign message, return a signature in string format.

    Parameters

    • message: string

    Returns Promise<string>

Generated using TypeDoc