EOA + EIP-7702
EOA + EIP-7702
The wallet=7702 mode allows users with an existing Externally Owned Account (EOA) — from MetaMask, WalletConnect, etc. — to upgrade it to a Smart Account using EIP-7702 delegation.
How It Works
EIP-7702 introduces a new transaction type that allows an EOA to delegate its execution to a smart contract implementation. In IBEx's case, the EOA delegates to SafeEIP7702Proxy, gaining all Safe Smart Account features (gas sponsorship, batch operations, recovery, etc.) while keeping the same address.
Sign-Up Flow
Step 1: Get Challenge
Required parameters:
wallet=7702— selects EOA+7702 modeaddress— the EOA address (0x-prefixed, 42 chars)chainId(optional) — target chain ID (defaults to project chain)
Response: A SIWE-like challenge message to sign:
Step 2: Sign and Submit
Response: JWT tokens + delegation details:
Step 3: Broadcast EIP-7702 Authorization
The client must broadcast an EIP-7702 authorization transaction on-chain to activate the delegation. IBEx can sponsor this transaction through its proxy.
Sign-In Flow
Key Differences from Other Modes
| Feature | Passkeys | KDF | 7702 | |
|---|---|---|---|---|
| Signer type | WebAuthn P-256 | Argon2id-derived | Generated keypair | Existing EOA |
| Smart Account | New Safe | New Safe | New Safe | Same address |
| Requires wallet | No | No | No | Yes (MetaMask, etc.) |
| Gas sponsorship | ✅ | ✅ | ✅ | ✅ |
| On-chain tx needed | No (counterfactual) | No | No | Yes (7702 auth) |
Security Considerations
- The EOA private key remains with the user — IBEx never has access to it
- The delegation can be revoked by the user at any time
- The Safe proxy implementation is audited and battle-tested
- Multi-chain: the delegation must be set up per chain