0 and 1, while EVM smart account validation expects 27 and 28. Always adapt a Para viem account with wrapParaAccount.
Prerequisites
- A Para project and API key
- A React application
- A backend that issues short-lived Rhinestone JWTs
1
Install the dependencies
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.