The SDK uses wallet adapters to request signatures and transactions. Select the adapter for the source chain and wallet environment. Use the installed package’s declarations for adapter configuration. Keep server-held keys outside browser code and repositories.

Identity checks

Check the connected account against the quote’s sourceAccount. Check the chain identifier before signing an EVM transaction. Check the Solana cluster identity and configured programs before signing a Solana message. Different local chains can reuse the same numeric identifier. Use chain-instance checks where the adapter supports them.

Solana signatures

The selected execution mechanism determines whether the wallet signs a message or transaction. Preserve the quoted bytes and signer order. Validate any wallet-returned transaction before extracting or forwarding its signature. Do not accept added instructions or a changed fee payer. Wallet-paid plans require support for their declared transaction format. Check wallet capability before presenting an executable route.