Installation
Install the required packages:Connecting ZeroDev to a Para Signer
Create a custom sign message function
When working with Para MPC and AA providers, we need a function to handle the V value in signatures so that transactions can be validated correctly. This is due to the way Para handles signatures in its multi-party computation (MPC) setup. Below is the implementation of the
customSignMessage function:Set up ZeroDev paymaster and kernel client
Create the paymaster and kernel client to handle transactions:
For more information on setting up RPCs and managing your ZeroDev project, refer to the ZeroDev documentation.
The examples above assume that you have already initialized the Para object and created a wallet. For more details on Para initialization, refer to the Para SDK documentation.
