TConnectTezosWcProvider
Configure and Use TConnectTezosWcProvider
The TConnectTezosWcProvider
class is a provider implementation designed to connect Tezos wallets via WalletConnect. It requires specific configuration options to be passed to its constructor during instantiation. Note that the bridgeUrl
parameter must always be set to "https://tconnect.io"
, as this is the hosted location of the bridge.
Here’s the full definition of the TConnectTezosWcProviderOptions
interface:
Understanding the walletApp
Parameter
walletApp
ParameterThe walletApp
parameter is optional and specifies the wallet application the user intends to connect to. This parameter uses the TezosWcWalletApp
type, which represents supported Tezos wallet applications. Providing this parameter allows the provider to optimize and streamline the connection process for the specified wallet.
If the walletApp
parameter is omitted, the provider will attempt to connect to any available wallet. In such cases, the connection can established via a connection string provided by the bridge. (See more details here.)
Example of Initializing the TConnectTezosWcProvider
Last updated