Hierarchy

  • StellarWalletsKit

Constructors

Properties

WCActiveSession?: string
WCSignClient?: ISignClientExtended
network: WalletNetwork
selectedWallet: WalletType

Methods

  • Parameters

    • sessionId: string
    • Optional reason: string

    Returns Promise<void>

  • Parameters

    • cb: ((sessionId: string) => void)
        • (sessionId: string): void
        • Parameters

          • sessionId: string

          Returns void

    Returns void

  • Allows manually setting the current active session to be used in the kit when doing WalletConnect requests

    Parameters

    • sessionId: string

      The session ID is a placeholder for the session "topic", term used in WalletConnect

    Returns void

  • Parameters

    • params: {
          chain?: WalletConnectTargetChain;
          method?: WalletConnectAllowedMethods;
          xdr: string;
      }
      • Optional chain?: WalletConnectTargetChain
      • Optional method?: WalletConnectAllowedMethods
      • xdr: string

    Returns Promise<{
        signedXDR: string;
    }>

  • Parameters

    • params: {
          description: string;
          icons: string[];
          name: string;
          projectId: string;
          url: string;
      }
      • description: string
      • icons: string[]
      • name: string
      • projectId: string
      • url: string

    Returns Promise<void>

  • This method will return an array with all wallets supported by this kit but will let you know those the user have already installed/has access to There are wallets that are by default available since they either don't need to be installed or have a fallback

    Returns ISupportedWallet[]

Generated using TypeDoc