Wallet Adapters
Overview

Wallet Adapters

wankmi ships built-in adapters for the three most popular Solana wallets. Adapters are automatically detected — if a user has a supported wallet installed, it will be picked up by WankmiProvider.

AdapterBrowser ExtensionMobile
Phantom
Backpack
Solflare

How detection works

WankmiProvider checks window.solana, window.backpack, and window.solflare on mount. The first detected wallet becomes the active adapter. If no wallet is found, useWallet returns connected: false and publicKey: null.

Custom adapters

Custom adapter support is planned for a future release. In the meantime, you can open an issue or PR on GitHub (opens in a new tab) to request an adapter.