Internalapi

The mavlet client is an abstract client that handles everything that is shared between all other clients. Specifically, it handles managing the mavletId and and the local keypair.

Hierarchy

Constructors

Properties

_keyPair: ExposedPromise<KeyPair, unknown> = ...

The local keypair that is used for the communication encryption

_mavletId: ExposedPromise<string, unknown> = ...

The mavletId is a public key that is used to identify one specific application (dapp or wallet). This is used inside a message to specify the sender, for example.

appUrl?: string

The URL of the dApp.

iconUrl?: string

The URL of the dApp Icon. This can be used to display the icon of the dApp on in the wallet

name: string

The name of the client

storage: Storage

Accessors

Methods

Generated using TypeDoc