We have outlined the step-by-step process required to utilize Mitum's account abstraction functionality. From DID registration to user operation creation and signing, the guide explains each step in detail and provides key methods needed for implementation, making it easy for developers to follow.
Preliminary Step 1 - DID Registry Operations
Registering DID Registry Contract Model
Creating a DID
Retrieving DID Document
Updating DID Document
Preliminary Step 2 - Fee Proxy Operations
Registering Recipient in proxy_payer Contract
contract.updateRecipient()
Account Abstraction Operations - User Operation Workflow
Creating a User Operation
Adding Alternate Signatures
<UserOperation>.addAlterSign()
Adding Settlement
<UserOperation>.setSettlement()
Adding ProxyPayer (Optional)
<UserOperation>.setProxyPayer()
Note: There is no fixed order for adding alternate signatures, adding settlement, or adding ProxyPayer after creating a user operation. However, adding alternate signatures and adding settlement must be completed before adding the sender's signature.
Adding signature of op_sender