From cfbe900f068fef7a57cc0038fca4715713d07586 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Fri, 2 Jan 2026 17:08:00 +0100 Subject: [PATCH] Create task task-062 --- ...ount-Abstraction-(ERC-4337)-Exploration.md | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 backlog/tasks/task-062 - Account-Abstraction-(ERC-4337)-Exploration.md diff --git a/backlog/tasks/task-062 - Account-Abstraction-(ERC-4337)-Exploration.md b/backlog/tasks/task-062 - Account-Abstraction-(ERC-4337)-Exploration.md new file mode 100644 index 0000000..a8d8a3d --- /dev/null +++ b/backlog/tasks/task-062 - Account-Abstraction-(ERC-4337)-Exploration.md @@ -0,0 +1,72 @@ +--- +id: task-062 +title: Account Abstraction (ERC-4337) Exploration +status: To Do +assignee: [] +created_date: '2026-01-02 16:08' +labels: + - research + - web3 + - account-abstraction + - erc-4337 +dependencies: + - task-007 +priority: low +--- + +## Description + + +Research and prototype using ERC-4337 Account Abstraction to enable CryptID's P-256 keys to directly control smart contract wallets. + +## Overview +Explore the possibility of using Account Abstraction (ERC-4337) to bridge CryptID's WebCrypto P-256 keys with Ethereum transactions. This would eliminate the need for wallet linking by allowing CryptID keys to directly sign UserOperations that control a smart wallet. + +## Background +- CryptID uses ECDSA P-256 (NIST curve) via WebCrypto API +- Ethereum uses ECDSA secp256k1 +- These curves are incompatible for direct signing +- ERC-4337 allows any signature scheme via custom validation logic + +## Research Questions +1. Is P-256 signature verification gas-efficient on-chain? +2. What existing implementations exist? (Clave, Daimo) +3. What are the wallet deployment costs per user? +4. How do we handle gas sponsorship (paymaster)? +5. Which bundler/paymaster providers support this? + +## Potential Benefits +- Single key for auth AND transactions +- Gasless transactions via paymaster +- Social recovery using CryptID email +- No MetaMask/wallet app needed +- True passwordless Web3 + +## Risks & Challenges +- Complex implementation +- Gas costs for P-256 verification (~100k gas) +- Not all L2s support ERC-4337 yet +- User education on new paradigm + +## Providers to Evaluate +- Pimlico (bundler + paymaster) +- Alchemy Account Kit +- Stackup +- Biconomy + +## References +- ERC-4337 Spec: https://eips.ethereum.org/EIPS/eip-4337 +- Clave (P-256 wallet): https://getclave.io/ +- Daimo (P-256 wallet): https://daimo.com/ +- viem Account Abstraction: https://viem.sh/account-abstraction + + +## Acceptance Criteria + +- [ ] #1 Research P-256 on-chain verification gas costs +- [ ] #2 Evaluate existing P-256 wallet implementations (Clave, Daimo) +- [ ] #3 Prototype UserOperation signing with CryptID keys +- [ ] #4 Evaluate bundler/paymaster providers +- [ ] #5 Document architecture proposal if viable +- [ ] #6 Estimate implementation timeline and costs +