Layer 02: The Intent Engine
The Intent Engine is the "Solver" of the Verdant stack. It bridges the gap between the user's desire and the blockchain's rigid transaction requirements.
The Intent Structure
An Intent is a cryptographically signed data packet containing:
Target: The destination address.
Payload: The asset and amount to be transferred.
Constraints: Time-to-live (TTL), maximum slippage (fees), and required privacy level.
Signature: Authorization from the Root Key.
Off-Chain Computation
To minimize on-chain compute usage (Compute Units), the Intent Engine performs pathfinding logic off-chain via the client or a Shadow Node. It simulates various execution scenarios to find a valid solution that meets the user's constraints.
Once a solution is found, the Engine constructs a serialized Solana transaction bundle. This bundle is verified against the user's signature to ensure that the solver has not altered the destination or amount, only the path taken to get there.
Last updated
