Atlantic Prover Suite (Legacy)
Endpoints Manual
Choose the appropriate endpoint based on your input and desired outcome.
Input: Cairo Program (e.g., programFile.json
)
-
Generate trace file (
pie.zip
)- Endpoint: /trace-generation
- Input: Compiled Cairo program (
programFile
orprogramHash
) - Output: Trace file (
pie.zip
)
-
Generate proof file (
proof.json
)- Endpoint: /trace-generation-proof-generation
- Input: Cairo program
- Output: Proof file (
proof.json
)
-
Generate proof and verify on Layer 1 (L1)
- Endpoint: /l1/atlantic-query
- Input: Cairo program
- Output: Trace, proof, and L1 verification
-
Generate proof and verify on Layer 2 (L2)
- Endpoint: /l2/atlantic-query
- Input: Cairo program
- Output: Trace, proof, and L2 verification
-
Register program and get unique hash
- Endpoint: /submit-program
- Input: Cairo program file
- Output: Unique
programHash
for future reference
Input: Trace File (pie.zip
)
-
Generate proof file (
proof.json
)- Endpoint: /proof-generation
- Input:
pie.zip
, layout, and prover settings - Output: Proof file (
proof.json
)
-
Generate proof and verify on Layer 1 (L1)
- Endpoint: /l1/atlantic-query/proof-generation-verification
- Input:
pie.zip
- Output: Proof and L1 verification
-
Generate proof and verify on Layer 2 (L2)
- Endpoint: /l2/atlantic-query/proof-generation-verification
- Input:
pie.zip
- Output: Proof and L2 verification
Input: Proof File (proof.json
)
- Verify proof on Layer 2 (L2)
- Endpoint: /l2/atlantic-query/proof-verification
- Input:
proof.json
- Output: L2 verification using Integrity verifier
- Note: Plain proof verification (without generating the proof) can only be done on L2.