> Source: https://amayakavya.com/projects/assay

# Assay

Provenance Ledger
Open Source

Assay follows an electronic component from the fab to the board it ends up on. A lot is minted where it is made, changes hands only when both sides have signed the same terms, splits and merges as it is assembled and tested, carries its qualification and screening results with it, and streams humidity and temperature readings from whoever is holding it.

The problem it is aimed at is the counterfeit and the misrepresented part. A component that has passed through a broker, a reel that has been re-marked, a date code that does not match the process it claims: none of that is visible in the part itself. All of it is visible in a custody record that nobody can rewrite after the fact.

A recall is the case that justifies the whole structure. Pulling one lot propagates the recall to every descendant lot it ever became, however many times it was split, merged or reassembled on the way. A buyer holding a reel scans the code printed on it and gets the entire record back, with no account and no login.

Underneath are two Solidity contracts, an event indexer, a content-addressed document store, a REST API and a role-based console, with a public trace page and a printable reel label. It runs against a local chain and makes no requests to anything outside itself. Sixty-five contract tests, eighty end-to-end checks, and a pass that loads every page in a real browser and fails on any error.

## Source

- [github.com/amayakavya/assay](https://github.com/amayakavya/assay)

[← Back to Projects](/projects)
