Let's create NetworkSigner for signing. Note the EphAuth is used to avoid user interaction when generating the signatures.
const authModule = new EphAuth(accountsFromBrowserWallet[0], ephSK!);
// Create a new signer instance
const sdk = new NetworkSigner(wpClient, threshold, partiesNumber, authModule);
Note that the network expects the sign request in the exact format as specified above.
The network expects a user operation, the entry point version, the entry point address and the chainID - without any of which the network will return an error.
The contains the signature sign and the recovery ID recid.