← Latest papers
⚡ electrical engineering

Audit-by-Construction: A Self-Executing Smart Contract Architecture on Permissioned Distributed Ledgers for the Verifiable Settlement of Civil Engineering Works under Peruvian Public-Procurement Law

This paper proposes a self-executing smart contract architecture on permissioned distributed ledgers that automates and cryptographically verifies the settlement of Peruvian civil engineering public works, reducing certification cycles from months to minutes while maintaining full compliance with existing national procurement laws without requiring legislative reform.

Original authors: PAUL RICARDO PRUDENCIO GALVEZ

Published 2026-07-02
📖 5 min read🧠 Deep dive

Original authors: PAUL RICARDO PRUDENCIO GALVEZ

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are building a massive bridge in Peru. In the traditional way, getting paid for the work you've done is like trying to solve a puzzle where half the pieces are missing, the picture keeps changing, and you have to wait months for someone to finally say, "Okay, you can have your money."

This paper proposes a new way to handle that process using blockchain technology (a digital, unchangeable ledger) and smart contracts (digital rules that run themselves). Here is the breakdown of what the author, Paul Ricardo Prudencio Gálvez, is suggesting, using simple analogies.

The Problem: The "Paper Binder" Bottleneck

Currently, when a construction company finishes a part of a public project (like pouring concrete for a road), they have to fill out paper forms, get them signed by a supervisor, and wait for a government office to check the math.

  • The Analogy: Imagine you order a pizza. Instead of getting it in 20 minutes, the delivery driver has to drive to the bank, get a notarized letter, wait for the bank manager to sign it, and then drive back to the pizzeria to prove they actually delivered the pizza. This whole process takes 60 to 90 days just to get paid for one step of the work.
  • The Result: Money gets stuck, disputes happen because people disagree on the math, and the government has to spend a lot of time checking paper files.

The Solution: "Audit-by-Construction"

The author suggests a system called "Audit-by-Construction." Instead of checking the work after it's done with paper, the system checks it as it happens using digital rules.

Think of this like a smart vending machine for construction projects:

  1. The Trigger: You put a coin in (the work is finished).
  2. The Verification: The machine instantly checks if the coin is real (the work meets the standards).
  3. The Payout: If the coin is real, the machine automatically drops the snack (the payment) into your hand. You don't wait for a manager to come over and check the receipt.

How It Works (The 4 Layers)

The paper designs a four-layer system to make this happen:

  1. The Physical Layer (The Eyes): Sensors or digital scans (like a 3D photo of the road) prove the work is actually there.
  2. The Oracle Layer (The Notary): A human supervisor digitally signs the proof, saying, "Yes, I saw this, and it's good."
  3. The Blockchain Layer (The Shared Ledger): This proof is sent to a secure digital notebook that the government, the construction company, and the supervisor all share. No one can erase or change what is written there.
  4. The Smart Contract Layer (The Automatic Calculator): This is the "brain." It contains the exact math laws of Peru. As soon as the proof arrives, it instantly calculates the payment and releases the funds.

The Magic Math (The Formulas)

The paper claims to have translated three specific Peruvian legal math formulas into computer code. This is like teaching a robot to do the government's homework perfectly:

  • Formula 1 (Price Adjustment): If the price of steel or fuel goes up, the contract automatically adjusts the payment. The robot checks the official price list and updates the number instantly.
  • Formula 2 (Late Penalties): If the project is late, the robot automatically calculates the fine based on strict rules, removing any argument about "how many days" it was late.
  • Formula 3 (Final Settlement): At the end, the robot adds up the work, the adjustments, and the fines to give the final number. Everyone agrees on this number because the robot did the math, not a tired human.

The Results: Speed and Trust

The paper compares the old way, a "digital but not blockchain" way (using BIM models), and this new blockchain way.

  • Time: The old way takes 67 days on average. The new way theoretically takes 3.9 to 4.2 minutes. That is a 99% reduction in waiting time.
  • Trust: Because the math is done by code that everyone can see, there are fewer arguments. The paper suggests disputes could drop from 20–30% to under 2%.
  • Legality: The author emphasizes that this doesn't break Peruvian law. It actually follows the existing laws (Ley N° 30225) but uses digital signatures instead of paper ones, which the law already allows.

Important Caveats (What the Paper Doesn't Say)

It is important to note what this paper is not:

  • It is not a finished product: The author admits this is a design and a blueprint, not a system that has been tested on a real road in Peru yet.
  • It is not a new law: The author is not asking for new laws to be passed. They are showing how to use the current laws better.
  • It is not magic money: The system still needs real money to be transferred; it just automates the approval process. The actual bank transfer is still a separate step that needs to be connected later.

The Bottom Line

This paper proposes a "digital vending machine" for public construction projects in Peru. By turning the complex, slow, paper-heavy payment process into a set of automatic, unchangeable computer rules, it promises to turn a 90-day wait into a 4-minute verification, ensuring that everyone gets paid exactly what the law says they should, without the paperwork headache.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →