Supported wallets
The required interface
The SDK expects asignAuthEntries(entries: xdr.SorobanAuthorizationEntry[]): Promise<xdr.SorobanAuthorizationEntry[]> method on the wallet adapter. In-browser wallets typically expose it on window.<wallet>; SDK adapters wrap it in a common shape.
Detecting a wallet
Signing raw transactions (not enough)
A wallet that can only sign a whole transaction envelope cannot be used with x402. The scoped auth signature is the security property that keeps the facilitator from altering the amount or destination; giving up scope defeats the point.Adding a new wallet
- Implement the adapter interface.
- PR it to
@stellarx402/wallets. - Include a Playwright test that goes end-to-end through the buyer quickstart.