Configure the account
Pass the same viem account as the ECDSA owner and aseoa. The account must implement signAuthorization in addition to the normal message and typed-data signing methods.
eoa account object passed to createAccount must itself implement signAuthorization; access to an authorization method elsewhere on the provider is not enough.
Sign the required data
Sign initialization data before preparing the intent. NormalsignTransaction then collects the required EIP-7702 delegation proofs alongside the intent proofs:
1
Sign the account initialization
2
Prepare and sign the intent
transaction uses the v3 destination and singular source input described in Send a transaction. Delivery requires a source; user-paid execution needs a selected fee token. Only sufficiently sponsored no-delivery execution can omit the source.3
Submit the signed transaction
authorizations option. For independent owner approval, collect indexed delegation contributions with signAuthorizations(prepared) and pass them to assembleTransaction as shown in Custom signing.Limitations
- The EOA remains a root authority. Compromise or loss of its key cannot be repaired by rotating only a module owner.
- Do not treat a module threshold as removing the EOA’s authority.
- Wallet support varies. Use EIP-7702 only when the signer exposes authorization signing and allows the intended delegation.