Class WalletService

Hierarchy

Index

Constructors

constructor

Properties

Readonly wallet$

wallet$: ObjectSubject<Wallet, "address" | "providerType"> = new ObjectSubject<Wallet>()

Readonly walletAddress$

walletAddress$: Observable<string>

Accessors

etherWallet

  • get etherWallet(): Partial<EtherWallet>
  • Returns Partial<EtherWallet>

wallet

walletAddress

  • get walletAddress(): string
  • Returns string

walletProvider

Methods

destroy

  • destroy(): void

init

signMessage

  • signMessage(message: BytesLike): Promise<string>
  • Parameters

    • message: BytesLike

    Returns Promise<string>