Pinout GitHub

Live or compiled

ModeUse it whenWhat you give up
Live
eval, step
You want the circuit itself to decide. This is the default.Gas: roughly 2,300 per gate.
Compiled
evalCompiled, stepCompiled
The call sits in a loop or a hook, or must be pure.The live circuit is never called. The logic is a copy.

Gas is cheap on X Layer, so compiled mode is about fitting inside gas limits more than saving money.

How gas is measured

Pinout runs a small test contract inside a single read-only eth_call on current X Layer state. Nothing is deployed. The examples use a ready-compiled contract. For other circuits, your browser downloads the Solidity compiler (8 MB) and compiles your exact library.