This PR implements mvp/alpha version of the Co-Signer session permission endpoint according to the draft API spec.
The simplified (mvp/testing) version of Co-Signer performs the following operations:
Verifying the user signature in the UserOperation according to the ERC-4337.
Pull the signing key for the PCI and make a signature of the UserOperation.
Concat the PCI signature and user signature then update the signature in the UserOperation.
Send the UserOperation to the bundler and return the operation receipt.
How Has This Been Tested?
Manually tested, integration test TBD as a follow-up since the initiator should sponsor the transaction for the bundler and I'm still figuring out how to do this best.
Description
This PR implements mvp/alpha version of the Co-Signer session permission endpoint according to the draft API spec.
The simplified (mvp/testing) version of Co-Signer performs the following operations:
How Has This Been Tested?
Due Diligence