How it Works
Restaking, Chain & Account Abstraction, Intents, and AI Agents
Wallchain is an app built on Account Abstraction that eliminates away the complexity of Defi actions and manual signatures, enabling a one-click user experience.
To all that, it doesn’t require users to know about account abstraction.
Wallchain Design Schema
Wallchain Deposit Flow Steps
Account Setup
The user connects their Externally Owned Account (EOA) to the app. An Account Abstraction (AA) address is then generated for the user. This address is a smart contract that can be used to interact with the blockchain.
Account Abstraction Deployment
A dedicated Account Abstraction smart contract is deployed right before the first transaction. Only the user has control over this account. Neither Wallchain nor anyone else has access to it. Our app uses ZeroDev Kernel implementation of AA wallet. It’s the most used implementation of ERC-4773 backed by numerous audits.
Initial Transfer
Token approval for the dedicated Account Abstraction smart wallet must be granted to enable deposits.
Setup Automations
To set up automation, the user must sign permissions, which are called session keys. It is a programmable subkey, enabling Wallchain to automatically deposit and withdraw from pre-approved protocols. The session key is easily revocable and provides fine-grained, highly strict control over what it allows Wallchain to do. A complete list of permissions granted to Wallchain can be found in a JSON-based file in our repo.
Deposits, Withdrawals, Rebalancing
These actions happen automatically, thanks to AA’s session keys. They also enable automated bridging to L2s, using performant strategies on these L2s, rewards claim, and bridging back. All of this is achieved while maintaining self-custody.