Account Abstraction Functionality

Account abstraction in Leviathan allows users to perform transactions on Cardano in a manner that abstracts away the complexities of direct wallet management. It unburdens the user from the current paradigm whereby every action necessitates a separate transaction to be signed at the time of execution for any action. This is achieved through an abstraction layer that treats all user accounts as smart contracts, capable of programmatically managing transactions based on predefined user intents. Account abstraction is not merely a user experience improvement or tool to enable more composable DeFi, but is also a prerequisite and foundational building block that enables Leviathan to operate. Due to the nature of how Leviathan builds a transaction chain via guaranteed transactions, which will later be settled on the main chain, it must always be able to rebuild valid transaction chains for later settlement. Automated, endogenous transaction execution by Leviathan enabled by account abstraction is what enables the system to build and rebuild valid transaction chains.

Core Components

  • Smart Contract-Driven Accounts: Each account operates like a smart contract, executing transactions based on the logic defined within the account's smart contract code.

  • User Intents and Signatures: Users express their transactional intents through signatures, which are then interpreted by these smart contracts to initiate and manage transactions autonomously.

  • Sequencer Interaction: The account abstraction layer interacts with the sequencer network to ensure that transactions are executed according to the ledger's deterministic rules, without requiring direct user action once the intent is signed.

Last updated