TConnectTezosBeaconProvider
Configure and Use TConnectTezosBeaconProvider
The TConnectTezosBeaconProvider
class is a provider implementation designed to connect Tezos wallets via Beacon. 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 TConnectTezosBeaconProviderOptions
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 TezosBeaconWalletApp
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 TConnectTezosBeaconProvider
Last updated