Solana Verifier
A STARK verifier on Solana, split into staged programs to fit compute, ownership, and transaction limits.
Verifier stages shaped by runtime limits
Verification had to fit tight compute budgets, strict account ownership, and proof state too large for one path.
Four verifier programs share a task pipeline. Two large accounts ping-pong state and ownership so each stage mutates only what it owns.
- Boundary note
- Solana compute limits force chunked execution and transaction batching instead of one monolithic verifier call.Account ownership rules mean the architecture has to encode state handoff, not just computation.
- Evidence path
- Verifier stage split / Ownership handoff between stages / Bidirectional stack layoutUse the repo as the artifact; linked PRs point to the pipeline split and FRI stage.
- What it proves
- Open-source evidence for cross-chain systems work
- Source for the verifier-pipeline lab and deeper protocol interviews
How the data moves through the system
First read the data path. Then use the code hooks as pointers to the mechanisms that make the claim inspectable.
Runtime limits become pipeline architecture instead of helper-function sprawl.
Account ownership and buffer layout define how verifier state moves across stages.
Compute ceilings, chunked loading, generated dispatch, and account limits shape the design.
Stages alternate between two large accounts, copy state forward, and transfer ownership.
Task payloads use one side of the account; intermediate data uses the other.
Build-generated dispatch executes typed tasks while keeping stage boundaries explicit.
Solana account data works as the verifier's RAM while generated task dispatch advances typed frames in place.
How the system progresses
A short staged view of the system from start to final output.
Load proof state in chunks
Large verifier state is serialized through many instructions.
Run a staged verifier pipeline
Stages handle public input, query generation, verifier-verification, and the FRI tail.
Transfer ownership between stages
When the next stage needs writes, state moves to the account that stage owns.
Use the repo as the artifact; linked PRs point to the pipeline split and FRI stage.
- Inspect stage boundaries, task dispatch, ownership handoff, and buffer layout under runtime limits.
- The proof is the architecture across programs, accounts, and execution examples.
Finish the evidence first. The full-screen environment is the closing section.
Open the full-screen environment for this project
One project mechanism, isolated from the article.
Verifier Pipeline Explorer
How STARK verification was split across Solana programs, buffers, and ownership handoffs.
A verifier split into runtime-safe programs, explicit buffers, and ownership handoffs.
Open environment