Workflow

How Turbo Works

Turbo Transaction Workflow
  1. Transaction Initiation: A user initiates a transaction targeting a Turbo-enabled smart contract.

  2. RPC Processing: The Turbo Enabled RPC processes the transaction:

    • If no Storage Proofs are required, the transaction is directly broadcasted to the chain.

    • If Storage Proofs are needed but missing, the transaction fails, and the system identifies the required proofs.

  3. API Query Building: The system constructs an API request to fetch necessary proofs from the off-chain Storage Proof API.

  4. Turbo Bundle Creation: Upon receiving the Storage Proof, a Turbo Bundle is constructed:

    • The first transaction verifies the Storage Proof and assigns verified data to contract storage.

    • Subsequent transactions utilize these variables.

    • A final transaction clears the variables to maintain blockchain integrity.

  5. Blockchain Inclusion: The Turbo Bundle is sent to a sequencer or validator for inclusion in the blockchain.

Last updated