RFP Title:
Passkey on L1 enabler: P-256/secp256r1 Signature Verification via Cartesi Coprocessor
Wave 2 Intent:
Intent 5: Grow the Cartesi ecosystem
Overview:
The adoption of passkeys and other cryptographic technologies leveraging the secp256r1 (also known as P-256) curve has grown significantly due to its strong security properties and widespread industry adoption. Verifying secp256r1 signatures on-chain, particularly within the Ethereum ecosystem, remains computationally expensive and resource-intensive.
This RFP seeks a solution that leverages the Cartesi Coprocessor to offload these cryptographic operations, verify them efficiently, and store the results in a Merkle tree for easy use on-chain. Successful and unsuccessful verifications should be tracked within this tree. This innovation has the ability to enable cost-effective cryptographic operations at scale while seamlessly integrating with Ethereum.
This also provides a potential flow of coprocessor executions that bring direct end user value.
Solution:
The proposed solution must:
- Implement secp256r1 signature verification and message hash validation on the Cartesi coprocessor.
- Integrate the verification results into a Merkle tree structure, marking nodes as successful or unsuccessful based on the verification outcome and settling a Merkle root to L1.
- Provide a mechanism on-chain to submit and verify proofs of Merkle tree nodes on the Ethereum blockchain.
- Ensure compatibility with Ethereum standards for interoperability (e.g., EVM-compliant proof submission) and re-use of existing proven smart contract libraries.
- Optimize for performance, scalability, and cost-efficiency, leveraging Cartesi’s coprocessor to minimize gas costs for on-chain interactions.
- Demonstrate a working flow of batched passkey verifications using the final solution on Ethereum mainnet with Cartesi Coprocessor at less gas cost for verifying 100 passkey signatures than EVM based verifiers seen on What is RIP-7212? Precompile for secp256r1 Curve Support
Team Qualifications:
The ideal team should possess:
- Understanding cryptographic algorithms, specifically ECC (Elliptic Curve Cryptography) and secp256r1 and why passkeys are useful for user interactions.
- Mid-level knowledge of the Cartesi ecosystem, including the coprocessor.
- Proven experience with Ethereum smart contract development and Merkle tree structures.
- Familiarity with passkey technology and its associated cryptographic standards.
- Strong programming skills in languages relevant to Cartesi’s environment (Rust or C++).
Watch more about the Cartesi Coprocessor here.