Fuelet | Wallet on Fuel
  • Introduction
  • Intergration guide
    • Intro
    • Detecting wallet presence
    • Selecting Fuelet as a connector
    • Best practice
    • Audit and Security Assurance
  • Wallet API
    • Intro
    • Connecting
    • Getting current account
    • Getting current network
    • Signing messages
    • Sending transactions
    • Events
  • Resources
    • Media Kit
Powered by GitBook
On this page
  • Listing all available connectors
  • Checking the currently selected connector
  • Changing the connector
  1. Intergration guide

Selecting Fuelet as a connector

Last updated 1 year ago

Fuel SDK operates with entities called . Each connector is a wallet application which implements the SDK interfaces. All needed connectors should be registered in the fuel object.

So, in order to interact with a specific wallet, you need to select the corresponding connector first.

Listing all available connectors

const connectors = await fuel.connectors();
console.log("available connectors", connectors);

Checking the currently selected connector

const currentConnector = fuel.currentConnector();
console.log("selected connector", currentConnector);

Changing the connector

const isSelected = await fuel.selectConnector("Fuelet Wallet");
console.log("isSelected", isSelected);

After selecting the “Fuelet Wallet” connector, you can start communicating with Fuelet app.

The communication is identical to the official Fuel wallet. The only thing you need to do to switch wallets is to select an appropriate connector. See the Fuel wallet API documentation .

connectors
here