Interface for web sdk exclusive methods

Hierarchy (view full)

Implements

Constructors

Properties

chainId: string = ""
connected: boolean = false
name: string = ""
provider: INetworkProvider
rpc_url: string = ""
signer: any = null
wallet: UserSigner | ExtensionProvider

Methods

  • Connect a Multiversx wallet. Pass the keyFile JSON string as the privateKey and its password to override the De-Fi wallet prompt.

    Parameters

    • OptionalprivateKey: string
    • Optionaloptions: {
          password: string;
      }
      • password: string

    Returns Promise<UserSigner | ExtensionProvider>