How it works
Last updated
Last updated
© 2024 Lamina Labs. All Rights Reserved
The flow of the intent-based transaction system involves several components, from users to decentralized applications (dApps). Here’s a breakdown of each stage:
Users: The process begins with users who express their goals or intents. Instead of specifying detailed actions, users only need to describe what they want to achieve.
Lamina Unified Frontend (Protocol API): The expressed intents are received by the Smart Contract Wallet (SCW) frontend. It converts these intents into a more detailed format called User Operations (UserOps).
Lamina Interop Infrastructure (Crosschain API): The UserOps are then handled by bundlers. Bundlers validate and group these operations, executing the necessary steps to meet the intent. The Solvers are then responsible for interpreting the intents and determining how to fulfill them. They also handle payment of gas fees and other execution details.
SCW Contracts: The bundlers communicate with SCW contracts, which are smart contracts specifically designed to manage the users' wallets and execute the required transactions according to the UserOps.
Dapps: Finally, the processed transactions are sent to decentralized applications (dapps) for execution. This is where the actual transaction takes place, fulfilling the user’s original intent.
In this system, the user's experience is streamlined because they only need to specify the end goal (intent), and the underlying infrastructure handles all the complex operations needed to achieve that goal. This approach aims to enhance user experience by abstracting the complexities involved in blockchain transactions.