Measurement Registry¶
Attested verification requires a trusted measurement registry.
Recommended steps:
- Obtain the expected measurement from a trusted release source.
- Record the measurement hash.
- Store it in a signed registry.
- Use that value as
expectedMeasurementwhen verifying evidence.
Example retrieval¶
async function getExpectedMeasurement(version: string): Promise<string> {
const response = await fetch(`https://measurements.example.com/axiom/${version}`);
const data = await response.json();
return data.measurement;
}
Prev: Verifier Integration | Next: Standard Example