Crate aztec_pxe

Crate aztec_pxe 

Source
Expand description

Embedded PXE (Private eXecution Environment) runtime for aztec-rs.

This crate provides an in-process PXE implementation for Aztec v4.x, where PXE runs client-side. It implements the Pxe trait using local stores and the Aztec node’s node_* RPC methods.

§Architecture

┌─────────────────────────┐
│  BaseWallet              │
│  ┌───────────────────┐  │
│  │ EmbeddedPxe        │  │
│  │  - local stores    │  │
│  │  - ACVM executor   │  │
│  └──────────┬────────┘  │
│             │            │
│  ┌──────────▼─────────┐ │
│  │ HttpNodeClient      │ │
│  └────────────────────┘ │
└─────────────────────────┘

Re-exports§

pub use embedded_pxe::EmbeddedPxe;
pub use embedded_pxe::EmbeddedPxeConfig;
pub use kernel::BbPrivateKernelProver;
pub use kernel::BbProverConfig;
pub use kernel::ChonkProofWithPublicInputs;
pub use kernel::PrivateExecutionStep;
pub use kernel::PrivateKernelExecutionProver;
pub use kernel::PrivateKernelOracle;
pub use kernel::PrivateKernelProver;
pub use kernel::PrivateKernelSimulateOutput;
pub use kernel::SimulatedKernel;
pub use stores::kv::InMemoryKvStore;
pub use stores::kv::KvStore;
pub use stores::AnchorBlockStore;
pub use stores::NoteStore;
pub use stores::PrivateEventStore;
pub use stores::RecipientTaggingStore;
pub use stores::SenderTaggingStore;
pub use stores::SledKvStore;
pub use sync::BlockStateSynchronizer;
pub use sync::BlockSyncConfig;
pub use sync::ContractSyncService;
pub use sync::EventService;
pub use sync::LogService;
pub use sync::NoteService;
pub use sync::PrivateEventFilterValidator;

Modules§

embedded_pxe
Embedded PXE implementation that runs PXE logic in-process.
execution
Private function execution and oracle handling.
kernel
Kernel circuit logic for private transaction proving.
stores
Local stores for PXE state.
sync
Block and contract state synchronization.