Version: 0.15.0

Module: wallets/TLWallet

Index#

Interfaces#

Variables#

Functions#

Variables#

DEFAULT_DERIVATION_PATH#

• Const DEFAULT_DERIVATION_PATH: "m/44'/60'/0'/0/0" = `m/44'/60'/0'/0/0`

Defined in src/wallets/TLWallet.ts:36


EXPECTED_VERSIONS#

• Const EXPECTED_VERSIONS: number[] = [1]

Defined in src/wallets/TLWallet.ts:35


TL_WALLET_VERSION#

• Const TL_WALLET_VERSION: 1 = 1

Defined in src/wallets/TLWallet.ts:32


WALLET_TYPE_ETHERS#

• Const WALLET_TYPE_ETHERS: "ethers" = "ethers"

Defined in src/wallets/TLWallet.ts:33


WALLET_TYPE_IDENTITY#

• Const WALLET_TYPE_IDENTITY: "identity" = "identity"

Defined in src/wallets/TLWallet.ts:34

Functions#

verifyWalletData#

â–¸ verifyWalletData(walletData: TLWalletData, walletType: string, expectedVersions: number[]): void

Defined in src/wallets/TLWallet.ts:44

Checks if type and version of given wallet data are supported.

Parameters:#

NameTypeDescription
walletDataTLWalletDataWallet data to check.
walletTypestringExpected wallet type.
expectedVersionsnumber[]Expected wallet versions.

Returns: void