Phantom
Phantom (opens in a new tab) is the most popular Solana wallet. It is supported on Chrome, Firefox, Brave, Edge, iOS, and Android.
Detection
The Phantom adapter detects the wallet via window.solana.isPhantom.
Supported methods
| Method | Supported |
|---|---|
connect | ✅ |
disconnect | ✅ |
signTransaction | ✅ |
signAllTransactions | ✅ |
signMessage | ✅ |
Usage
No extra configuration is needed. If the user has Phantom installed, it will be detected automatically:
<WankmiProvider endpoint="https://api.mainnet-beta.solana.com">
<App />
</WankmiProvider>If the user has both Phantom and another wallet installed, the first detected adapter wins. Custom adapter priority configuration is planned for a future release.