Atlantic Prover Suite
Sending Query
Prepare appropriate request body based on your input and desired outcome.
For more details check Atlantic Steps section which describes in details:
For all queries, you need to send apiKey
in query parameters and declaredJobSize
in the request body.
Job size determines what machine will be used to run trace generation. It also affects the cost of the query. You should choose job size based on number of steps you expect the program execution to have.
Number of steps [millions] | Size | Cost |
---|---|---|
0 - 13 | S | 70 |
13 - 30 | M | 120 |
>30 | L | 220 |
Input: Cairo Program (e.g., programFile.json
)
-
Generate trace (
pie.zip
file)- Inputs:
programFile
inputFile
(optional) - available only for Cairo1 and Cairo0 with Rust VMlayout
(can be set toauto
)cairoVersion
result = TRACE_GENERATION
pieFile
must be left empty- Output: Trace file (
pie.zip
)
- Inputs:
-
Generate proof file (
proof.json
)- Inputs:
programFile
inputFile
(optional) - available only for Cairo1 and Cairo0 with Rust VMlayout
(can be set toauto
)cairoVersion
result = PROOF_GENERATION
pieFile
must be left empty- Output: Proof file (
proof.json
)
- Inputs:
-
Generate proof and verify on Layer 1 (L1)
- Inputs:
programFile
inputFile
(optional) - available only for Cairo1 and Cairo0 with Rust VMlayout
(can be set toauto
)cairoVersion
result = PROOF_VERIFICATION_ON_L1
pieFile
must be left empty- Output: Trace, proof, and L1 verification
- Inputs:
-
Generate proof and verify on Layer 2 (L2)
- Inputs:
programFile
inputFile
(optional) - available only for Cairo1 and Cairo0 with Rust VMlayout
(can be set toauto
)cairoVersion
result = PROOF_VERIFICATION_ON_L2
pieFile
must be left empty- Output: Trace, proof, and L2 verification
- Inputs:
Input: Trace File (pie.zip
)
-
Generate proof file (
proof.json
)- Inputs:
pieFile
layout
(can be set toauto
)result = PROOF_GENERATION
- Output: Proof file (
proof.json
)
- Inputs:
-
Generate proof and verify on Layer 1 (L1)
- Inputs:
pieFile
layout
(can be set toauto
)result = PROOF_VERIFICATION_ON_L1
- Output: Proof and L1 verification
- Inputs:
-
Generate proof and verify on Layer 2 (L2)
- Inputs:
pieFile
layout
(can be set toauto
)result = PROOF_VERIFICATION_ON_L2
- Output: Proof and L2 verification
- Inputs: