0 and 1, while EVM smart account validation expects 27 and 28. Always adapt a Para viem account with wrapParaAccount.
For Solana, see the common authority recipe and remote signer requirements. This guide covers Ethereum signers, not a new vendor Solana integration; Ed25519 wallets are not supported Swig authorities.
Prerequisites
- A Para project and API key
- A React application
- A backend that issues short-lived Rhinestone JWTs
1
Install the dependencies
These examples target SDK 3.0.0, which is not released yet. The install command
below requires its publication; the current v2 package does not support these APIs.
2
Configure Para
3
Configure browser authentication
The Para client credential identifies your Para application. It does not replace Rhinestone authentication. Keep See security for secure token issuance.
RHINESTONE_API_KEY on your server and give the browser short-lived JWTs:4
Wrap the Para account
Get the authenticated viem account and wallet ID from Para. Pass both to
wrapParaAccount, then use the result as the ECDSA owner.