Workflow
How Turbo Works
Last updated
How Turbo Works
Last updated
Transaction Initiation: A user initiates a transaction targeting a Turbo-enabled smart contract.
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.
API Query Building: The system constructs an API request to fetch necessary proofs from the off-chain Storage Proof API.
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.
Blockchain Inclusion: The Turbo Bundle is sent to a sequencer or validator for inclusion in the blockchain.