How it works

The flow of the intent-based transaction system involves several components, from users to decentralized applications (dApps). Here’s a breakdown of each stage:

  1. 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.

  2. 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).

  3. 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.

  4. 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.

  5. 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.

Last updated

© 2024 Lamina Labs. All Rights Reserved