An end-to-end agentic pipeline for smart contract translation and quality evaluation
Abstract
We present an end-to-end framework for systematic evaluation of LLM-generated smart contracts from natural-language specifications. The system parses contractual text into structured schemas, generates Solidity code, and performs automated quality assessment through compilation and security checks. Using CrewAI-style agent teams with iterative refinement, the pipeline produces structured artifacts with full provenance metadata. Quality is measured across five dimensions, including functional completeness, variable fidelity, state-machine correctness, business-logic fidelity, and code quality aggregated into composite scores. The framework supports paired evaluation against ground-truth implementations, quantifying alignment and identifying systematic error modes such as logic omissions and state transition inconsistencies. This provides a reproducible benchmark for empirical research on smart contract synthesis quality and supports extensions to formal verification and compliance checking.
Cite
@article{arxiv.2602.13808,
title = {An end-to-end agentic pipeline for smart contract translation and quality evaluation},
author = {Abhinav Goel and Chaitya Shah and Agostino Capponi and Alfio Gliozzo},
journal= {arXiv preprint arXiv:2602.13808},
year = {2026}
}
Comments
17 pages, 4 figures