Skip to main content

Module execution

Module execution 

Source
Expand description

§Aleo Execution — authorization, proving, and transaction packaging pipeline.

The execution pipeline has three phases:

  1. Authorize — build authorization for a function call
  2. Execute — run locally, getting response + trace
  3. Prove + package — prepare trace, prove execution + fee, verify, package into Transaction

§Usage

use aleo_rust_sdk::ExecutionEngine;

let engine = ExecutionEngine::new_with_v0_fee_keys().unwrap();
// see AleoClient::execute_and_broadcast() for a full pipeline example

Structs§

ExecutionEngine
Execution engine wrapping a snarkVM Process.

Traits§

QueryTrait
Custom query trait for state root fetching.