VaultedMetrics
Home › Services › Verification and Audit Readiness
Services

Verification and Audit Readiness

You have a smart contract, written by us or by someone else, and you need to know that it does what it says. We write the tests that prove it, verify its source code on Etherscan, and prepare it for an independent audit.

What we do

Proof that a smart contract does what its rules say

A smart contract can be read by anyone, but reading it is not the same as proving it. Proof comes from tests that exercise every rule, from source code that is verified on the public record, and from an independent audit. We provide all three, for smart contracts we wrote and for smart contracts we did not.

Test suites

We write a complete set of tests, one for every rule the smart contract is meant to follow, and run it on a test copy of Ethereum until every test passes. The tests are delivered to you and can be run again by anyone at any time.

Source verification on Etherscan

The smart contract's source code is published on Etherscan and proven to match the code running on Ethereum. Until this is done, no one can read what a live smart contract actually does.

Audit preparation

We prepare everything an independent security firm needs before it starts: the rules in plain language, the source code, the tests, and a written description of what each part of the smart contract does. A prepared audit is faster and finds fewer surprises.

The independent audit

We arrange the audit with an independent security firm, answer the auditors' questions, and bring every finding back to you. The report is yours to publish.

Corrections

Any change the auditors ask for is made with your approval, tested again, and verified again on Etherscan, so that the audited code and the live code are the same code.

Review of a smart contract that is already live

If the smart contract is already published on Ethereum, we test it and verify it as it stands. A live smart contract cannot be edited; if a finding needs a change, we tell you plainly and show you what a corrected smart contract would take.

How it’s engineered

From the code you have to the report you can publish

The same steps on every engagement, in the same order. You confirm the rules and verify the tests; we prove the code and carry it through the audit. Every question, answer and approval is exchanged in writing and kept with the signed document; nothing is agreed by word of mouth.

  1. You give us the smart contract and its rules

    We receive the source code and whatever describes what it is meant to do: an agreement, a litepaper, a specification, or your own words. If there is no written description, we write one with you first, because a smart contract cannot be tested against rules that no one has written down.

  2. We sign the agreement

    The rules are written into a plain-language document. Both of us read it and sign it. This document is the measure the tests will be written against.

  3. We write the tests

    Every rule in the signed document gets a test that proves the code follows it. If the code and the rules disagree, we stop and bring the difference back to you before going further.

  4. You verify the tests yourself

    We publish the smart contract on a test copy of Ethereum and give you a short written plan, step by step, for checking it with your own wallet: what to send, what to click and what you should see. You confirm for yourself that the smart contract does what the rules say.

  5. Source verification

    We publish the source code on Etherscan and verify that it matches the code running on Ethereum. From then on, anyone can read exactly what the smart contract does.

  6. The independent audit

    We deliver the prepared package to an independent security firm and answer the auditors' questions. Any change the auditors ask for is made with your approval, tested again, and verified again.

  7. Delivery

    You receive the tests, the verified source code on Etherscan, and the audit report, together with a plain-language summary of what was tested, what was found, and what was changed.

How payment works

Four equal payments, each one after a step you have seen completed

Nothing is paid in advance of the work it covers. Each payment is one quarter of the quoted price and falls due only after the step before it is finished and in your hands. Each payment is final once its step is complete: the work for that step has been delivered and accepted, and it is not refunded if a later step is stopped or changed.

25%
After step 2

When the agreement that holds the rules has been signed by both of us.

25%
After step 4

When the tests have been written, delivered to you, and verified by you with your own wallet.

25%
After step 6

When the independent audit is complete and the smart contract has passed it.

25%
After step 7

When the tests, the verified source code and the audit report have been delivered to you.

What you receive

Everything an engineer would need to check the work

The tests

You receive the complete test suite and the signed rules document, so that anyone can run the tests again.

The verified source code

You receive the smart contract's source code published and verified on Etherscan, where anyone can read it.

The audit report

You receive the independent audit report, which you may publish on your own site and listings, with a plain-language summary of what it says.

Glossary

Terms on this page

Each one is explained below.

Smart contract

A smart contract is a computer program stored on a blockchain that carries out the terms of an agreement by itself when its conditions are met. Because it runs on the blockchain, its actions are recorded publicly, and once it is published its code cannot be altered.

Test suite

A test suite is a set of small programs, each of which gives the smart contract a situation and checks that it responds the way the rules say it should. A test suite is run on a test copy of the network, and every test must pass.

Etherscan

Etherscan is a public website that shows every transaction, address and smart contract on the Ethereum blockchain. It is the record most readers use to look up what a smart contract has done. It is not run by VaultedMetrics.

Source verification

Source verification is the publishing of a smart contract's human-readable source code on Etherscan, the public record of the Ethereum blockchain, together with proof that it produces exactly the code running on the network. Once a smart contract is source-verified, anyone can read what it does.

Independent audit

An independent audit is a review of a smart contract's code by a security firm that took no part in writing it. The firm tests the code for weaknesses and publishes a report of what it found.

Finding

A finding is an item an auditor reports: a weakness, an error, or a difference between what the code does and what the rules say. Each finding is given a level of seriousness and is either corrected or explained.

Send us the smart contract's address or source code and tell us what it is meant to do. We will reply with the questions we need answered and a written quote.

Request a quote