Detecting wallet presence
To begin integrating with Fuelet Wallet, you first need to install the packages @fuel-wallet/sdk
and fuels
.
npm install @fuel-wallet/sdk fuels
With these dependencies installed you're able to create a Fuel
object to interact with any supported wallet on Fuel:
To detect that Fuelet wallet is installed you need to specify FueletWalletConnector
when creating an instance of Fuel
and then check the status of the needed connector:
See more on SDK documentation page.
Last updated