Optional
keysRegistry: YlideKeysRegistryReference to YlideKeysRegistry instance
Optional
indexerBlockchains: string[]Array of blockchains that should be firstly read from Indexer. Omit if you want to use defaults
Private
_blockchainPrivate
_blockchainPrivate
_isPrivate
_walletReadonly
authReadonly
controllersReadonly
coreReadonly
keysReadonly
mailboxGetter of blockchain to blockchain group map. Like "ETHEREUM" -> "evm", "GNOSIS" => "evm"
Method to get registered blockchain controllers
const ethereumChains = ylide.blockchainsList.filter(t => t.blockchain === 'ethereum');
This method is used to check if SDK is verbose.
Getter for the registered wallet controllers
const evmWallets = ylide.walletsList.filter(t => t.blockchainGroup === 'evm');
Method to add all available crypto-wallets and blockchains of the certain connector in Ylide.
Connector scope got from the corresponding library, e.g. evm/tvm
Method to get a list of registered blockchain controllers
const availableBlockchains = await ylide.getAvailableBlockchains();
Method to get a list of registered wallet controllers that are available in the user's browser (wallets installed)
const availableWallets = await ylide.getAvailableWallets();
Method to get blockchain controller factory for a certain blockchain
Name of blockchain
Method to get wallet controller factory for a certain blockchain group and wallet type
Name of the blockchain group
Name of in-browser wallet
Method to instantiate blockchain controller
const blockchainController = await ylide.instantiateBlockchain('everscale');
const isMyAddressValid = blockchainController.isAddressValid('0:81f452f5aec2263ab10116f7108a20209d5051081bb3caed34f139f976a0e279');
Optional
options: anyMethod to instantiate wallet controller
const wallet = await ylide.instantiateWallet('everscale', 'everwallet');
const account = await wallet.getAuthenticatedAccount();
Optional
options: anyMethod to check availability of a certain blockchain connector
ylide.isBlockchainRegistered('everscale'); // return true if `ylide.registerBlockchain` was called with this blockchain controller factory before
Name of blockchain you want to check
Method to check availability of a certain blockchain for sending messages
ylide.isWalletRegistered('everscale', 'everwallet'); // return true if `Ylide.registerWallet` was called with this wallet factory before
Name of blockchain you want to check
Use this method to register certain blockchain connector in Ylide.
import { everscaleBlockchainFactory } from '@ylide/everscale';
ylide.registerBlockchain(everscaleBlockchainFactory);
Blockchain controller factory which you want to register
Use this method to register certain crypto-wallet connector in Ylide.
import { everscaleWalletFactory } from '@ylide/everscale';
ylide.registerWallet(everscaleWalletFactory);
Wallet controller factory which you want to register
Private
verboseGenerated using TypeDoc
Description
It's a singleton entry point to all interactions with Ylide SDK
Example