tangled
alpha
login
or
join now
tree.fail
/
atnotary
2
fork
atom
Notarize AT Protocol records on Ethereum using EAS (experiment)
2
fork
atom
overview
issues
pulls
pipelines
remove consolelog
tree.fail
5 months ago
a1348863
94221399
-2
2 changed files
expand all
collapse all
unified
split
src
lib
notary.ts
tests
integration
notary.test.ts
-1
src/lib/notary.ts
···
279
279
try {
280
280
// fetchRecord now returns { record, pds }
281
281
const { record } = await this.fetchRecord(attestationData.recordURI);
282
282
-
console.log(record.value)
283
282
const currentHash = hashContent(record.value);
284
283
const currentCid = record.cid;
285
284
-1
tests/integration/notary.test.ts
···
197
197
198
198
const attestation = await notary.verifyAttestation('0xattestationuid123');
199
199
const comparison = await notary.compareWithCurrent(attestation);
200
200
-
console.log({ attestation, comparison })
201
200
202
201
expect(comparison.exists).toBe(true);
203
202
expect(comparison.cidMatches).toBe(true);