Skip to main content
Cloak works with the wallet your users already have. This page explains what Cloak asks a wallet to do, so you can tell whether a given wallet architecture fits, and links to the guide for each one.

Three kinds of wallet

What matters is what the wallet can sign, not who hosts the key. Cloak needs two capabilities, and a wallet can have one without the other.

What Cloak asks a wallet to sign

With createCloak, a wallet signs at most two kinds of thing: The account is derived from the signature, so a wallet must produce the same signature for the same message every time. A standard ed25519 key does. Passkey wallets, ERC-1271 contract signatures and some MPC schemes do not, and createCloak refuses them unless you opt into a stored account key. The SDK never calls signAllTransactions or a wallet’s send method. It submits every transaction itself through your RPC.
The low-level API signs differently. With transact, transfer, partialWithdraw and the swap helpers, the user’s wallet authenticates every submitted request with a message signature, so a send prompts the wallet once per submitted request. Keys come from a seed you store, not from a wallet signature. See Solana wallet adapter and Request authentication.

Who pays fees

Deposits can be sponsored with the low-level API’s externalFeePayer option. See Custom signers. Wallet-provider gas sponsorship that only works through the provider’s own sign-and-send call does not apply, because the SDK submits transactions itself.

Pick your guide

Phantom and Wallet Standard

Phantom, Solflare, Backpack and every wallet that registers through Wallet Standard.

Solana wallet adapter

@solana/wallet-adapter-react with createCloak, and the full low-level wiring.

Privy

Embedded Solana wallets created at login, plus external wallets connected through Privy.

Smart wallets

Squads, Swig, passkeys and ERC-4337 accounts: what works and what does not.

EVM wallets

Shield from Base and Polygon with MetaMask, Rabby, Coinbase Wallet or viem.

Hardware wallets

Ledger and Trezor, which sign transactions but not arbitrary messages.

Custom signers

Server keys, Privy server wallets, KMS signers and sponsored deposits.

Compatibility at a glance

recognizeWallet(input) tells you how the SDK sees a wallet before you open an account with it.