Skip to main content
Before commissioning a computation, register its circuit as a Computation Definition on an MXE. The definition stores:
  1. Circuit source: The onchain or offchain source used to load the compiled circuit. Local sources are reserved for internal MXE circuits.
  2. Circuit interface: The circuit definition and parameter signature produced by the Arcis toolchain.
  3. CU amount: The amount used to calculate base and priority charges.
  4. Lifecycle state: The slot when the definition was explicitly deactivated, when applicable.
The MXE’s Solana program defines authorization and validates callers and inputs before queueing a computation.

Commissioning a computation

Commissioning creates a computation account and queues it against the MXE’s Cluster. Key steps in commissioning include:
  1. Provide arguments: Pass the plaintext and encrypted inputs expected by the Arcis instruction.
  2. Choose a priority price: Higher values improve queue position; queued computations remain subject to the mempool’s 180-slot expiry.
  3. Configure callbacks: Define the onchain instructions for successful and failed outcomes.
  4. Queue the computation: Add the computation account to the Cluster’s mempool.
When a valid leader choice is available, it can take one dispatch slot. Otherwise priority-fee and account-lock ordering apply. See Leader weight.